yuvaraj
-
Posts
1 -
Joined
-
Last visited
Never
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
MySQL walking over itself!
in MySQL Help
Posted
If you think the second query executes before the first query finishes, then its better to have an if condition into which you can have the second query. Like
$a = 0;
$query = \"do something\";
if ($result = mysql_query($query, $connection)) {
$a = 1;
}
if ($a = \'1\'\') {
****** Your Second Query Goes Here ***********
}
Hope this helps
:wink: