Dear all,
I don't know how to set php configure to let php to communicate the sybase server.
My computer has php4, window98, apache and sybase client.
I can use the brower to see simple php program.
However, i cannot connect to sybase.
Thanks and Regards
CK Chan
I am getting some real peculiar behaviour. The following works great:
$result=mssql_query($sql1);
$result=mssql_query("SELECT @@ERROR As 'ErrorCode'");
$error=mssql_result($result,0,0);
if($error['ErrorCode'] != 0) {
echo $error['ErrorCode'];
echo $sql1;
die('Inserting Campaign failed');
}
You shouldn't have to change it to a string. The problem is more than likely
your SQL statement itself.
To insert a string in a database you need to do the following:
$strSQL = "INSERT INTO {TABLE} VALUES('$myVar', '$myothervar')";
Notice the ' marks surrounding the variables, this tells MySQL
I apologise if this is not appropriate for this list, but I need someone who could act
in a consulting role to get a small Access db set up and going. The system is running
Windows2000, IIS5, Microsoft Access2000, PHP4.x.
Tobe Johnson
Johnson & Associates, Inc.
406-458-9173
I tryed that too. Didnt work. Any other ideas?
"Brian McGarvie" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> you need both:
>
> LoadModule ---
>
> &
>
> AddType application/x-httpd-php .php
>
> "Borgkiller" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
It looks as if there are some double quotes that need to be escaped. I.e.:
echo "";
?
-Dash
-Original Message-
From: Tim Blackwell [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 26, 2002 1:06 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] Re: pretty simple-but i can't figure it out
not sure i know what you mean, there isn't a space there?
"Scott Carr" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> There is no space between the $i.php' onClick="
> --
> Scott Carr
> OpenOffice.org
> Documentation Maintainer
> http://documentation.openoffice.org/
>
>
> Quoti
don't worry, i know eveyone was rushing to figure this one out, but i've got
it taken care of
in case you were wondering...it was a quote issue.
here is the correct line
echo "...more";
"Tim Blackwell" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> not
Hey i have installed php 4.2.1 and my form data use to post to the MySQL
database and also to the plain txt files. When i upgraded my Internet
Explorer to IE6 i was unable to post data from froms. I tried goin back to
IE5.5 but that did not seem to work. I have also tried to reinstall php and
php-windows Digest 26 Jul 2002 04:20:22 - Issue 1258
Topics (messages 14939 through 14958):
Date conversion
14939 by: Kit Kerbel
14945 by: Kit Kerbel
14948 by: Dash McElroy
14952 by: Scott Carr
mssql on linux
14940 by: Nicola Delbono
Re: reading inp
take a look at http://www.phpbuilder.com/columns/siddarth2228.php3
--
Best regards,
George Nicolae
IT Manager
___
PaginiWeb.com - Professional Web Design
www.PaginiWeb.com
"Tobe Johnson" <[EMAIL PROTECTED]> wrote in message
028201c234e1$b5e588c0$1900a8c0@tobe">news:028201
php-windows Digest 26 Jul 2002 17:20:35 - Issue 1259
Topics (messages 14959 through 14978):
Re: mssql functions not working properly
14959 by: Salve Tinkerworth
php+window98+apache+sybase client
14960 by: cckinkin
Re: Next GD headache
14961 by: Ross Fleming
12 matches
Mail list logo