It is a good idea to check for errors, like this:
mysql_query($add_to_db) or die('Error inserting SQL data at ' . __LINE__ . '
br/' . $add_to_db .'br/' . mysql_error());
If there is no error (non-null return value from mysql_query()) the
expresion after the OR does even get looked at, since
On 11/9/05 2:15 PM, Stewart Priest wrote:
?php
// this opens the connection to the db
include 'library/opendb.php';
// this adds detals to the invoice table
$item1_desc = $_REQUEST['item1_desc'];
$item2_desc = $_REQUEST['item2_desc'];
$item3_desc = $_REQUEST['item3_desc'];
$item4_desc =
2 matches
Mail list logo