Jump to content

Getting Error: Parse Error: Syntax Error, Unexpected $End In C:\wamp\www\


simbu

Recommended Posts

Hello,

 

I am getting this error.

 

Here is my down.php codings

 

Parse error: syntax error, unexpected $end in C:\wamp\www\ ...down.php on line 18

 

<?php

 

mysql_connect("localhost","root","");

mysql_select_db("sample");

 

 

if(isset($_GET['id']))

{

$id = $_GET['id'];

$query = mysql_query("SELECT file FROM testing WHERE id='$id' ");

$row = mysql_fetch_array($query);

 

?><a href='resumes/'<?= $row['file'] ?>>Download</a>

 

<?

}

?>

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.