Jump to content

Check my field blank


chanchelkumar

Recommended Posts

Hi all,

 

Am working with some forms...

It contains some 16-20 tables and 75 fields in each table.

 

How to check one of blank field. is there any option to find my blank fields from the table..With out checkin every field !="", !=null

 

any clue can help me.. am totally bugged with the fields ..

No idea i mind...

 

Just a small help please...

Link to comment
https://forums.phpfreaks.com/topic/115028-check-my-field-blank/
Share on other sites

$SelQry="SELECT * FROM tablename WHERE customerid='$clientid'";
$SelExe=mysql_query($SelQry)or die(mysql_error());
$total=mysql_num_rows($SelExe);
if($total>0)
{
$selout=mysql_fetch_object($SelExe);

echo'Please Enter following Data'.'<br>';

$course_name=$selout->nbcfdc_educational_cors_name;
if(!$course_name){echo ' Name of the course'.'<br>';}
$institution=$selout->nbcfdc_educational_name_institution;
if(!$institution){echo 'Name of the Institution'.'<br>';} }

 

This what i want!!!

Link to comment
https://forums.phpfreaks.com/topic/115028-check-my-field-blank/#findComment-592368
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.