<?php
$con = Mage::getSingleton('core/resource')->getConnection('core_write');
$res=$con->query("select * from customer_entity where email = '".$rows['email']."'");
$rowss=$res->fetch();
echo $rowss['group_id'];
?>
$con = Mage::getSingleton('core/resource')->getConnection('core_write');
$res=$con->query("select * from customer_entity where email = '".$rows['email']."'");
$rowss=$res->fetch();
echo $rowss['group_id'];
?>
No comments:
Post a Comment