02122003 1252 GMT-6

Ok. This might be a different problem than I first thought.
Im calling data from the previous page via the $_POST. This holding variable is holding eight or more values. It takes these values and creates fields for a database.

My problem is, does this code pull multple values from the POST variable?

$sql = "CREATE TABLE $_POST[table_name](";
for($i = 0; $i < count($field_name); $i++)

wade


Wade wrote:
02122003 1224 GMT-6

I have a question. When escaping characters, on the $_POST{x} do you need to escape this as well? This is a snippt of code but Im getting a Parse T error.

$form_block = "
<form method = \"POST\" action = \"db_createtable.php\">
<input type = \"hidden\" name = \"$_POST[table_name]\" value = \"$_POST[table_name]\">

Wade


--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to