Pls take a look at this.
Posted: Sat Dec 10, 2005 10:32 pm
I'm following a tutorial and I've entered everything into my database correctly but when I run the php in my browser I get this error
**********
Here's my line up to 12
11 is in bold.
My other error line 42 is in bold
Any idea pls?
This is the tutorial I'm following.....
****
Thanks.
**********
Here's my line up to 12
Code: Select all
<?php
// This page will list all of the items
// from the items table. Each item will have
// a link to add it to the cart
include("db.php");
// Get a connection to the database
$cxn = @ConnectToDb($dbServer, $dbUser, $dbPass, $dbName);
[b]$result = mysql_query("select * from items order by itemName asc");[/b]
?>My other error line 42 is in bold
Code: Select all
</tr>
[b]<?php[/b]
while($row = mysql_fetch_array($result))
{
?>This is the tutorial I'm following.....
****
Thanks.