1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Rep Power
    Please take a look at http://www.screamingv.com/php/moreinfo.html and submit the form. This php script was constructed from a tutorial on DevShed. Everything works fine, emails are sent, and the information is added to the datbase as it is supposed to be. However, mysql gives this error:

    Warning: MySQL: Unable to save result set in /home/screamingv/public_html/php/email.php on line 52

    Line 52 is:

    $result = MYSQL_QUERY($query);

    Any insight into this problem would be much appreciated!
  2. #2
  3. No Profile Picture
    Apprentice Deity
    Devshed Loyal (3000 - 3499 posts)

    Join Date
    Jul 1999
    Niagara Falls (On the wrong side of the gorge)
    Rep Power
    I believe that indicates a failure to allocate enough memory to store the result set. It happens when you are returning a large result and have a low setting for memory_limit in php.ini (default is 8MB). Try increasing the limit if you can. If not, you might have to do something about the size of your result set....

Similar Threads

  1. Warning: mysql_fetch_row(): ??
    By commodus in forum PHP Development
    Replies: 31
    Last Post: November 16th, 2005, 04:52 PM
  2. Cronjob madness
    By eliteboo in forum Linux Help
    Replies: 10
    Last Post: July 14th, 2003, 10:49 AM
  3. Odd MySQL ORDER BY and LIMIT record order bug
    By Hero Zzyzzx in forum MySQL Help
    Replies: 0
    Last Post: June 1st, 2003, 01:20 PM
  4. Getting an odd warning
    By maverick1099 in forum PHP Development
    Replies: 3
    Last Post: April 2nd, 2002, 05:36 PM
  5. file upload- check if somethings there
    By MkJnr in forum PHP Development
    Replies: 9
    Last Post: March 19th, 2002, 01:14 PM

IMN logo majestic logo threadwatch logo seochat tools logo