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

Is it possible to view php source code??
Hi All

I was just wondering if it's possible to view a websites php source code?
I know

bind error during socket programming
i am kinda new to socket programming. wrote the below code for a server. but getting the bind error

problem when runing a funciton
I am trying to connect to database using a funciton in a functions.php


Transport data between itab and textfield on ALV event

I have a ALV Grid ( cl_gui_alv_grid ) and I also have hotspot click event with a h

Jimmy Choo Stiefel Fersen u0026 Pumps für billig
[b][url=]- jimmy choo hohe stiefel[/url

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