Log in

View Full Version : good with php? please help


mojotim
08-06-2001, 07:01 AM
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
08-06-2001, 07:19 AM
Didn't see an attatched image, but if you're looking to do some kind of form verification, do something like so:

if ($someformfield != "") { echo $someformfield }

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