can anybody help?
I get this error

Parse error: parse error in mypath to file\Default.php on line 18
I am just learning right now so if you could help me with what I did wrong
her I'd apreciate it.

Thanx Petra
[EMAIL PROTECTED]
============================================================================
============
<HTML>
<HEAD>
<TITLE> Our List of Historic Products </TITLE>
<HEAD>
<BODY>
<?php
  // Connect to the database server
$dbcnx = @mysql_connect("localhost", "root", "");
if (!$dbcnx) {
    echo( "<P>Unable to connect to the " .
         "database server at this time.</P>" );
    exit();
  }
  // Select the jokes database  if (! @mysql_select_db("JShistbau") ) {
    echo( "<P>Unable to locate the historic products " .
          "database at this time.</P>" );
    exit();
  }
?>
<P> Here are all the products in our database: </P>
<BLOCKQUOTE>
<?php

// Request the text of all the products
  $result = mysql_query(
            "SELECT catdescription FROM categories");  if (!$result) {
echo("<P>Error performing query: " .         mysql_error() . "</P>");
exit();  }
  // Display the text of each product in a paragraph  while ( $row =
mysql_fetch_array($result) ) {    echo("<P>" . $row["catdescription"] .
"</P>");  }
?>
</BLOCKQUOTE></BODY></HTML>


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to