Hey yall, it’s me, back with another simple, yet annoying problem with php.
I need to pass a varaible to a hidden field textbox. Yes, yes laugh it up
<?php
$userIPAddress = $_SERVER["REMOTE_ADDR"]
?>
Then in my html form i have my input type
edit: I know why this isn’t working but I don’t know where to wrap the <?php ?> tags.
<input name="userIPAddress" type="hidden" id="userIPAddress">
I tried a bunch of stuff but I get the text “userIPAddress” in my database instead of the value.
Thanks, and sorry for yet again another silly php question