Jump to content

TheSky

Members
  • Posts

    102
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

TheSky's Achievements

Member

Member (2/5)

0

Reputation

  1. $query ="SELECT id,today,uuendus,username FROM u_data WHERE today < '$datex' AND uuendus='YES' ORDER BY id ASC"; i want select older then $datex all other code is correct i just want to know is WHERE today < '$datex' correct to use?
  2. sry i did upload my backup file.. set_time_limit(); was disabled on server
  3. i did try but im still geting Maximum execution time of 10 seconds exceeded in...
  4. hmm... i think it will get just timeout now ... i want download file from other side of world
  5. User-agent: * Disallow: /folder/ and save as robots.txt in your root folder
  6. is there some way to write file if there is 3mb in buffer ? im using curl but i want download with that over 30mb file, memory limit is like 10mb atm im using this code // Append a new person to the file $current .= "$buffer \w"; // Write the contents back to the file //$file file_put_contents($filename,$buffer);
  7. yes i have Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/a9953296/public_html/index.php on line 25 line 25 while($row=mysql_fetch_array($sqlll))
  8. i wanted to get array from database but im making somthing wrong have been using google and thinking about 2 days what im doing wrong.. help would be more then welcome thanks. <? include('connectx.php'); $name = htmlspecialchars($_GET['id']); $sqlll="SELECT * FROM data WHERE user='$name'"; $resultss=mysql_query($sqlll); if(mysql_num_rows($resultss)>0) { while($row=mysql_fetch_array($sqlll)) { $row=unserialize($row['items']); foreach($row as $item) { print $item.'</ br>'; } } } else { print 'Seems there is no data'; } ?>
  9. so after i have pulled data to array i dont need any more mysql connection?
  10. I have question if i include list from database and array it then it's staying on array or still pulling from mysql?
  11. how i can but text on form and if i click form it will be empty like default?
  12. thanks you are awsome! //now we expand it while(list($username,$check) = each($myArray)) { include('db_query.php'); echo '<br />'; } there was typo but it works as i expected.
  13. <?php //load it all into the associative array include('connect.php'); $sql=mysql_query("SELECT username,today FROM x_data WHERE status='ACTIVE' ORDER BY id ASC") or die(mysql_error()); while($row = mysql_fetch_row($sql)) { $myArray[$row[0]] = $row[1]; } //now we expand it while(list($username,$check) = each($myArray)) { echo($username,$check(include('db_query.php'))'<br />'); } ?> i want run every row with my include file (db_query.php) but seems im making wrong in the echo part.
×
×
  • 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.