[PHP-DB] PHP Arrays

2004-04-04 Thread Martin Oettinger
Does anyone know up to which level arrays in variables are possible? Is there a limit? $foo[1][2][3][4][5][6] ... ? -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] PHP Arrays

2004-04-04 Thread Bruno Ferreira
Martin Oettinger wrote: Does anyone know up to which level arrays in variables are possible? Is there a limit? $foo[1][2][3][4][5][6] ... ? I feel the right answer is "why do you ask"? It's either some very complex thing you're doing there, or you're doing it the wrong way :) Bruno Ferr

Re: [PHP-DB] How to get only 2nd row in result set ???

2004-04-04 Thread Kim Steinhaug
I would say the same, do the query and then a loop through the results. Skip the first one and output the second, eg. $levels = mysql_query("SELECT levelID from hf_levels ORDER BY levelorder > RB> DESC LIMIT 2") or die('Unable to get levels'.mysql_error()); for($i=0;$i wrote in message news:[EMAI

Re[2]: [PHP-DB] How to get only 2nd row in result set ???

2004-04-04 Thread Aitziber Hernández
KS> $item = mysql_fetch_object($levels); probe with $item = mysql_fetch_rows($levels); Aitzi [EMAIL PROTECTED] ->- domingo, 04 de abril de 2004, 22:17:41, escribiste: KS> I would say the same, do the query and then a loop through the results. KS

[PHP-DB] Drop down menu with PHP

2004-04-04 Thread The Image Builder
Hello, I have code for a drop down menu that works fine. But, though I only want the results from one row to fill the form, I want it to show 2 rows in the drop down menu. Can I do that? I would appreciate your help. Here is what I have now: \n"); print("Please select a Category\n"); w

[PHP-DB] General Question!

2004-04-04 Thread JeRRy
If I have a form that has in a text field something like this below how would my query look to update all in the form to the fb? So there is data inputed in username field and total. Now let's say there is 5 of these text fields for the one form. All named the same (e.g. username and total) b

Re: [PHP-DB] Drop down menu with PHP

2004-04-04 Thread Jason Wong
On Monday 05 April 2004 10:01, The Image Builder wrote: > I have code for a drop down menu that works fine. But, though I only want > the results from one row to fill the form, I want it to show 2 rows in the > drop down menu. What exactly do you mean by that? If you want to increase the size