Search results

  1. ?

    PHP/mySQL question....?

    Basically I have a website that uses non user specific mysql queries that run each time the user goes onto the page. Is there a way of executing the mysql and generating the html from the queries then writing the html to a file which can be loaded into the index file using include()?
  2. ?

    PHP question: fopen()?

    is there a way to make this work: <?php $fh = fopen("test.html", 'w') or die("can't open file"); $stringData = echo'hello'; fwrite($fh, $stringData); fclose($fh); ?> Basically I want to write the output (in this case 'hello') of a php function in to a file. So basicaly it would echo the hello...
  3. ?

    Whats up with this php?

    $array = mysql_query("SELECT * FROM category ORDER BY row_no"); $query = mysql_fetch_array($array); $counter = 1; foreach($query as $category){ if($query['col_no'] == 1){ echo '<a href="#" rel="toggle['.$counter.']">'.$category['cat_title'].'</a><br /> <div id="'.$counter.'" style="width...
  4. ?

    How long does it take to learn how to make flash games?

    I'm 17 and I have my own sites and I can code PHP and Javascript and various other languages etc. and I'm thinking of learning how to make flash games (I already can do basic flash stuff). How long does it take to get good at making flash games and how would you recommend learning how to make...
Back
Top