|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
"IF" Statement
I've been trying to display other text if the row in a table is empty.
This page is coming from another script, say siteDetails.php?id=11 Here's what I have so far, PHP Code:
|
|
#2
|
|||
|
|||
|
Sorry, I got it right after I posted this...
PHP Code:
anyways, thanks all |
|
#3
|
||||
|
||||
|
Gratz to you too
I love it when people figure things out..Isn't it an ego booster? ![]() |
|
#4
|
|||
|
|||
|
I agree, nicat23
I had to stand up and do a dance, after I saw what was going on. egoBoost inDeed! ![]() |
|
#5
|
|||
|
|||
|
Well - lets rewind a little:
PHP Code:
No need for any of that. To correct the above, it would be: PHP Code:
Now, you don't even need that - you can use a boolean check on that column: PHP Code:
__________________
~ Joe Penn We work for free to help make this a valuable resource on the internet. Do you appreciate the help - did we provide help that will help you prosper and help that has contributed to sharpening your current skill set? Show your appreciation and purchase something from our Amazon Wishlist's - it's simple and a great way to say thank you. |
|
#6
|
|||
|
|||
|
Thanks jpenn,
I'll also try that method, just for my reference. To me, It looks more simplified. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > "IF" Statement |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|