Site Tools


webseite:php:basic

PHP Basics

Code Function
$var=wert add a variable
if ($result != 0){} else {} if
while ($row = mysql_fetch_object($result)){} while
session_start (); start a session
$_SESSION[“anything”] = $variable; add a variable to anything in session
echo '<td colspan=“”>'; how your “''” should be
echo '<br />'.$var.'<br />'; dot-connector
$status = $_POST[“status”]; write post to variable



webseite/php/basic.txt · Last modified: 2018/12/20 17:45 by lunetikk