Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

parse error. quick question

Status
Not open for further replies.

IDTstudios1

Programmer
Aug 8, 2004
72
US
It's been a while since i've worked with html or javascript like this so I know i'm doing something wrong. The following code keeps giving me a parse error. could someone help me out here. thanks

echo '<a href="javascript://" onclick="getData(" . $file . '","content_area")">'. $file .'</a><br>';
 
is it a php parse error or javascript or html? if it is not php - as i don't see any error, i recommend posting it in a different forum, so people can help you
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top