AntD Posted February 28, 2003 Posted February 28, 2003 Hey all. I need some desperate help. I've been trying (for the past 3 days) to remove the box around the Who's Online script - or any box for that matter - even Manufacturers box. I basically need to print the content of the box to the screen, but without the box ofcourse. So it can run across the page. Please help - I have PHP book + MySQL book & have been studying it vigoursly (so I'm not trying to be lazy here or anything) - i've tried various options & methods, delete this, add that, but to no prevail. Pleeeassseee :oops:
mattice Posted March 1, 2003 Posted March 1, 2003 it is simply a matter of not using the box class to display it but to wrap it in plain html. At the time the new infoBox($bla) gets called $blah ussually holds a string with what gets displayed in the box. First one is the header, second one the box. HTH Mattice "Politics is the art of preventing people from taking part in affairs which properly concern them"
AntD Posted March 1, 2003 Author Posted March 1, 2003 Hmmm... thanx for the help, but im still not too clear on how it is done - sorry. Were do u learn about this though? Is there a website on the net, a book? I only have Sams Teach Yourself PHP in 24 hours & i know it only covers the basics. Thanx again!
mattice Posted March 1, 2003 Posted March 1, 2003 You learn by doing it mainly. Reading a lot on php.net but most important: Read the source. Try to understand what goes on. All the boxes are created by a class. That class does nothing but taking a few options and parsing "whatever" neatly into a html table cell. So you can remove the first <tr><td> and the last </tr></td> and skip the infoBox call. Simply echo out the $string it uses and see what that gives you. HTH Mattice "Politics is the art of preventing people from taking part in affairs which properly concern them"
Recommended Posts
Archived
This topic is now archived and is closed to further replies.