toasty525 Posted July 4, 2007 Share Posted July 4, 2007 can anyone suggest a way of dissplaying a table of links from a mysql table but not display a link if a value is preasent in a colum of the mysql table ? thanks for your time. Link to comment https://forums.phpfreaks.com/topic/58455-how-do-i-filter-a-table-of-links/ Share on other sites More sharing options...
redarrow Posted July 4, 2007 Share Posted July 4, 2007 show links where a secuity number of 1 is set ok. <?php // database connection $query="SELECT `links' , `secuity` FROM `what_ever' WHERE `secuity`= 1"; $result=mysql_quert($query)or die("mysql_error()"); while($x=mysql_fetch_assoc($result)){ echo $x['links']; } ?> Link to comment https://forums.phpfreaks.com/topic/58455-how-do-i-filter-a-table-of-links/#findComment-289842 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.