Page 1 of 1

Changing a viariable to a constant - how? (Doh) - PHPBBX issue

Posted: Fri Jun 02, 2006 11:35 am
by scotch33
Hi there,

I have an issue in PHPBBX that I have been told can be resolverd by changing the below variable to a constant.  (the thread is here - http://forum.cmsmadesimple.org/index.ph ... 645.0.html )

$group_id = $db->PO_Insert_ID($tablepref . "groups", "group_id");

Unfortunately this is beyond my powers of PHP (having just got to the point of using it in forms and not a lot else!).

Can anyone help me, by either pointing me at a total idiots guide to php or telling me how to do this (and feel free to use your most patronising tones)

Thanks!

John