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

How can use this array as a key?
Say I have this array for example:


print_r($array);

Prints:
Code: [Select]Array

Ajax Issues - Update Panel / Timer. Intellisense doesn't know about them
Type 'System.Web.UI.ScriptManager' does not have a public property named 'UpdatePanel'. That is wha

Php WordPress help
I am writing the following code for making a plugin

<?php
header("Content-Type

Email logic not working
I would like to send an email using the php email() function then if it does execute i.e sends i wou

column name cancatenation within PL/SQL
I have a PLSQL store procedure, and the following statement is part of a subquery
fname||lnam

Disable html within defined tags
I have a mysql database that allows users to enter content with html, but I also want to have a tag

PHP mail() returns true but doesn't work
First off I apologize if this is a newbie question, and I generally don't like asking questions that

ClientScript.RegisterClientScriptBlock Issue
This is what I haveview plaincopy to clipboardprint?Protected Sub posrback_Click(ByVal sender As Obj

Passing variables with pagination - iterating through unique id per link
Hi everyone,
I have seen a few topics like this one. Still cant find the specific thing, so I am

Checking if variable is 0 as opposed to NULL/Empty...
I'm trying to write some code that will retrieve a user's access level from my database and if it do

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