Search results

  1. J

    sql manipulations

    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']."'...
  2. J

    arrays

    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.
  3. J

    arrays

    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
  4. J

    arrays

    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>"...
  5. J

    SMTP help

    ok, now i understand,..thanks for your help
  6. J

    SMTP help

    how do set it to localhost? where can i find this php.ini, ive tried searching it but i cant really find it
  7. J

    SMTP help

    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??
Back
Top