TechSpott - Computer and technology forums

Go Back   TechSpott - Computer and technology forums > Webmasters > Database Management > MySQL
MySQL Forum dedicated to the world's most popular open source database engine.

Reply
 
Thread Tools Display Modes
Old April 16th, 2010, 08:36 PM   #1 (permalink)
Sagun
Guest
 
Posts: n/a
Default PHP MYSQL help - mysql_query(): supplied argument is not a valid MySQL-Link?

Any idea why this is not working?

Code:
$query2 = "select * from tblMail where mTo='user@gmail.com'";
$result2 = mysql_query($query2, $connection);
i also tried:

$query = "select * from tblMail where mFrom = '". $_COOKIE['userEmail'] ."' ";
$result = mysql_querry($query, $connection);


Error msg:

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource on Line 36
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource on Line 43

It's something to do with @ i believe..

thanks in advance..
  Reply With Quote Share with Facebook
Reply

Bookmarks

Tags
argument, mysql, mysqllink, mysqlquery, php, supplied, valid


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Oracle Announces MySQL Cluster 7.1 News Bot News 0 April 13th, 2010 09:47 PM
Multiple PHP Scripts in 1 MySQL Database? Robert M PHP 0 April 4th, 2010 02:56 AM

 
Forum Stats
Members: 14,373
Threads: 20,382
Posts: 27,863
Total Online: 61

Newest Member: nnpccpecyvh

Latest Threads

Advertisements

Support our advertisers!

Amazon
Sears
Macys
1800flowers.com
Drugstore.com


Carbonite Online-Backups
Tiger Direct
Tech Depot
Buy.com
Office Depot
Fatcow
HostGator


TripsNow.us
Marriott
Expedia
CheapTickets.com
OneTravel
Hotwire

Are you a Fan?

Share this on Facebook

Tag Cloud

Partner Links


Contact Us - Home - Archive - Privacy Statement - Top - Copyright © 2009-2010, TechSpott - All times are GMT -4. Time is 08:22 PM

Powered by vBulletin® Copyright © Jelsoft Enterprises Ltd. :: SEO by vBSEO