Web Hosting Talk







View Full Version : PHP BG Help


oates151
05-18-2006, 09:54 PM
How do you add a background in PHP, such as a cutenews script?

Elliot A
05-19-2006, 01:09 AM
Can you elaborate a bit more? Maybe your thinking of HTML backgrounds?

CodyRo
05-19-2006, 01:22 AM
Maybe looking for something like this (http://www.w3schools.com/html/html_backgrounds.asp)?

oates151
05-19-2006, 07:43 AM
no no no, I have a PHP script and I need to add a background into a PHP Script, if I put HTML in the PHP script it gives me errors so I need a PHP code, like an HTML code but NOT and HTML code ;)

Thanks

orbitz
05-19-2006, 01:59 PM
paste the line where you want to add bg, and someone will help you will.

if you want to insert a whole new line to the script, then do something like this:

this are some examples:

echo '<body bgcolor="yellow">';



echo '<table>';
echo '<tr>';
echo '<td bgcolor="red">';

......