I was wondering if there's a way I can use the jQuery load with php code? Basically I'm trying to create a inbox and this is for where you can read your PMs, and I want them to load inside the div #main-news.
I tried this:
$('#main-news').load('inc/readpm.php?id=<?php echo $pmid; ?>');
But it doesn't work and since php is serversided and jQuery is clientsided I guess there is no easy way of doing this?