i just wanted to pass data from html to another php file through php post but getting error as:
Parse error: syntax error, unexpected '<' in D:\Hosting\10378233\html\shanfolder\fulltest\index.php on line 4
while the html code is :
<form action="index.php" method="post">
<div><label for="cardlink">Card Image Link:<input type="text" name="cardlink" id="cardlink" style="width: 602px; height: 25px" /></label></div><div><input type="submit" value="GO"/>
</div>
</form>
and php file index.php code is this :
<?php
$cardlink = $_POST['cardlink'];
<p>Card Image Link :</p> <input type="text" value="<?php echo htmlspecialchars($cardlink, ENT_QUOTES, 'UTF-8'); ?>" />
?>