echoing variables
Posted: Thu Nov 22, 2007 11:10 pm
Hiya!
Can anyone please help me?
I wanted to have a default value of an echo is the variable has no value. Its in some html code:
What would I write here?
Cheers,
Doug
Can anyone please help me?
I wanted to have a default value of an echo is the variable has no value. Its in some html code:
Code: Select all
<td><?php echo $username; ?> or if null, then echo this "default echo here"</td>Cheers,
Doug