How do i use vars in an array

Posted on 16th Feb 2014 01:33 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>
<label for="firstname">First Name</label>
<input type="text" id="firstname" value="" autocomeplete="off" />

<label for="lastname">Last Name</label>
<input type="text" id="lastname" value="" autocomeplete="off" />

<label for="emailaddress">Email Address:</label>
<input type="text" id="emailaddress" value="" autocomeplete="off" />

<label for="password">Password:</label>
<input type="password" id="password" value="" autocomeplete="off" />

<label for="passwordconf">Confirm Password:</label>
<input type="password" id="passwordconf" value="" autocomeplete="off" />

<label for="phone">Phone:</label>
<input type="text" id="phone" value="" autocomeplete="off" />

<label for="address">Address:</label>
<input type="text" id="address" value="" autocomeplete="off" />

<label for="city">City:</label>
<input type="text" id="city" value="" autocomeplete="off" />

<label for="county">County:</label>
<input type="text" id="county" value="" autocomeplete="off" />

<label for="postcode">Postcode:</label>
<input type="text" id="postcode" value="" autocomeplete="off" />
<b><font color="black" size="4">Card Details</font></b>
<label for="accname">Name on card:</label>
<input type="text" id="accname" value="" autocomeplete="off" />

<label for="accnumber">Account number:</label>
<input type="text" id="accnumber" value="" autocomeplete="off" />

<label for="accsort">Account sort code:</label>
<input type="text" id="accsort" value="" autocomeplete="off" />

<label for="expiry">Expiry:</label>
<input type="text" id="expiry" value="" autocomeplete="off" />

<div style="margin-left: 200px;">
<input type="text" id="id" value="$id" autocomeplete="off" />
<input type="submit" value="Submit" />


Many thanks

No comments posted yet

Your Answer:

Login to answer
254 Like 50 Dislike
Previous forums Next forums
Other forums

RadioButtonList item spacing
I have a RadioButtonList and I can't put any spacing between the items. They are arranged verticall

How to secure my login data to my database?
Hi there,

It may be a stupid question but I don't know how to secure my login data to my data

MII Netweaver Server stopped due to CPIC connection Problem
Dear Experts,
We have SAP XMII 12.0 setup running on Netweaver 2004s,7.0, Java Stack only.

Replica PID 01347:Cartier Santos 100 White Lady Size Brown Strap Watches [13c0] - $215.00 : Professional replica watches stores,
swiss replica watches aaa+
swiss replica watches

utf8_general_ci error ??
I have all kinds of data to be inserted in database table

//I am getting this error


Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Google+ Indyaspeak @ Pinterest RSS

Operation not allowed when innodb_forced_recovery > 0.