both in the same way:
<?php
$res=mysql_query($sqlselect);
while ($row=mysql_fetch_assoc($res))
{
echo "row with id ".$row['id']." has name ".$row['name']." <br>";
} // each row
?>
----- Original Message -----
From: "imran shafiq" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[email protected]>;
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>;
<[email protected]>; <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Saturday, December 03, 2005 11:23 AM
Subject: [php-list] Two Questions for PHP/MySQL Experts
> Dear Experts
> I have two problems for you I am sure you can give me right solution
> 1) How to display a labels of buttons from database if all lables store
> in DB.
> 2) How to print a ID and Value of posted dropdown list.
> Imran Shafiq
>
>
>
> ---------------------------------
> Yahoo! Messenger NEW - crystal clear PC to PC calling worldwide with
> voicemail
>
> [Non-text portions of this message have been removed]
>
>
>
> Community email addresses:
> Post message: [email protected]
> Subscribe: [EMAIL PROTECTED]
> Unsubscribe: [EMAIL PROTECTED]
> List owner: [EMAIL PROTECTED]
>
> Shortcut URL to this page:
> http://groups.yahoo.com/group/php-list
>
>
>
> SPONSORED LINKS Php mysql Job postings
>
>
> --------------------------------------------------------------------------------
> YAHOO! GROUPS LINKS
>
> a.. Visit your group "php-list" on the web.
>
> b.. To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
>
> c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>
>
> --------------------------------------------------------------------------------
>
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/I258zB/QnQLAA/TtwFAA/HKFolB/TM
--------------------------------------------------------------------~->
Community email addresses:
Post message: [email protected]
Subscribe: [EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
List owner: [EMAIL PROTECTED]
Shortcut URL to this page:
http://groups.yahoo.com/group/php-list
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/php-list/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/