values in array being escaped


Posted on 16th Feb 2014 07:03 pm by admin

I would like to submit some values - back to the same form for checking before processing...

Code: [Select]<FORM method="post">
<table width="500px" border="1" align="center">
<tr><td>Item</td><td>Cost</td><td>Qty</td></tr>

<?php print_r($Invoice); ?>

<tr>
<td><input type="text" name="Invoice[0]['name']"></td>
<td><input type="text" name="Invoice[0]['cost']"></td>
<td><input type="text" name="Invoice[0]['num']"></td>
</tr>
<tr>
<td colspan="3">
<input name="action" type="submit" value="Update">
<input name="action" type="submit" value="Process">
</td>
</tr>
</table>
</FORM>

No comments posted yet

Your Answer:

Login to answer
241 Like 25 Dislike
Previous forums Next forums
Other forums

How can i steam a video on my PHP site? (non YouTube)
Basically I have a PHP site and don't want to give page rank to YouTube. I just want to stream a bas

Multiple Pages
Hi. Im very new to php. I'm trying to create a basic login/registration page.

So I have a bas

smart reading from a text file
Hello there fellow coders, i was wondering if one of you wouldnt mind helping me with this problem i

Notice Undefined index: reset/ Attempting to redirect, works, but get a notice
Full Header.php is:
Code: [Select]<?php
$reset= false;
$reset= strip_tags($_GET[&quo

foreach result into a single variable
Hi,

I have this code...

Code: [Select]foreach ($_POST['Interests'] as $interest =&

Php - mysql select?
hi, i have this code:

Code: <?php
session_start();
// dBase file
include &quo

Code error with Index.php
Error: Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/runevid/public_

contact form - output to page and email
I have the following in my controller:

$message['name'] = htmlentities(strip_tags(trim($_POST

first few characters only
hi, does anyone know how to use PHP to take the first few words of a text and limit them? i have see

undefined offset help
Hi All,

I kept getting undefined offset PHP notice for a simple for loop. For eg
$va = arr

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



Play Free Quiz and Win Cash