Posts by Victor Danilo • 66 points
3 posts
-
2
votes1
answer976
viewsA: AJAX request for PHP (Codeigniter) does not return values
Friend a single detail you sinned was that there in the controller instead of you gives a return json_encode($resultado); you would have to make a echo json_encode($resultado); ajax will take what…
-
1
votes1
answer575
viewsA: $_SESSION does not persist on other pages in the application
So buddy, before you can create or take the value of a $_SESSION super variable, and need to first start the session session_start(), a single time on every page you need to create or take a…
codeigniteranswered Victor Danilo 66 -
2
votes1
answer1186
viewsA: Query the XML URL
So Amigo, in this first line we already have an error, you are calling the variable $xml that does not yet exist. <?php $simples = new SimpleXMLElement($xml); $xml =…