d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Php Submit Data To Multiple Locations
Prev12
Add Reply New Topic New Poll
Member
Posts: 29,723
Joined: Jun 11 2007
Gold: 279.52
Aug 29 2013 05:55pm
Quote (grievance @ Aug 29 2013 01:38pm)
No :( Honestly, I know very little about it. I "think" is fits in the same category as PHP / ASP.NET, but I'm not even sure about that.
The only technologies I understand well enough to be comfortable with them are HTML, CSS, PHP, SQL, JavaScript, Batch, and C++ (Still a beginner with C++)

Is ajax a language you would typically recommend to somebody attempting this kind of task? If the similar to anything I know already I could probably learn it fairly quick.
Learning new concepts and syntax has typically been very easy for me, it's memorizing keywords/libraries that is challenging.


np its not too hard to do. its honeslty your best bet.

Code
function showComments(){
 var urlid = 1;
  $.get("template.php", {urlid: urlid },
   
        function(data){
         $("#load_box").html(data);
    });
   };


heres a quick way to do it with jquery

Code
$.get("template.php",


that gets the php file


Code
{urlid: urlid },


you can pass variables into the url such as an id or something

Code
function(data){
         $("#load_box").html(data);
    });


this is after the php file has loaded the (data) is the data being loaded
and obviously the second line puts the data into the div or wherever you want to put it in.

This post was edited by AkuuZ on Aug 29 2013 05:56pm
Go Back To Programming & Development Topic List
Prev12
Add Reply New Topic New Poll