PDA

View Full Version : good with php? please help


mojotim
06 Aug 2001, 08:01
Hi, in the attached image you will see how I have a postbit template set up on one of my forums.

What I want to have, is when a user respond and does not enter the time/distance/hr...data it does not show those fields at all. Only in the replies though.

How would I set this up? Some kind of if/else statement?

dirgotronix
06 Aug 2001, 08:19
Didn't see an attatched image, but if you're looking to do some kind of form verification, do something like so:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



or something to that effect... This just says that if $someformfield isn't empty, echo it.