Results 1 to 6 of 6
Threaded View
-
8th Mar 2011, 01:33 PM #1OP
MySql Query
Consider there is the following table.
Now I want to query only the rows whose value is 1.
I use the following code
Code:$sql="SELCET name, reg, branch, year from i11 where sf='1'"; $result=mysql_query($sql); while ($row=mysql_fetch_array($result))
Code:Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in \xampp\htdocs\reg\events.php on line 19
Kindly give information about the correct query.
Thank you.
GoPantheoN Reviewed by GoPantheoN on . MySql Query Consider there is the following table. http://lulzimg.com/i14/384165.jpg Now I want to query only the rows whose value is 1. I use the following code Rating: 5
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
PHP - MySQL query to CSV export
By ElitePirate in forum Web Development AreaReplies: 2Last Post: 25th Jul 2012, 09:19 PM -
mysql query to export database
By lenney in forum IP.BoardReplies: 4Last Post: 7th May 2011, 03:43 PM -
mysql query help ($5 reward)
By tdsii in forum Web Development AreaReplies: 20Last Post: 10th Jan 2011, 11:52 PM -
WordPress database error MySQL server has gone away for query
By blur88 in forum Webmaster DiscussionReplies: 10Last Post: 27th May 2010, 08:43 PM -
Speed Up Your Web Site With MySQL Query Caching
By BlaZe in forum Technical and Security TutorialsReplies: 1Last Post: 4th Nov 2009, 03:11 PM
themaLeecher - leech and manage...
Version 5.03 released. Open older version (or...