This is probably a simple question but I am stumped and just don\'t know where to start.
I have a PHP script (image_feed.php) that returns a URL to an image. Every t
Consider, if you have to fetch the URL again from the server, for a new image URL, you can do this way:
$.ajax({ url: 'getnewimageurl.php', success: function(data) { $('img').attr('src', data); } });
The server should return only a new image name in it. For eg., the PHP code should be this way:
PHP