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">
Did you know?Explore Trending and Topic pages for more stories like this.
<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

GET vs SUBMIT Button to show sections on one index.php page?
Just curious if one of these ways is better (i.e. more efficient) than the other.

I have a

Problems generating word documents on server side for security reasons
I have a problem with word documentation generation when generating a word document (docx) with PHP.

Grouping and sorting results
Please help with this query.

I have 2 tables in a database, countires and cities. states look

PHP Redirecting
Hello everyone. Is there a way to redirect people to pages within a statement in PHP? Since there is

Help with form post data and arrays
Hi all,

I am new to this forum... It has been awhile since i have worked with arrays, and i a

Using loop to count number of entries
I'm writing a program that must ask user to type in numbers. After each entry, the program has to re

Checking if field is empty AND using !is_numeric
Hi lads,

Need to be able to display an error message (using isset?) that says "Cant lea

Problem in String replace program's output
Hi all,
I was trying to make a program which accepts a string and replaces it with another stri

Working with Global Variables
hi, I'm not really sure why the following code is returning a "Call to a member function getBan

PDO returns erroneous columns from within pdt
Hi All,

This is a truly weird behavior:
When using a simple pdo fetch, erroneous columns a

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