Jump to content

[SOLVED] dumb question


dadamssg

Recommended Posts

i want to create a variable that sticks two other variables side by side.

for example

 

$email = $_POST['email'];

 

$fname = $_POST['fname'];

 

$combine = $email + $fname

 

echo $combine;

 

so if the values of email is [email protected] and the value of fname is bill, when i echo $combine ill get [email protected]

 

right now i just get a '0'

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/151253-solved-dumb-question/
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.