
TheSky
Members-
Posts
102 -
Joined
-
Last visited
Never
Everything posted by TheSky
-
$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?
-
sry i did upload my backup file.. set_time_limit(); was disabled on server
-
i did try but im still geting Maximum execution time of 10 seconds exceeded in...
-
hmm... i think it will get just timeout now ... i want download file from other side of world
-
yes
-
User-agent: * Disallow: /folder/ and save as robots.txt in your root folder
-
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);
-
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))
-
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'; } ?>
-
so after i have pulled data to array i dont need any more mysql connection?
-
I have question if i include list from database and array it then it's staying on array or still pulling from mysql?
-
how i can but text on form and if i click form it will be empty like default?
-
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.
-
<?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.
-
btw PNG is making magic
-
hmm ok i try figure somthing out and i was using Adobe Photoshop what is (y)
-
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)
-
i have system what runs every row who has YES so if row has older then 7 days then it should turn NO
-
if i have in row todaydate older then 7 days then change udata to NO any help would be welcome
-
any ideas ?
-
maybe it helps if you write full url ?
-
is there some way to make index.php?id=example to /example like there is new folder
-
seems im stuck with value geting from echo but i think that code what did you write was correct
-
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";