How can I add a field to a table via PHP? I can't find any reference for this and I am wondering if it's even possible.
thanks
mx
You just have to run an ALTER TABLE query with mysql_query. Something along the lines of
ALTER TABLE foo ADD COLUMN newcol int unsigned not null default '0';
oh yes. That makes sense.
Thanks much!