Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $res=$db->getAdapter()->fetchRow($sql);
- if(!isset($res[$pageTitle]))
- {
- $sql="Alter table `Product` add `".trim($pageTitle)."` varchar(50) not null;";
- $db->getAdapter()->query($sql);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement