Dear Sir,

Please help me to locate errors in following coedes

<html>
<head>
<title>PHP</title>
</head>
<body>
 <?php
echo "Your name is:"." $_GET['text1'] </br>;
echo "Your city is:"."  $_GET['text2'];</br>
echo Your mobile is:"." $_GET['text3'];
?>
</body>
</html> 

Recommended Answers

All 2 Replies

echo "Your name is:" . $_GET['text1'] . "<br/>";
echo "Your city is:" .  $_GET['text2'] . "<br/>";
echo "Your mobile is:" . $_GET['text3'];

thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.