Jump to content

Check Mysql field?


Drewdle

Recommended Posts

I have this script running:

 

<?php
$query = mysql_query("SELECT * FROM jobs WHERE event = 'Yes' ORDER BY title");
while ($row = mysql_fetch_array($query)) {
?>

 

How do I check if a field is empty and NOT display it...?

 

For instance it has a 'applied' field, if that is empty I dont want it to display, however I still  need the event = 'Yes' part.

 

 

Link to comment
https://forums.phpfreaks.com/topic/225374-check-mysql-field/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.