Greetings,

I have a silly question, unfortunately I cannot find how it should work.

I want to see if a specific field is empty. I'll paste what I've done so
far.

The problem is that the current coding enters no value, but the IF statement
doesn't work either.

Please help me :D

Yours,

Kevin


            if ($URL = NULL)
                {   echo "
                    <tr>
                        <td></td>
                        <td>$class</td>
                        <td>$name</td>
                        <td>$type</td>
                        <td>ACTIVE SIM</td>
                    </tr>\n";
                }
            else
                {  echo "
                <tr>
                    <td></td>
                    <td>$class</td>
                    <td><a href=\"$URL\">$name</a></td>
                    <td>$type</td>
                    <td>ACTIVE SIM - $URL</td>
                </tr>\n";
            };



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to