Jump to content

[SOLVED] Attaching little bit of php to a form.


Lee-Bartlett

Recommended Posts

On my site the user fills out a form, when that form is filled out it submits to my database, i need, when that form is submited, a secret answer of no with it. this is then used for admin reasons. I tried this but it sadly didnt work

 

    <td><input type="hidden" name="no" id="no" value="<? $_POST["approve"] == "no"; ?>"></td>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.