Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| using_php [2021/02/19 14:53] – ac1mde | using_php [2021/02/19 14:54] (current) – ac1mde | ||
|---|---|---|---|
| Line 23: | Line 23: | ||
| Similarly, form variables are not automatically passed into the PHP variables, so you must do this manually. | Similarly, form variables are not automatically passed into the PHP variables, so you must do this manually. | ||
| ^ Before ^ After ^ | ^ Before ^ After ^ | ||
| - | | print "you typed: " | + | | print "you typed: " |
| - | print "was check box 2 selected? " | + | |
| - | $cb = $_POST[' | + | |
| - | } | + | |
| - | | + | |
| - | $text = $_GET[' | + | |
| - | } | + | |
| - | print "you typed: " | + | |
| - | print "was check box 2 selected? | + | |
| - | " | + | |
