Posted by Teutje Fri 23rd Feb 2007 13:15 - Syntax is PHP - 48 views
Modification of posting from Teutje Thu 22nd Feb 2007 12:52Run this post in the PHP shell
Download | New Post | Modify | Diff | 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/10843

    The following amendments have been posted:

    1. Teutje (Fri 23rd Feb 2007 14:08)
    Posted by Teutje Fri 23rd Feb 2007 13:15 - Syntax is PHP - 48 views
    Modification of posting from Teutje Thu 22nd Feb 2007 12:52Run this post in the PHP shell
    Download | New Post | Modify | Diff | Diff | Hide line numbers

     

    Comments: 0