Aurorius
-
Posts
4 -
Joined
-
Last visited
Never
Posts posted by Aurorius
-
-
^ IIANM, php automatically converts constants to string if no declaration is found.. but you should put the single quote to identify it as a string.
Use this code just to be safe
[code]
<form name="login" method="post" action="<?=$_SERVER['PHP_SELF']?>">
[/code]
and use this code to retrieve your data coz you set your form method property to POST
[code]
<?php
$username = $_POST['login_username'];
$password = $_POST['login_password']
?>
[/code]
-
// assume your textbox name is 'textbox' and you process the form using POST method
[code]
<?php
if (trim($_POST['textbox']) == '') {
echo 'Textbox is empty.';
}
else {
echo 'The textbox has been filled.';
}
?>
[/code]
-
How about this ?
[code]echo "Text wont' always be nice";[/code]
[solved] you have messages!
in PHP Coding Help
Posted