Hello everyone. This is my first post to this board but I doubt it will be my last. I'm trying to learn, like other newbies here, PHP and running into just confusion about how to do probably very simple things. Any help would be much appreciated.
I am trying to find out how to do the following ...
I have a field in my table called $content, which holds the review for a given product. Not all of the reviews are finished however and I'd like to return some default text if there is no review yet.
So if the $content field for that given prod_id is empty then I'd like it to echo "Review coming soon" or something like that. If it does have review then I'd just like it to show the $content.
Can anyone help me with this code? Thank you very much in advance.
Elaine