Jump to content

loveamit

Members
  • Posts

    18
  • Joined

  • Last visited

Posts posted by loveamit

  1. help me...

    suppose some data is fetched from database using while(mysql_fetch_array(**)

    and i want that on click of each fetched data from database one div  must be opened up ..please somebody tell me help please

     

  2. sorry but i didnt think that while loop is  causing any problem the problem is occuring  due to the select query when i used mysql_error() then it is giving error of query is empty now tell me what to do

  3. sorry bt i didnt think tat while loop is  causing any prob the prob is occuring  due to the select query when i used mysql_error() then it is giving error of query is empty now tell me wat to do

  4. u have written that

    means that the actual sql query statement supplied as a parameter to the mysql_query() statement was empty.

     i nt able to understand these lines wat does it mean

  5. common u r acting like child .....i have already checked and echoed the value of session variable and it is working .....i just wanted to know why is it giving error that query is empty although all fields are correct

  6. i am working on a proj 

    i want that if someone else logged in 

    then i want a dilog box should open for a while it shows the user is online and then dilog box dissappers after that

    please somebody help me..

  7. i am sure there is no prob with this one i have use select queries with while($row=mysql_fetch_array($result))

    {
    each time its giving same error and said query is empty 
    please help me i got so irritated of it
  8. please write code of mysqli and where should i write down and how

    here is my code......

    $result = mysql_query("SELECT * FROM friendlist WHERE firstname='".$_SESSION['SESS_FIRST_NAME'] ."' and status='pending' ORDER BY firstname ASC");
    while($row=mysql_fetch_array($result))
    {
    $add=$row['addby'];
    }
    $numberOfRows = MYSQL_NUMROWS($result);
  9. i got an error said 


    Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in


        and my code is


    $result = mysql_query("SELECT * FROM friendlist WHERE firstname='".$_SESSION['SESS_FIRST_NAME'] ."' and status='pending' ORDER BY firstname ASC");


    while($row=mysql_fetch_array($result))

    please somebody help me

×
×
  • Create New...

Important Information

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.