Jump to content

[SOLVED] Whats wrong with this simple url


mjahkoh

Recommended Posts

After almost 2 hours the following code produces the error below. I simply cannot figure out

 

Begin Code

 

<?php

if ( $numPages > 1 )  {

<a href="../untitled-2.php" title="targetis" target="_self">hghg</a>;

}

?>

End Code

 

Parse error: syntax error, unexpected '<' in C:\xampp\htdocs\phptrysite\tags\search2.php on line 5

Link to comment
https://forums.phpfreaks.com/topic/74855-solved-whats-wrong-with-this-simple-url/
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.