|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-12-13 13:11 UTC] msopacua@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 00:00:02 2025 UTC |
this is what i'm doing: for ($i=0; $i<$howmany; $i++){ // Insertar Datos $premio[$i] = $form_data['premio[$i]']; $description[$i] = $form_data['description[$i]']; $bil[$i] = $form_data['bil[$i]']; $myquery[$i] = "INSERT INTO PREMIO ( premio, description, bil) VALUES ('$premio[$i]', '$description[$i]', '$bil[$i]')"; $result = mysql_query($myquery[$i], $mysql); if (!$result) { $error[$i] = "No se logro realizar la inserci?n"; return ($error[$i]); } } it does the insert but whitout the data, empty; what am i doing wrong