Of course you are correct.
I forgot to remove the $row["orderid"] etc.. 

I was just testing the function and thought I'd post the code rather
than waste someones time answering me.
However thanks for the help. Much appreciated.

Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159



> -----Original Message-----
> From: Jason Wong [mailto:php-general@;gremlins.com.hk] 
> Sent: 7. marraskuuta 2002 11:51
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] Help me learn! with an explanation of 
> these two functions.
> 
> 
> On Thursday 07 November 2002 16:28, Steve Jackson wrote:
> > Finally I have it!
> 
> <sigh> if this is your final code then you still don't "have it" !
> 
> > Cheers to all that helped. I was querying twice when I 
> didn't need to 
> > and as Jason said not doing anything with the extracted information.
> 
> >     extract($row);
> You're still not gaining anything by using extract() ...
> 
> >     if (is_array($row))
> >     //print_r($row);
> >     {
> >     //echo "tests and ";
> >     echo $row["orderid"];
> >     echo $row["ship_name"];
> 
> ... the whole point of using extract() is that instead of using 
> 
>   echo $row['orderid'];
> 
> you could simply use:
> 
>   echo $orderid;
> 
> -- 
> Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
> Open Source Software Systems Integrators
> * Web Design & Hosting * Internet & Intranet Applications 
> Development *
> 
> /*
> Don't feed the bats tonight.
> */
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to