[PHP] Form Loop

2008-10-18 Thread Terry J Daichendt
I'm trying to create a form with a loop. I need to append a value to a field name each time through the loop. For Instance: while ($row = mysql_fetch_assoc($result)) { $x=1; echo ""; echo "value='$row[qty]' />"; echo ""; $x++; } the name value quantity needs the value

[PHP] Login

2008-10-07 Thread Terry J Daichendt
I want to open a page if a login is correct and another if not. What is the function to open a page in PHP? Can you show me a simple example of the syntax? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Error message

2008-09-20 Thread Terry J Daichendt
correct in assessing the problem. Terry "Eric Gorr" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On Sep 18, 2008, at 5:52 PM, Terry J Daichendt wrote: I'm pasting this code from the example at php.net and getting these errors. Can anyone determine what I&#

Re: [PHP] Error message

2008-09-18 Thread Terry J Daichendt
You have a real attitude problem, please don't bother with me again. "Jochem Maas" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Terry J Daichendt schreef: I'm pasting this code from the example at php.net and getting these which example might that b

[PHP] Error message

2008-09-18 Thread Terry J Daichendt
I'm pasting this code from the example at php.net and getting these errors. Can anyone determine what I'm doing wrong? page 2'; // Or maybe pass along the session id, if needed echo 'page 2'; ?> Warning: session_start() [function.session-start]: Cannot send session cookie - headers already s