lainieeee Posted June 10, 2008 Share Posted June 10, 2008 <?php echo '<style type="text/css"> body {backgroud-color: <?phpecho ''.$_POST['bgcolor'].'';?>; background-image:url <?phpecho ''.$_POST['bgimage'].'';?>; background-position:<? echo ''.$_POST['bgposition'].'';?>; background-attachment: <? echo ''.$_POST['bgmovement'].'';?>; background-repeat:<? echo ''.$_POST['bgtiled'].'';?>;} Table, Td { background-color:transparent; border-style:none; } table table td { width:100%; } table table table table td { width:auto; } can someone tell me whats wrong with this? this is only part of it. Link to comment Share on other sites More sharing options...
lainieeee Posted June 10, 2008 Author Share Posted June 10, 2008 <_< Link to comment Share on other sites More sharing options...
♥FWR Media Posted June 10, 2008 Share Posted June 10, 2008 <?php echo '<style type="text/css"> body {backgroud-color: <?phpecho ''.$_POST['bgcolor'].'';?>;background-image:url <?phpecho ''.$_POST['bgimage'].'';?>; background-position:<? echo ''.$_POST['bgposition'].'';?>; background-attachment: <? echo ''.$_POST['bgmovement'].'';?>; background-repeat:<? echo ''.$_POST['bgtiled'].'';?>;} Table, Td { background-color:transparent; border-style:none; } table table td { width:100%; } table table table table td { width:auto; } can someone tell me whats wrong with this? this is only part of it. What is wrong with it is that it is garbage, someone messing with php who doesn't understand it. Below may give you some ideas .. <?php header("Content-type: text/css"); ?> body { backgroud-color: <?php echo $_POST['bgcolor']; ?>; background-image: url(<?php echo $_POST['bgimage']; ?>); background-position:<? echo $_POST['bgposition']; ?>; background-attachment: <? echo $_POST['bgmovement']; ?>; background-repeat:<? echo $_POST['bgtiled']; ?>; } Table, Td { background-color:transparent; border-style:none; } table table td { width:100%; } table table table table td { width:auto; } Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.