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

PHP using IF to display error
i have a MySQL query and i want to display 1 thing only if the number of affected rows is >=1

mod_rewrite.c on windows ??
why it's not working on windows while it's working on other hosts???

this is the code i got

form variables from database help.
Hi all,

I would like to have a form that gives you options based on the results of an mysql q

socket makes browser hang...
I have a socket server, and I am having a problem at the moment...

A browser sends a http hea

Table sorting
Hi,

I'm trying to modify the following in order to make the output table sorted alphabeticall

PHP doesn't send my mail
Hi all, I found this and used it to send mail. Simple contact form with some required fields. The va

INSERT data problem!
After having an string with apostrophes ', double quotes " or any other special characters, suc

Need help to modify php ELSE code
I'm trying to find a way to have the php code display a message if there is no inventory listed in t

Database 'Validation'
Hi everyone,
I'm trying to validate the password entered by the user with the password in the dat

DELETE rows based on content
I have a link in my rows

$bit="http://bit.ly/abcd";
$query = mysql_query("D

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