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
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
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 levelsbr'.mysql_error());
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 Skip the first
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:
? mysql_connect(localhost,user,password);
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 of