Jump to content

somiadiscon

Members
  • Posts

    6
  • Joined

  • Last visited

somiadiscon's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. could you pls tell me how to do that
  2. hi,could you pls tell me any one know how to put a link inside textareathanx
  3. somiadiscon

    php issue

    thanx man i will try and see ok thanx man i will try and see ok
  4. somiadiscon

    php issue

    I am using 5.1.4 php with a 1.3.x apache server i am not using mySQL normaly below php file show end-user to age is older or younger but this time nothing in my browser so why is that any one can help me to figure this out thanx <?php if ($_POST) { $age = $_POST['age']; if ($age < "14") { echo "You are younger than 14"; } else { echo "You are older than 14"; } } else { echo "<h4>Age Checker Software!</h4>"; echo "<form action=age.php method=post>Your Age:<input type=text name=age><br /><br />"; echo "<input type=submit value=Go!></form>"; } ?>
  5. somiadiscon

    function error

    could you please tell me there is an error says line five error i want to make a function that will display some text but i couldn't Parse error: parse error, unexpected T_STRING in c:\PHP\uploadtemp\Copy.php on line 12<?php function about() { // this declares a function and gives it a name of about, the () is used for arguments but we will not b needing those for this. echo("Hello, My name is John Doe and I am X years old. My Life's goal is to be a goalkeeper... bye now!"); // echo("");means that PHP should display this text. in this case some random message } this is a closing bracket teling PHP to end the function. about(); // to display all of that text now all we need to do is put the name of the function: about(); Don't forget the semi-colon afterabout();otherwise you'll get a bunch of errors ?>
  6. hi,could you please tell me any one know about to convert to url address to ASCII code when index is loadthanxsomiadiscon
×
×
  • Create New...