How do i use vars in an array
Posted on
16th Feb 2014 07:03 pm by
admin
Hiya peeps!
How do I use a var in an array. You will see $id but it isnt working.
array('MAINCONTENT' => '<div id="registration"><form id="register" class="cssform" action="#" method="POST">
<b><font color="black" size="4">Personal Details</font></b>
<p>
<label for="firstname">First Name</label>
<input type="text" id="firstname" value="" autocomeplete="off" />
</p>
<p>
<label for="lastname">Last Name</label>
<input type="text" id="lastname" value="" autocomeplete="off" />
</p>
<p>
<label for="emailaddress">Email Address:</label>
<input type="text" id="emailaddress" value="" autocomeplete="off" />
</p>
<p>
<label for="password">Password:</label>
<input type="password" id="password" value="" autocomeplete="off" />
</p>
<p>
<label for="passwordconf">Confirm Password:</label>
<input type="password" id="passwordconf" value="" autocomeplete="off" />
</p>
<p>
<label for="phone">Phone:</label>
<input type="text" id="phone" value="" autocomeplete="off" />
</p>
<p>
<label for="address">Address:</label>
<input type="text" id="address" value="" autocomeplete="off" />
</p>
<p>
<label for="city">City:</label>
<input type="text" id="city" value="" autocomeplete="off" />
</p>
<p>
<label for="county">County:</label>
<input type="text" id="county" value="" autocomeplete="off" />
</p>
<p>
<label for="postcode">Postcode:</label>
<input type="text" id="postcode" value="" autocomeplete="off" />
</p>
<p></p>
<b><font color="black" size="4">Card Details</font></b>
<p>
<label for="accname">Name on card:</label>
<input type="text" id="accname" value="" autocomeplete="off" />
</p>
<p>
<label for="accnumber">Account number:</label>
<input type="text" id="accnumber" value="" autocomeplete="off" />
</p>
<p>
<label for="accsort">Account sort code:</label>
<input type="text" id="accsort" value="" autocomeplete="off" />
</p>
<p>
<label for="expiry">Expiry:</label>
<input type="text" id="expiry" value="" autocomeplete="off" />
</p>
<div style="margin-left: 200px;">
<input type="text" id="id" value="$id" autocomeplete="off" />
<input type="submit" value="Submit" />
</div>
</form></div>');
Many thanks
No comments posted yet
Your Answer:
Login to answer
254
50
Other forums
Grids not displaying decimals, and behaving differently on different PCs?
Hello,
I coded a relatively simple MII application that allows data from a form to be add
tag inside php... hi
Code: <?php echo "<td width="$columnWidth%" align=&Parse error: syntax error, unexpected T_ELSEIF in /home/......html/item.php on l I do not know what is wrong with this. Hope some one can help. I do nto want to post the entire site DB2 for z/OS, LUW, iSeries Hello,
In this forum a lot of threads related to other members of the DB2 family than DB2 for z/OS Little problem with form insertion in MySQL, Please help!!! Hi!,
I'm a little bit new with php and I have a little issue here. I created a webform to ins blank page.... nothing is happening. I'm new to a lot of this but in the last 24hrs have learned a lot. Installed latest version of my Session variable help I'm having a very troubling issue. Maybe I'm just looking over something but I have looked at the co problem in pagination when processing with selectbox form Hi,
I have a search form, with select boxes, if am selecting the value from the form, it work Help to integrate whois Domain Details to website Hi,
can i know is their any php script r methods to add domain details to my website.
Pass sql into pl/sql and create RMAN duplicate script. Hi,
I'm new to pl/sql and I'm trying to write a script that will generate some RMAN comma
|