--
Greg Donald
Zend Certified Engineer
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
???
Sincerely,
Maxim Maletsky
PHP Beginner
www.phpbeginner.com
> -Original Message-
> From: Sascha Braun [mailto:[EMAIL PROTECTED]]
> Sent: Friday, August 09, 2002 12:18 AM
> To: PHP Mailingliste
> Subject: [PHP] mysql_result
>
I need some help!
I am getting a result out of my link Database an want it to Display the result in two
collums like this:
+-++
+ Result 1+ Result 2 +
+-++
+Result 3 + Result 4 +
+
extract(mysql_fetch_array($result));
sets all the variables at once. much neater :)
Maatt
"Jordan Elver" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
> If I knnow that a query will only retrun one row, can I do thiss (below)
> rather than using a while
Hi,
If I knnow that a query will only retrun one row, can I do thiss (below)
rather than using a while loop for one record?
$id = @mysql_result($result, 0, 'id');
$name = @mysql_result($result, 0, 'name');
$email = @mysql_result($result, 0, 'email');
$address1 = @mysql_result($result, 0, 'addres
5 matches
Mail list logo