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
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
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
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
4 matches
Mail list logo