Please help to parse string

Links for php scripts

Moderators: egami, macek, gesf

Post Reply
User avatar
Nullsig
php-forum Fan User
php-forum Fan User
Posts: 979
Joined: Thu Feb 17, 2011 6:52 am
Location: Racine, WI

Thu Sep 08, 2011 7:20 am

what?

VARUN006
New php-forum User
New php-forum User
Posts: 21
Joined: Tue Jul 12, 2011 3:51 am

Fri Sep 09, 2011 2:58 am

<html>
<head>
<title>
hii
</title>
</head>
<body>
<form action="post2.php" method="post">
<p>First Name:<input type="text"

name="first_name" size="10"></p>
<p>Last Name:<input type="text"

name="name2" size="10"></p>
<p>Email:<input type="text" name="email"

size="15">
<p>Posting:<textarea name="posting"

rows="15" cols="20"></textarea></p>
<input type="submit" name="submit"

value="Send my feedback" />
</body>
</html>



-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
<?php
$first_name=$_POST['first_name'];
$last_name=$_POST['name2'];
$email=$_POST['email'];
$posting=$_POST['posting'];
$name=$first_name .". $last_name;
print '$posting';
?>


pls help...

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest