Jump to content

Need help ($_POST)


robert_gsfame

Recommended Posts

assume that i have two column firstname = 'jane' and lastname='Lambert'

then i want to get the value using $_POST

 

$firstname = $_POST['firstname'];

$lastname = $_POST['lastname'];

echo $firstname.' '.$lastname =====> result Jane Lambert

 

what if firstname = 'Jane' and lastname='Lambert Sugar'

echo $firstname.' '.$lastname =====> result Jane Lambert ????

 

it will only take Jane and Lambert, how to make the third words included into lastname so that it will result Jane Lambert Sugar

 

 

Help please :confused:

 

Link to comment
https://forums.phpfreaks.com/topic/167989-need-help-_post/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.