Disse sider er mit lille PHP laboratorium.

Nedenstående er basis tutorial fra Webmomkey. (PHP from the ground up) NB: link i tutorial virker ikke.
Webmonekys PHP muligheder

php2.php Skrive tekst ( bruger print og ikke echo) + skriver dokumentets navn + info omkring php serveren herunder SQL - ref p4
php3.php Anvendelse af arrays. - ref p 7
php4.php Eksempler på løkker og funktioner - ref p8 + p10
badword.htm Forms (bad_words.php) - ref p6
hoover.htm Funktion - forms - (loanshark.php) - ref p11
nedenfor er fra Sams teach yourself PHP. Julie C. Meloni  
testype Sams teach yourself php - test af type - ref p85
settype Sams teach yourself php - set - skift af type - ref p86
test af if Test af if - ref p104
test af if else Test af if / else - ref p105
test af if else if Test af if / else / if - ref p106
test af switch Test af switch - ref p107
test af ternary .. ? Test af ternary (?) - ref p108
test af while Test af while - ref p109 - listing 6.6
test af do while Test af do while - ref p110 - listing 6.7
test af for Test af for - ref p112 - listing 6.8
test af for 2 Test af for - ref p113 - listing 6.9
test af for 3 .. med break Test af for med break - ref p113 - listing 6.10
test af for continue Test af for med ontinue - ref p114 - listing 6.11
test af for og nesting Test af for med nesting - ref p115 - listing 6.12
test af if i code blocks Test af if med code blocks - ref p117 - listing 6.13
test af if i code blocksmed fin html Test af if med code blocks - ref p118 - listing 6.14
test af abs Test af abs funktion - ref p125 - listing 7.1
test af funktion1 Test af funktion - ref p126 - listing 7.2
test af funktion print + br Test af funktion print og linieskift - ref p127 - listing 7.3
test af return Test af funktion og return - ref p128 - listing 7.4
test af intern variabel Test af funktion og intern variable - giver fejl - ref p129 - listing 7.5
test af extern variabel Test af funktion og ekstern variable - giver fejl - ref p130 - listing 7.6
test af extern variabel 2 Test af funktion og global ekstern variable - ref p131 - listing 7.7
test huske interne variable Test af funktion og global huske variabel - ref p132 - listing 7.8
test huske interne static variable Test af funktion og global huske variabelmed static - ref p133 - listing 7.9
test med 2 argumenter Test af funktion med 2 argumenter - ref p134 - listing 7.10
test med 2 argumenter Test af funktion med 2 optional argumenter - ref p135 - listing 7.11
test med argument test med funktions definering argument til funktion med variabel - ref p135 - listing 7.12
test med argument til funktion med variabel Test med funktions argument til funktion med variabel - ref p136 - listing 7.13
test af funktions eksistens Test med funktions eksistens - ref p137 - listing 7.14
test af multidimensional array Test med multidimensional array - ref p144 - listing 8.1
test af obcject class Test af object eksisterer- ref p150 - listing 9.1
test af objectproperties Test af object properties - ref p151 - listing 9.2
skifte object egenskaber Test af skifte af object properties - ref p152 - listing 9.3
A class with a method Test af class med metode - ref p152 - listing 9.4
skifte værdi i metode Accesing class properties within a method - ref p153 - listing 9.5
A class with a method inside class Changing the value of a propery within a method - ref p153 - listing 9.6
Nedarvede metodegenskaber A Class Inheriting from Its Parent - ref p154 - listing 9.7
overstyre class af parent The method of a child class overriding that of its Parent - ref p155 - listing 9.8
test af printf funktion Demonstrating some type specifiers - ref p163 - listing 10.1
test af printf funktion - 2 Demonstrating some type specifiers nr 2 - ref p166 - ekstra listing 10.1+
test af printf funktion - 3 Using printf() to format a list of product prices - ref p167 -listing 10.2
test af printf funktion på datoer - 1 Using printf() to format dates - ref p169 -listing 10.xx - fejl i script ??
test af sprintf funktion på tal - 1 Using sprintf() to format af streng - ref p170 -listing 10.yy
test af strtok() Dividing a string into Tokens with strtok() - ref p173 -listing 10.3
test af getdate() Acquiring date information with getdate() - ref p182 -listing 10.4
test af date() Formatting a date with date() - ref p184 -listing 10.5
test af mktime() Creating a time stamp with mktime() - ref p185 -listing 10.6
test af form A simpel HTML form og reading input - ref p189 -listing 11.1+2
test af form med select A HTML form including SELECT og reading input - ref p191 -listing 11.3+4
test af form med html og php A php number-guessing script - ref p194-5 -listing 11.5+6+
test af form med hidden Saving state with a Hidden Field - ref p196 -listing 11.7
test af redirect Using header() to redirect user - ref p198 -listing 11.9
lave en mail Creating a simple feedback form - ref p200+201 -listing 11.10+11.11

LINKS

PHP hjemmeside Mange informationer - Central brain siden  
PHP manualen    
PHP Vidensbase Rummer utroligt meget - incl tutorials  
PHP Builder Mange informationer  
     

Database

dbtest1.php 1. Databasetest  
hvide_husejere.php    
andelind.htm Indtastning af andel i hvide hus.  
Andeleud Visning af andele  
     
     
     
     
MySQL Adgang til administration (phpMyadm)