Re: [PHP] Re: Sorry forgot to include the code for my last message - Mike Francis

2004-12-12 Thread Mike Francis
7;'); } // Display the text of each joke in a paragraph while ($row = mysql_fetch_array($result)) { echo '' . $row['joketext'] . ''; } ?> - Original Message - From: "David Robley" <[EMAIL PROTECTED]> To: <[EMAIL PROTECT

[PHP] Sorry forgot to include the code for my last message - Mike Francis

2004-12-11 Thread Mike Francis
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> http://www.w3.org/1999/xhtml";> Our List of Jokes Unable to connect to the ' . 'database server at this time.' ); exit(); } // Select the jokes database if ([EMAIL PROTECTED]('ijdb')) { exit('Unable to locate the joke ' . 'database at this ti

[PHP] MySQL Connection problem

2004-12-11 Thread Mike Francis
Hi, I have Apache 2, PHP 5 and MySQL 4.1 installed on an XP pro box. I have created a new database 'ijdb' with a single table 'joke' and have entered data into two of the three fields in the table. I can access the database / tables / data from a command prompt. However, when I try to connect t

[PHP] Apache - MySQL connection via PHP

2004-12-10 Thread Mike Francis
Hi, I am having a problem connecting to a MySQL database via PHP. I have Apache 2.0.52, PHP 5.0.2 and MySQL 4.1 installed and working OK individually. I have copied phpmysql.dll and mysqli.dll at different times to Windows/System32. I have set up a successful MyODBC connection with the database