1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17:
php include_once „. /connect_to_mysql.php“; $query = „Uitgezochte Industrie, AVG (Current_Value) VAN stock_index“; $result = mysql_query ($query) of matrijs (mysql_error ()); //Print uit resultaten terwijl ($row = mysql_fetch_array ($result)){ $myFile = „_AVG.txt“; $date = datum („M j, Y“); $fh = fopen ($myFile, 'a') of matrijs („kan geen dossier“ openen); $stringData2 = „\ n \ n \ n “. $row [„AVG (Current_Value)“]. „“; fwrite ($fh, $stringData2); echo " $stringData2 "; fclose ($fh); } ? >
\n ".$row['AVG(Current_Value)'].""; fwrite($fh, $stringData2); echo"$stringData2"; fclose($fh); } ?>