Return to Snippet

Revision: 52864
at November 3, 2011 15:18 by juanprimal


Initial Code
<?php 

echo"-";

defined("_JEXEC") or die("Restricted access"); 

$db = &JFactory::getDBO(); 
$query='select * from jos_jumi'; 

$db->setQuery($query); 

 $tuplas = $db->loadResultArray();  
    
 //print_r($tuplas);

 foreach($tuplas as $tupla) { 
    echo "-".$tupla[0]; 
}  


?>

Initial URL

                                

Initial Description

                                

Initial Title
sacar datos de mysql  joomla con jumi

Initial Tags

                                

Initial Language
PHP