How to Check to see if a file has Null Data
Here is my problem:
I am running a remote mysql query which will either return a value or will not. If it does not, I would like to execute a few commands. I tried running the query and checking what $? was, but it seems to always be 0. I was going to dump the output of the query into a file and check to see if the file contains NULL data or not. How can i do this? Or is there a better way?
Thanks!
farmerjoe
|