-
-
Save anonymous/12af7a0bc51d02ea41b7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$allarray=explode(',',$_POST["data_"]); | |
foreach ($allarray as $aarray) | |
{ | |
$sql="UPDATE questions set order_number = ".$i." where name ='".trim($aarray)."'"; | |
$result=mysql_query($sql); | |
$i++; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment