I'am developing a zoom tool in my shopping cart and I am stuck on how to call a PHP variable in a jQuery function.
Here's my code :
jQuery(document).ready(function($){
$('#image1').addimagezoom({ // single image zoom
    zoomrange: [3, 10],
    magnifiersize: [800,300], 
    magnifierpos: 'right',
    cursorshade: true,
    largeimage: "php variable" //we add the directory of the image.
});
});
I need to put
$src ="images/products/".mysql_result($execute_select_product_query,0,'image1')."
in my function where I put PHP variable.