Re: Parsing Error

From: Date: Wed, 12 Feb 2003 21:00:22 +0000
Subject: Re: Parsing Error
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-18493@lists.php.net to get a copy of this message
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


« previous php.windows (#18493) next »