Getting data from a form
Posted: Mon Jul 09, 2007 12:28 pm
pickle | Please use
$rowCheck[TaskID] is the ID of the form element am trying to get from the form
But this is not beginning anything back to the screen all am getting is a blank screen, hope someone can help me.
Cheers in advanced
Shuka
pickle | Please use[/syntax]
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
Hi Guys,
Just started to learn PHP and am slowly getting to hang of it, have currently got a form that consists of tickbox, with each one with a different ID that is assigned by the database when it creates the form, as each form is different depending on the user.
How managed to get it to recoginse what the form elements ID are so it can request the correct form element,
so in a while statement am going throught the ID to get the data using the following
[syntax="php"]while($rowCheck = mysql_fetch_array($resCheck))
{
$strValue = $_POST['$rowCheck[TaskID];'];
echo $strValue; ?> </br> <?
}But this is not beginning anything back to the screen all am getting is a blank screen, hope someone can help me.
Cheers in advanced
Shuka
pickle | Please use[/syntax]
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]