[PHP-DB] mysql connect, while and close big problem

2002-02-21 Thread Killer Angel Clark
I make a connection A to get an array of result. Then use a while loop to use the array. In the while loop, I use the data to select other data by making a new connection. After printing the data, I close this new connection. After the while loop, I close the first connection too. If only have

Re: [PHP-DB] mysql connect, while and close big problem

2002-02-22 Thread Killer Angel Clark
Engineer ENTERASYS NETWORKS -Original Message- From: Killer Angel Clark [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 21, 2002 10:17 AM To: [EMAIL PROTECTED] Subject: [PHP-DB] mysql connect, while and close big problem I make a connection A to get an array of result. Then use

[PHP-DB] Using checkbox in php problem

2002-02-23 Thread Killer Angel Clark
I add a checkbox in my page and will use the check result on another page. If it is checked, it has no problem. However, if it is not checked, it will have the checkbox unknown error. I read from an article that I can add a hidden field with the same name of the checkbox and put a value on this

Re: [PHP-DB] Using checkbox in php problem

2002-02-23 Thread Killer Angel Clark
be aware that == is a comparison operator whereas = is the assignment operator. Bogdan Killer Angel Clark wrote: I add a checkbox in my page and will use the check result on another page. If it is checked, it has no problem. However, if it is not checked, it will have the checkbox unknown error.

[PHP-DB] Re: why won't session_start() work?

2002-03-08 Thread Killer Angel Clark
You may try to put session_start(); at the most begining. But should you also add a session path first? Ryan Snow [EMAIL PROTECTED] ¼¶¼g©ó¶l¥ó [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... when I do: session_start(); session_register('signor');