Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

Using WHERE in the SELECT Statement

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Postby Redcircle » Sat Mar 01, 2003 12:52 am

Code: Select all
$result = mysql_query('SELECT artist,extra1,type FROM artist WHERE type = "'.$genre.'" ORDER BY artist asc',$db);


try that.
User avatar
Redcircle
Moderator
Moderator
 
Posts: 830
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA

Postby Redcircle » Sat Mar 01, 2003 1:18 pm

:) I am soooo good.. i think I will change my nick to phpgod.
User avatar
Redcircle
Moderator
Moderator
 
Posts: 830
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA


Return to PHP coding => General

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron