Hi, i have some problem i hope you could help me with.
I don't get this to work:
$qallitem = "SELECT concat(left(Type,3),ItemTypeid) as Item, Type as ItemType From ItemType;";
if(!$query_allitem = mysql_query($qallitem, $connection))
handle_mysql_error($connection);
while ($row_allitems = mysql_fetch_object($query_allitem))
{
print "$var1= $_POST['$row_allitems->Item']";
}
The problem is the print line in while loop.
I have a page where a user can fill in number in a certain amount of input boxes I don't know which one. So i've created a query which list all available item in that table. Then i want to check the $_POST variable if it contains a value, if it does i'm using that variable further.
Regards
Paal