Jump to content

php to insert href


fraser5002

Recommended Posts

Hi can anyone tell me what is wrong with this php statement .

 

Im trying to use php to put a text link on the page

The link will call a javascript function when it is pressed passing the variable $i to it ( which is an integer)

 

//
//
<a href="java_func(<? echo "$i" ?>)" > <? echo "$businessname" ?></a>
//
//

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/198108-php-to-insert-href/
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.