Jump to content

External Page


searls03

Recommended Posts

I am not sure whether this would be an AJAX question or a PHP question...it involves both.....this is the thread that seems more active, so.....I am using AJAX to pull the content from a page after I submit a form:

 

$.ajax({

type:"POST",

url:"news_load1.php",

data:"getNews=true",

success: function®{

$("#newsContent").html®

var textbox = document.getElementById('code');

 

textbox.value ="";

},

 

$total is created via a database call on the news_load1.php page, which is then displayed in the main page, I need to know how I can transfer that $total to the main page so that I can then call it from that page....and use it, is this possible? thanks

Link to comment
https://forums.phpfreaks.com/topic/270610-external-page/
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.