Re: extracting id from db from a form field
| From: | Karl DeSaulniers | Date: | Fri, 27 May 2011 21:46:00 +0000 |
| Subject: | Re: extracting id from db from a form field | ||
| References: | 1 2 3 4 5 6 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-47816@lists.php.net to get a copy of this message | ||
Actually you can keep $i as zero, it should still get row 0 now that I think of it.
dont know how your table is set up so hard to tell.
On May 27, 2011, at 4:31 PM, David McGlone wrote:
On Fri, 2011-05-27 at 16:13 -0500, Karl DeSaulniers wrote:Karl DeSaulniers Design Drumm http://designdrumm.comTo get row 0 make the for loop change to for($i=-1;Hmm, when changing to -1 the error prints to the screen twice and when entering 0 I still get "You did not enter an error code!" Blessings, David M.