PHP ver gevorderde |
|
1. :
<?php
mysql_query("INSERT INTO `nieuwssysteem` (`auteur`,`titel`,`bericht`) VALUES ('". $auteur ."', '". $titel ."', '". $bericht ."')") or die (Mysql_Error());
?>
<?php mysql_query("INSERT INTO `nieuwssysteem` (`auteur`,`titel`,`bericht`) VALUES ('". $auteur ."', '". $titel ."', '". $bericht ."')") or die (Mysql_Error()); ?>
2. Wel eerst helemaal bovenaan : ob_start(); :
<?php
header("Location: http://www.google.nl");
?>
<?php header("Location: http://www.google.nl"); ?>
Edit : - Wat te laat  |