Differences

This shows you the differences between two versions of the page.

Link to this comparison view

u1_php_html [2017-09-01 14:54]
u1_php_html [2022-07-18 13:20] (current)
Line 1: Line 1:
 +====== Uppgifter på PHP, HTML och CSS ======
 +=== Uppgifter för att komma igång med syntaxen för PHP och lära sig lite HTML och CSS: ===
  
 +<php>
 +//highlight_file('../../code/lektion/php2.php');
 +
 +//echo "<br><br>";
 +// och CSS:n
 +
 +//highlight_file('../../code/lektion/style.css');
 +</php>
 +
 +
 +1. a. Gör en sida som presenterar 7:ans multiplikationstabell och presentera det snyggt med hjälp av en tabell. se mitt [[http://student.oedu.se/~jf/code/x_ans_tabell.php?x=7|ex]].
 +
 +=== Lite svårare... ===
 +
 +2. gör en sida som ritar rutor... [[http://student.oedu.se/~jf/code/rutor.php|Se ex]].
 +Testa med 2,3 och 3,2
 +
 +<html>
 +<form action="http://student.oedu.se/~jf/code/rutor.php" method=post>
 +   x:<input type=text name=xled><br>
 +    y:<input type=text name=yled><br>
 +   <input type=Submit  value=Skicka>
 +</form>
 +<br><br>
 +</html>