Posted by Teutje Fri 23rd Feb 2007 14:08 - Syntax is PHP - 35 views
Modification of posting from Teutje Fri 23rd Feb 2007 13:15Run this post in the PHP shell
Download | New Post | Modify | Diff | Hide line numbers
PHP parser reported no syntax errors in this post!
  1.             $nieuws = "select DISTINCT plaats from tblzwemwedstrijd";
  2. $resultaat = mysql_query($nieuws);
  3.     while ($record = mysql_fetch_object($resultaat)) {
  4.         echo"
  5. $record->plaats
  6. ";
  • }
  •        
  •         if($_GET['click']=true)
  •         {
  •         $page=$_GET['page'];       
  •         }
  •     ?>
  •  
  •  
  •  
  •            
  •             switch (strtolower($_GET['page']))
  • {
  •  
  •   case $page :
  •   include("pages/".$page.".php");
  •   break;   
  • default:
  •   include("pages/home.php");
  •   break;
  •    
  • }
  • ?>

  • PermaLink to this entry https://pastebin.co.uk/10844
    Posted by Teutje Fri 23rd Feb 2007 14:08 - Syntax is PHP - 35 views
    Modification of posting from Teutje Fri 23rd Feb 2007 13:15Run this post in the PHP shell
    Download | New Post | Modify | Diff | Hide line numbers

     

    Comments: 0