hey guys i need some help,
in my database i hav fields named choice1, choice2, choice3...choice10
now in my php code is there any way where i can make my fields an array, heres my code:
$ctr=1;
while($ctr <=10){
$sql = "UPDATE `poll_data` SET `vote[$ctr]`='".$Votes['$ctr']."'...
thanks tetranz, i realized the mistake was within the $_POST[], i didn't know $_POST["opt{$ctr}"] was possible, (embedding the curly braces w/in the _POST)
thanks for all the help guys appreciated it.
hey mako,
ive already tried using _GET["opt$ctr"] (as well as in _POST), but it stil does not work,..your suggestion on "opt{$ctr}",..how will i use that?.,,like this: _POST["opt{$ctr}"]
thanks
heys guys i need your help, ive created a page where a user can input the number of textbox he needs to iputs some fields, here the code:
$ctr=1;
while($ctr <= $poll_specific)
{
echo "<tr><td align='right'>";
echo "<div id ='normal'>" . "Option " . $ctr . ": ". "</div>"...
hey guys i am a newbie at php please help me..
i hav receiving this prob:
"Warning: Failed to connect to mailserver, verify your "SMTP" setting in php.ini in c:\phpdev\www\email2.php on line 21"
can anyone help me??