Jump to content

Add Static Form var to pass to .php


JMair

Recommended Posts

I'm trying to store a php variable in a html form (a static var) within a Joomla article. I dont think this is a Joomla problem as much as me not knowing how to store a value correctly.. Here is what I have on the html page....

 

 

<?php $varto = "[email protected]";?>
<input type="hidden" type="text" name="email" value="$varto" <br />

 

I know I'm butchering the syntax somehow. I've searched for php form Value, Form Value, but havent been able to find the answer. Hope you guys can help me out..

 

Thanks!

Link to comment
https://forums.phpfreaks.com/topic/188612-add-static-form-var-to-pass-to-php/
Share on other sites

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.