' . print_r($_SESSION['name1']) . '

'; // echo '

' . print_r($_SESSION['name2']) . '

'; // echo '

' . print_r($_SESSION['post_name1']) . '

'; // echo '

' . print_r($_SESSION['post_name2']) . '

'; echo '

' . print_r(post_name1) . '

'; echo '

' . print_r(post_name2) . '

'; ?>
Account name
Email
Real name

NOTE TO WEBMASTER (delete after reading): the form fields (at the right) show information from the database corresponding to the currently logged user. Use only the necessary fields – all other elements can be deleted.

Use the Property “Visible” to hide the fields.

For each field element, its Property " Attribute Name" represents the name in PHP $_POST array. You can modify this Property. For example, the following PHP code gets the Email value and protects it from basic attacks (writing non-cleaned values to the database leads to very bad consequences, even if website is non-commercial and unknown):

$mail = htmlspecialchars($_POST['user_email'], ENT_QUOTES, 'UTF-8');

// if writing to MySQLi DB (prepared statements are preferred):

// $mailMySQL = $mysqli->real_escape_string($mail);

// writing to SQLite DB (prepared statements are preferred):

// $mailSQLite = $sqliteConn->escapeString($mail);

“Lock” the container (group of elements) to select inner elements easier.

ID (number in database)
Gender
Date of birth
Street address - line 1
Street address - line 2
Phone number
ZIP (postal code)
City/Town
Country
Info 1
Info 1 multiline (use when necessary instead of the single-line field above - delete one of the two)
Info 2
Info 2 multiline (use when necessary instead of the single-line field above - delete one of the two)
Abonné?
Access Rights
Last logged (UNIX timestamp)
Additional status (usually not used)