in reply to need help with system command and single quote

Change it to:
system('"C:\Program Files\Internet Explorer\IEXPLORE.EXE" http://abc.c +om/bbs?=x&b=x&mid='.$i);
and it chould work.