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
PHP/Database issue
My friend is helping me make a database where you go to a certain webpage of my site and the page wi
PHP and MySQL on intranet?
Is it possible to use both these on an intranet network?
xApp Analytics in BI 7.0
Dear all,
I am trying to implement xApp Analytics in BI 7.0. After I installed the analyt
Multiple Dropdown Selections
I have a form that let's a user insert a page with the ability to select categories. I want them to
How to display objects in a row
I have 7 codes that i want to display in a row one next to another.
The first is {$ads->ad
PHP5/Zend 2.0 - Resources
PHP5 Snapshots
http://snaps.php.net/
ZEND 2.0 Feature Overview and Design (PDF File
Lack of simpleXML Documentation
What is up with this.
Look at: http://www.php.net/manual/en/function.simplexml-load-file.php<
Delete Client 066 Earlywatch
Hi all,
in former times client earlywatch was required for SAPs remote access to SAP inst
Local file browser with php
Halo..
So this is what i want to create. I have a folder that i share and it has many movies.
Format timestamp from mysql
When I tried this:
Code: date("m/d/Y H:i A", $row['timestamp'])
I got 12/31/1969 18: