No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
9 Posted Topics
Hi guys I want to commit the transaction if all the queries executed in the loop, or else I need to rollback how do i do this, I tried this , but I am not sure how efficient it is. mysql_query("START TRANSACTION"); for($i=0;$i<100;$i++) { $res=mysql_query("some query") array_push($array,$res); } if(in_array(0,$array)) mysql_query("rollback"); …
just unset the $term at the end of your code like, unset($term);
Hi guys, i want to to know the follownig status in my php.ini file 1 zip is enabled or not 2 openssl is enabled or not i treied using ini_get('zip') but its not working pls help me out. Thanks in advance
use queries like this $res="mysql_query("SELECT * FROM users WHERE username LIKE '$lettercombo' ORDER by username"); $num=mysql_num_rows($res); $limit=0; $select = mysql_query("SELECT * FROM users WHERE username LIKE '$lettercombo' ORDER by username limit $limit-20"); while($fetch = mysql_fetch_array($select)) { ?> <tr> <td><a style="color:#5b9600; font-weight:bold; text-shadow:0px 1px 0px fff;" href="viewuser.php?user=<? echo $fetch['username']; ?>"><? echo …
Hi guys, can anybody tell me where can i download oracle 9i, please send me some links, Thanks in advance.
When you want to get access the user input on the same page use "GET" method instead of "POST" method and use isset($_GET['submit']), I am new to php and recently I have started working on php, so I have jus suggested my taught
Close the while statement at the end of the table <?php } ?> and avoide using <?//code?> instead try to use <?php //code /?> cause it may cause some serious problem in some hosts, if allow <? ?> is not un commented in your php.ini file
Before inserting into the table, fetch the latest date from the table like; $res=mysql_query(
The End.
Karthik.gautham