A kinda function like this should work in order to strip the
table_prefix;

------------------------------
$tableName = "cc_pippo";
$prefix = 'cc_';
$myTab = substr_replace($tableName, '', 0, strlen($prefix));
echo $myTab;
------------------------------

Dan


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to