Hi all, when i am coding php, i want to create a popup page, so i use javascript, but the browser cannot display the php code inside javascript.
The print $front_link[ProdID] cannot come out, as this is a shopping cart site, its not wiseable to create one page for one product.
<a href=“javascript:windowopen(’<?php print $front_link[ProdID] ?>’)”>Front</a>
I hope your can help me solve this problems or advise me how to make the php correctly display in javascripts.
Thxs for reading
Life’s short, let’s make it sweet.
Cheers!