-- url of the page with the problem -- :
www.apli.movil-plus.com
-- HikaShop version -- : 2.0.0
-- Joomla version -- : 3.1.5
Good afternoon ,
Request help to display a custom field ( table "item" ) in the list of orders ( listing.php ) .
My PHP skills are scarce, manuals have searched the net and the most I 've gotten is to show the contents of the entire table in the list of orders, however, my only desire is to show the contents of the custom field based on logged user .
By using the following code:
<?php
$conexion=mysql_connect("localhost","XXXXX","")
or die("Problemas en la conexion");
mysql_select_db("base1",$conexion)
or die("Problemas en la selección de la base de datos");
$registros=mysql_query("SELECT imei2 FROM jos_hikashop_order_product",$conexion) or
die("Problemas en el select:".mysql_error());
while ($reg=mysql_fetch_array($registros))
{
echo $reg."<br>";
}
mysql_close($conexion)."<br>";
?>
The result in each row of the column shows ALL records shown in the screenshot , I just like to put the associated order number shown .
I hope someone help me with this problem took a long time and can not find solution.
Greetings and thanks in advance.