RE: [PHP-DB] Sessions and MySQL?

2003-10-16 Thread Michael.J.Bourke
Try this instead: mysql_query(INSERT INTO $table ( salutation, name, city } VALUES { \.$_SESSION['salutation'].\, \.$_SESSION['name'].\, \.$_SESSION['city'].\ } -Original

RE: [PHP-DB] Sessions and MySQL?

2003-10-16 Thread Michael.J.Bourke
Eeek, didn't notice your brackets. They're a bit messed up as well. mysql_query(INSERT INTO $table (salutation, name, city) VALUES (\.$_SESSION['salutation'].\, \.$_SESSION['name'].\, \.$_SESSION['city'].\);); This MIGHT work :-) -Original Message- From: [EMAIL PROTECTED]

RE: [PHP-DB] ODBC

2003-10-14 Thread Michael.J.Bourke
odbc_connect requires three parameters: you have specified just one. PHP takes the string between the pairs of double-quotes to be just one parameter. You will also need to specify a username and password for access to the DB. Assuming you have none, try this:

[PHP-DB] Incorrect characters returned when querying database

2003-09-26 Thread Michael.J.Bourke
Hi all, I posted this on the php-i18n list already, but I thought it might be relevant here too, so here goes. I am currently using PHP 4.3.1 with Microsoft Access 2000 in Windows 2000 with IIS web server to store content for a multilingual website. I am having two different but related