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

Reply via email to