Thanks enoc,
I figured it out myself ... i had forgotten to add the <?php and ?> signs around the code in the MySQL.php file. The minute I put that It was ok.
Thank you for your help.
Search found 2 matches
- Tue Apr 21, 2009 9:44 am
- Forum: PHP - Code
- Topic: Desperate for help newbie
- Replies: 3
- Views: 392
- Mon Apr 20, 2009 11:07 pm
- Forum: PHP - Code
- Topic: Desperate for help newbie
- Replies: 3
- Views: 392
Desperate for help newbie
<html> <body> <?php require_once ('MySQL.php'); if(isset($_POST['submit'])) echo('Error adding new author: ' ); ?> <form action="<?php echo $_SERVER['PHP_SELF']?>" method="post"> Name: <input type="text" name="name" /> Age: <input type="text" name=&...