Jump to content

Aurorius

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

About Aurorius

  • Birthday 01/01/1983

Profile Information

  • Gender
    Male
  • Location
    Malaysia

Aurorius's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. or you can change [b]read[/b] to [b]`read`[/b]
  2. ^ 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]
  3. // 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]
  4. How about this ? [code]echo "Text wont' always be nice";[/code]
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.