At 11:26 AM +0100 9/5/07, PaulCheung wrote:
Can anybody help? I am using "MAINMENU" built in HTML forms to get
to get me to where I want to be (Add, Update or Print record) and of
course, I cannot update or print a record that does not exist yet.
Here is a snippet of the coding.
<?PHP session_start(); PHP?>
<HTML>
HTML coding
more HTML coding
<?PHP>
PHP coding
more PHP coding
.
$q="Select SQL_CALC_FOUND_ROWS * FROM test_table
WHERE customer = $customer ORDER BY invoices LIMIT $cps, $rpp";
.
PHP coding
more PHP coding
more coding
.
if ($number_of_records == 0)
{$link = "http://localhost/mainmenu.php";}
I have also tried
header('Location: http://localhost/mainmenu.php);
header('Location: http://localhost/mainmenu.php'); <-- missing '
Cheers,
tedd
--
-------
http://sperling.com http://ancientstones.com http://earthstones.com
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk
NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com
Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php