Jump to content

TheSky

Members
  • Posts

    102
  • Joined

  • Last visited

    Never

Everything posted by TheSky

  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.
  14. hmm ok i try figure somthing out and i was using Adobe Photoshop what is (y)
  15. i have header but it looks ugly on web like CSS .top-header { background : url("http://warrock-stats.co.cc/pic/head-top.gif") left top; background-color:#000; margin : auto; height : 100px; width : 968px; } is there some solution to make it better i have also dark background (i tryed with background-color:#000; but no resulds)
  16. i have system what runs every row who has YES so if row has older then 7 days then it should turn NO
  17. if i have in row todaydate older then 7 days then change udata to NO any help would be welcome
  18. TheSky

    URL's

    maybe it helps if you write full url ?
  19. is there some way to make index.php?id=example to /example like there is new folder
  20. seems im stuck with value geting from echo but i think that code what did you write was correct
  21. hmm i tryed this is not working Parse error: syntax error, unexpected ':' in ... i need just like that function switch(true){ case (in_array($t, range(0,20))://the range from range of 0-20 echo "1"; break; case ($in_array($t, range(21,40))//range of 21-40: echo "2";
×
×
  • 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.