> the name <> 0 was a sql-query - it will return a ressource which will
> enable you to make something like
>
> $i=0;
> while($row = mysql_fetch_assoc($nameless_result){
>
> #psuedo-code#
> # mysql_query=("insert into table set relativenumber = 'jr$i' where
> ID=$row["ID"]");
> }
[César L. Arac
César aracena wrote:
> The catch would be to make PHP to auto assign the relatives "level" by
> knowing it has to start from $i=1 and loop $i++ until no other kid is
> inserted. Now that I write it, it seems I could use a for loop, but what
> should be the structure of it using the $name <> 0 you
L PROTECTED]]
> Sent: Friday, June 21, 2002 6:56 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: [PHP] Re: ARRAY, IF & INSERT
>
> (i am new to these groups, but shouldn't there be a follow-up-to on a
> X-post?)
>
> César aracena wrote:
> > I have th
(i am new to these groups, but shouldn't there be a follow-up-to on a
X-post?)
César aracena wrote:
> I have this form in which one Administrator can insert new members and
> after that, in another page, a form where he/she can insert the new
> members sons & daughters. I want to display a tabl
4 matches
Mail list logo