Jump to content

[SOLVED] I need help changing one column to 3 columns on my site index page


Recommended Posts

Hi, on my classifieds site, in the right hand column is a list of all U.S. states and many cities for each state. You have to scroll way too far and I would like to change this to 2 or 3 columns and possibly reduce the font. I can reduce the number of category columns in the middle to make more room on the right side and can do so from the admin but don't have a clue how to change the columns on the right side. Any help would be appreciated. I'm fair at html but I'm afraid to mess with any of these php pages. I'm not even entirely sure if this can be changed without crashing my site since I have a single user license for the site software and have no support from the seller. My site is http://hotdogclassifieds.com I haven't figured out all the ins and outs of the site, but if someone can help me with some minor mods, I'll be happy to give you lifetime free ads on the site. 7 days are free anyway but there are ad upgrades available that cost.

Here's the index.php file. Sorry there's no line breaks, which makes it hard to read.

 

 

<?php  /*--------------------------------------------------+ | SNETWORKS PHP CLASSIFIEDS                 | +===================================================+ | File: index.php                                   | | Main wrapper page                                 | | Licensed To: XXXXXXX XXXX				            | | Registered For : hotdogclassifieds.com			| +---------------------------------------------------+ | Copyright © 2007 XXXXXXXXXXXXX            |  +--------------------------[ Sat, July 21, 2007 ]---*/     require_once("config.inc.php");   ?>  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title><?php echo $page_title; ?></title> <base href="<?php echo $script_url; ?>/"> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $langx['charset']; ?>"> <meta name="keywords" content="<?php echo $meta_keywords; ?>"> <meta name="description" content="<?php echo $meta_description; ?>"> <link rel="stylesheet" type="text/css" href="style.css"> <link rel="stylesheet" type="text/css" href="pager.css"> <link rel="stylesheet" type="text/css" href="cal.css"> </head>  <body>    <?php include("header.inc.php"); ?>   <table width="100%" border="0" cellspacing="0" cellpadding="0"> 	<tr>   		<?php 		if ($xview == "main" || $show_sidebar_always) 		{ 		?>   		<td width="24%" id="sidebar_left" valign="top">  			<table width="90%" class="buttons" cellpadding="0" align="center">  			<tr> 			<td> 			<a href="index.php?cityid=<?php echo $xcityid; ?>"><?php echo $lang['HOME_LINK']; ?></a> 			</td> 			</tr>  			<tr> 			<td> 			<a href="<?php echo $postlink; ?>"><?php echo $lang['POST_LINK']; ?></a> 			</td> 			</tr>   			<?php if($enable_calendar) { ?> 			<tr> 			<td> 			<a href="<?php echo $posteventlink; ?>"><?php echo $lang['POST_EVENT_LINK']; ?></a> 			</td> 			</tr> 			<?php } ?>  			<?php if($enable_images) { ?> 			<tr> 			<td> 			<a href="<?php echo $postimagelink; ?>"><?php echo $lang['POST_IMG_LINK']; ?></a> 			</td> 			</tr> 			<?php } ?>   			<?php if($forum_dir) { ?> 			<tr> 			<td> 			<a href="<?php echo $forum_dir; ?>" target="_blank"><?php echo $lang['FORUM_LINK']; ?></a> 			</td> 			</tr> 			<?php } ?>  			</table> 			<br>    			<?php 			if($xview != "post" && $xview != "postimg") 			{ 			?>  			<table width="90%" class="sidebox" cellspacing="0" align="center"> 				<tr><th class="head"> 				<?php echo $lang['SEARCH']; ?> 				</tr></th> 				<tr><td> 				<?php include("search.inc.php"); ?> 				</td></tr> 				<tr><td> </td></tr> 			</table><br>  			<?php 			} 			?>    			<?php if($show_cats_in_sidebar && !($xview == "main" || $xpostmode)) { ?> 				<table width="90%" class="sidebox" cellspacing="0" align="center"> 				<tr><th class="head"><?php echo $lang['CATEGORIES']; ?></th></tr> 				<tr><td><?php include("cats.inc.php"); ?></td></tr> 				</table><br> 			<?php } ?>    			<?php 			if ($enable_calendar && !$xpostmode) 			{  			?>  				<table width="90%" cellspacing="0" class="sidebox" align="center"> 					<?php 					$sql = "SELECT COUNT(*) 							FROM $t_events a 								INNER JOIN $t_cities ct ON a.cityid = ct.cityid 							WHERE $visibility_condn 								$loc_condn"; 					list($eventcount) = @mysql_fetch_array(mysql_query($sql)); 					$eventcount = 0+$eventcount; 					?> 					<tr><th class="head"><?php echo $lang['EVENT_CALENDAR']; ?> (<?php echo $eventcount; ?>)</th></tr> 					 					<tr><td> 					<br> 					<?php 					if($sef_urls) $url = "{$vbasedir}$xcityid/events/{@Y}-{@M}-{@D}/"; 					else $url = "?view=events&date={@Y}-{@M}-{@D}&cityid=$xcityid&lang=$xlang"; 					echo calendar::display($url, $langx['firstweekday'], $langx['weekdays'], $langx['months'], $_GET['_xzcal_y'], $_GET['_xzcal_m'], $specialdates); 					?> 					<br> 					</td></tr>  					<tr><td align="center"> 					<?php 					$date = date("Y-m-d"); 					$sql = "SELECT COUNT(*) 							FROM $t_events a 								INNER JOIN $t_cities ct ON a.cityid = ct.cityid 							WHERE starton <= '$date' AND endon >= '$date' 								AND $visibility_condn 								$loc_condn";  					list($eventstoday) = @mysql_fetch_array(mysql_query($sql)); 					$eventstoday = 0+$eventstoday; 					?> 					<div align="center"> 					<?php 					if ($sef_urls) $events_url = "{$vbasedir}$xcityid/events/"; 					else $events_url = "?view=events&cityid=$xcityid&lang=$xlang"; 					?> 					<b> 					 					<a href="<?php echo $events_url; ?>"><?php echo $eventstoday; ?> <?php echo $lang['X_EVENTS_TODAY']; ?></a><br><br>  					<a href="<?php echo $posteventlink; ?>"><?php echo $lang['POST_EVENT_LINK']; ?></a>  					</b> 					</div> 					</td></tr>  				</table><br><br>  			<?php 			} 			?>  			<?php 			if ($enable_images && ($xview == "main" || $xsection == "imgs")) 			{ 				$sql = "SELECT COUNT(*) as imgcnt 						FROM $t_imgs a 							INNER JOIN $t_cities ct ON a.cityid = ct.cityid 						WHERE $visibility_condn AND ct.enabled = '1' 							$loc_condn_img"; 				list($imgcnt) = @mysql_fetch_array(mysql_query($sql));  			?>  				<table width="90%" cellspacing="0" class="sidebox" align="center"> 				<tr><th class="head"><?php echo $lang['IMAGES']; ?> (<?php echo $imgcnt; ?>)</th></tr>  				<tr><td>  				<div align="center"> 				<?php 				$rand = rand(0, $imgcnt-1); 				$sql = "SELECT a.*, UNIX_TIMESTAMP(a.createdon) AS createdon  						FROM $t_imgs a  							INNER JOIN $t_cities ct ON a.cityid = ct.cityid  						WHERE $visibility_condn 							$loc_condn_img  						LIMIT $rand, 1"; 				$img = @mysql_fetch_array(mysql_query($sql));  				if ($img) 				{ 				 					if($sef_urls) $imgurl = "{$vbasedir}$xcityid/images/"; 					else $imgurl = "?view=imgs&cityid=$xcityid&lang=$xlang";  					$imgsize = GetThumbnailSize("{$datadir[userimgs]}/{$img[imgfilename]}", $smallthumb_max_width, $smallthumb_max_height); 			 				?> 					<br> 					<a href="<?php echo $imgurl; ?>"> 					<img src="<?php echo "{$datadir[userimgs]}/{$img[imgfilename]}"; ?>" border="0" class="thumb" id="latestimg" width="<?php echo $imgsize[0]; ?>" height="<?php echo $imgsize[1]; ?>"></a><br> 					<br> 					<b><?php echo $img['imgtitle']; ?></b><br> 					<?php echo $lang['POSTED_BY']; ?> <b><?php echo $img['postername']; ?></b> 					<br>  				<?php 				} 				?>  				<br> 				<b><a href="?view=postimg&cityid=<?php echo $xcityid; ?>&lang=<?php echo $xlang; ?>"><?php echo $lang['POST_IMG_LINK']; ?></a></b>  				</div> 				</td></tr> 				</table>  			<?php 			} 			?> 			<br>   			<table width="90%" cellspacing="0" class="sidebox" align="center"><tr><td align="left"> 			<?php include("sidebar_left.inc.php"); ?> 			</td></tr></table> 			<br>   		</td>   		<?php 		}  		?>   		<td valign="top" id="contentcell">  		<?php include("path.inc.php"); ?>  		<table width="100%" cellspacing="0" cellpadding="0"><tr> 		<td id="content">  		<?php  		switch($xview) 		{ 			case "subcats"		: $page = "subcats.php";			break; 			case "ads"			:  			case "events"		: $page = "ads.php";				break; 			case "showad"		:  			case "showevent"	: $page = "showad.php";				break; 			case "post"			: $page = "post.php";				break; 			case "edit"			: $page = "edit.php";				break; 			case "imgs"			: $page = "imgs.php";				break; 			case "showimg"		: $page = "showimg.php";			break; 			case "postimg"		: $page = "postimg.php";			break; 			case "editimg"		: $page = "editimg.php";			break; 			case "activate"		: $page = "activate.php";			break; 			case "selectcity"	: $page = "selectcity.php";			break; 			case "mailad"		: $page = "mailad.php";				break; 			case "page"			: $page = "$_GET[pagename].php";	break; 			default				: $page = "main.php"; 		}  		include_once($page);  		?>  		</td> 		</tr></table>  		</td>   		<?php if($xview == "main") { ?>  			<td width="15%" valign="top" id="sidebar_right_cities">  			<?php  			if($location_sort)  			{ 				$sortregionsql = "ORDER BY countryname"; 				$sortcitysql = "ORDER BY cityname"; 			} 			else 			{ 				$sortregionsql = "ORDER BY c.pos"; 				$sortcitysql = "ORDER BY ct.pos"; 			}    			if ($show_region_adcount || $show_city_adcount) 			{ 				// First get ads per city and country 				$country_adcounts = array(); 				$city_adcounts = array(); 				$sql = "SELECT ct.cityid, c.countryid, COUNT(*) as adcnt 						FROM $t_ads a 							INNER JOIN $t_cities ct ON ct.cityid = a.cityid AND ($visibility_condn) 							INNER JOIN $t_countries c ON ct.countryid = c.countryid 						WHERE ct.enabled = '1' AND c.enabled = '1' 						GROUP BY ct.cityid";  				$res = mysql_query($sql) or die(mysql_error().$sql);  				while($row=mysql_fetch_array($res)) 				{ 					$country_adcounts[$row['countryid']] += $row['adcnt']; 					$city_adcounts[$row['cityid']] += $row['adcnt']; 				} 			}     			// Show city list 			$sql = "SELECT * FROM $t_countries c WHERE c.enabled = '1' $sortregionsql"; 			$resc = mysql_query($sql);  			while($country = mysql_fetch_array($resc)) 			{ 				if($sef_urls) $country_url = "{$vbasedir}-$country[countryid]_" . RemoveBadURLChars($country['countryname']) . "/"; 				else $country_url = "?cityid=-$country[countryid]&lang=$xlang";  			?>   				<div><a href="<?php echo $country_url; ?>" class="citylist_country"><?php echo $country['countryname']; ?> <?php if($show_region_adcount) echo "(".(0+$country_adcounts[$country['countryid']]).")"; ?></a></div>   				<?php 			 				$sql = "SELECT * FROM $t_cities ct WHERE ct.enabled = '1' AND ct.countryid = $country[countryid] $sortcitysql"; 				$resct = mysql_query($sql) or die(mysql_error());  				while($city=mysql_fetch_array($resct)) 				{ 					if($sef_urls) $city_url = "{$vbasedir}$city[cityid]_" . RemoveBadURLChars($city['cityname']) . "/"; 					else $city_url = "?cityid=$city[cityid]&lang=$xlang";  				?>  					<a href="<?php echo $city_url; ?>" class="citylist_city"><?php echo $city['cityname']; ?> <?php if($show_city_adcount) echo "(".(0+$city_adcounts[$city['cityid']]).")"; ?></a> <br> 						 				<?php  				}  				?>   				<?php  			}  			?>  			</td>  		<?php } elseif($show_right_sidebar) { ?>  			<td width="20%" valign="top" id="sidebar_right"> 			<?php include("sidebar_right.inc.php"); ?> 			</td>  		<?php } ?>   	</tr> </table>   <?php include("footer.inc.php"); ?>   </body> </html>

 

EDITED BY WILDTEEN88: Please use code tags (


) when including code within posts

OK, here's the style.css file:

 

body {
font-family: Verdana;
font-size: 11px;
margin: 0px;
padding: 0px;
}

td {
font-size: 11px;
}

a {
color: #003399;/*#006595;*/
text-decoration: none;
}

a:hover {
color: darkorange;
text-decoration: underline;
}

h1 {
font-size: 16pt;
margin: 0px;
}

h2 {
font-size: 14px;
font-weight: bold;
margin-top: 0px;
padding-top: 0px;
margin-bottom: 10px;
}

h3 {
font-size: 12px;
font-weight: bold;
margin-top: 0px;
padding-top: 0px;
margin-bottom: 10px;
}

th {
font-size: 12px;
text-align: left;
}

form {
margin: 0px;
}

input, textarea, select, optgroup, option {
font-family: Verdana, sans-serif;
font-size: 10px;
}

button {
font-family: Verdana, sans-serif;
font-size: 10px;
font-weight: bold;
text-transform: uppercase;
background-color: steelblue;
border: 1px outset #006595;
color: white;
}

pre {
font-family: "Courier New";
font-size: 12px;
text-align: left;
}

.err {
color: red;
font-weight: bold;
margin-bottom: 5px;
}

.imp {
color: #CC3300;
font-weight: bold;
margin-bottom: 5px;
}

.msg {
color: green;
margin-bottom: 5px;
}

.marker {
color: red;
font-weight: bold;
}

.hint {
font-size: 10px;
font-style: italic;
color: gray;
}

#header {
padding: 10px;
}

#logo {
font-size: 14px;
font-weight: bold;
}

#logo a {
color: black;
}

#today {
font-size: 10px;
}

#nav {
text-align: right;
}

#city {
font-weight: bold;
font-size: 14px;
display: block;
}

#sidebar_left {
padding-top: 10px;
background-color: #E4EBF8; /*#F0F4FB*/
border-right: 1px solid #B1C7DE;
border-top: 1px solid #B1C7DE;
border-bottom: 1px solid #B1C7DE;
}

.buttons td {
text-align: center;
background-color: steelblue;
}

.buttons a {
display: block;
font-weight: bold;
text-transform: uppercase;
color: white;
padding: 3px;
}

#sidebar_left .head {
font-size: 10px;
font-weight: bold;
text-transform: uppercase;
color: #003366;
}

#sidebar_left table.linkbox {
margin-bottom: 15px;
}

#sidebar_left table.linkbox a {
display: block;
text-align: center;
padding: 3px;
border-bottom: 1px solid #DDDDDD;
}

table.sidebox {
margin-bottom: 10px;
}

table.sidebox td {
text-align: left;
}

#contentcell {
border-top: 1px solid #EAEAEA;
border-bottom: 1px solid #EAEAEA;
}

#content {
padding: 10px;
}

#path {
background-color: #F5F5F5;
font-size: 16px;
margin-bottom: 5px;
}

#path td {
padding: 5px 5px 5px 10px;
}

#path a {
color: #777777;
text-decoration: none;
}

#path a:hover {
color: black;
text-decoration: underline;
}

table.searchbox {
background-color: #F5F5F5;
border: 1px solid #DDDDDD;
margin-bottom: 20px;
}

table.searchbox td {
padding: 10px;
}

.eventnav {
border-bottom: 1px solid #DDDDDD;
margin-bottom: 10px;
}

table.dir {
}

table.dir_cat {

}

table.dir_cat th {
font-size: 14px;
font-weight: bold;
text-align: left;
text-transform: none;
margin: 0px;
padding-bottom: 5px;
}

table.dir_cat td {

}

table.dir_cat .count {
color: #999999;
font-size: 10px;
}

table.dir_cat th .count {
color: gray;
font-size: 10px;
}

table.adlisting {
}

table.adlisting tr.ad1 {
/*background-color: #FAFAFA;*/
}

table.adlisting tr.ad2 {
}

table.adlisting td {
padding: 4px;
}

table.adlisting td.head, table.adlisting tr.head td {
font-weight: bold;
background-color: #EAEAEA;
border-bottom: 1px solid #DDDDDD;
border-right: 1px solid #DDDDDD;
border-bottom: 0px;
}

table.adlisting td.datehead {
background-color: #F5F5F5;
/*border-bottom: 1px solid #CCCCCC;*/
font-weight: bold;
border-bottom: 0px;
}

table.adlisting td.icon {
}

table.adlisting td.icon img {
}

table.adlisting .adtitle {
font-weight: bold;
}

table.adlisting .date {
font-style: italic;
}

table.adlisting .ad1 {
}

table.adlisting .ad2 {
/*background-color: #FAFAFA;*/
}

.adheader {
margin-bottom: 10px;
padding-bottom: 5px;
border-bottom: 1px solid #E0E0E0;
}

.adheader .icon {
/*vertical-align: top;*/
}

.adheader .adtitle {
font-size: 14px;
font-weight: bold;
margin-top: 0px;
padding-top: 0px;
margin-bottom: 0px;
padding-bottom: 0px;
}

.adheader .adarea {
font-size: 11px;
font-weight: normal;
}

.ad {
margin-bottom: 10px;
}

.ad .link_marker {
color: darkorange;
font-weight: bold;
}

.disclosures {
padding: 5px;
}

.disclosure_yes {
color: green;
}

.disclosure_no {
color: red;
}

.disclosures b {
}

.adpics {
margin-bottom: 10px;
/*border-bottom: 1px solid #DDDDDD;*/
}

.adpics img {
border: 1px solid black;
/*padding: 10px;
background-color: #FAFAFA;*/
}

.imglisting {
}

.imgitem {
margin-bottom: 30px;
}

.imgitem .head {
font-size: 12px;
font-weight: bold;
}

.imgitem img.img {
margin-top: 5px;
border: 1px solid black;
}

.imgitem .caption {
}

.imgitem .poster {
font-weight: bold;
}

.imgitem .time {
font-weight: bold;
}

.imgitem .desc {
margin-top: 5px;
}

.linkbox2 a {
display: block;
font-weight: bold;
text-transform: uppercase;
padding: 5px;
background-color: darkorange;
color: white;
text-align: center;
}

.linkbox2 a:hover {
color: white;
text-align: center;
}

.imagecredits {
}

.imagecredits .head {
font-weight: bold;
text-transform: uppercase;
}

.imagecredits a {
}

.imagecredits .count {
color: #BBBBBB;
font-size: 10px;
}

.comments {
}

.comments .head {
font-size: 12px;
font-weight: bold;
}

.commentitem {
margin-bottom: 10px;
}

.commentitem .poster {
font-weight: bold;
display: block;
}

.commentitem .time {
color: gray;
display: block;
}

.commentitem .comments {
display: block;
}

#sidebar_right_cities {
background-color: #F5F5F5;
border-left: 1px solid #E0E0E0;
border-top: 1px solid #E0E0E0;
border-bottom: 1px solid #E0E0E0;
padding: 0px 5px 5px 5px;
}

#sidebar_right {
border-left: 1px solid #E0E0E0;
border-top: 1px solid #E0E0E0;
border-bottom: 1px solid #E0E0E0;
padding: 5px 5px 5px 5px;
}

#sidebar_right a {
}

.citylist_country {
display: block;
color: black;
font-weight: bold;
text-transform: uppercase;
font-size: 10px;
margin-top: 2px;
}

.citylist_city {
color: #777777;
font-size: 10px;
}

#footer {
color: #A0A0A0;
}

#footer td {
font-size: 9px;
padding-left: 15px;
padding-top: 10px;
}

table.postad {
}

img.thumb {
border: 1px solid black;
}

.postpath {
padding: 5px;
border: 1px solid #DBC06F;
background-color: #F7F0DD;
font-size: 12px;
color: brown;
margin-bottom: 10px;
}

.postpath b {
color: black;
}

.postpath a {
font-weight: bold;
color: #003399;
font-size: 11px;
}

#search_top {
margin-bottom: 20px;
padding: 10px;
background-color: #FAFAFA;
border: 1px solid #EAEAEA;
}

.invoice {
background-color: #F0F0F0;
border-right: 1px solid #EAEAEA;
border-top: 1px solid #EAEAEA;
}

.invoice td {
background-color: white;
padding: 5px;
border-left: 1px solid #EAEAEA;
border-bottom: 1px solid #EAEAEA;
}

.invoice .empty {
background-color: white;
border: 1px solid white;
}

.invoice .firstcell {
font-weight: bold;
}

.invoice .maincell {
/*background-color: #FAFAFA;*/
text-align: right;
}

.invoice .totalrow td {
background-color: #FAFAFA;
}

.invoice .totalrow .totalcell {
background-color: #F3F3F3;
font-size: 13px;
font-weight: bold;
text-align: right;
}

.featuredad_first, .featuredad_first td {
background-color: #FFEEC6;
border-top: 1px solid #FFDF95;
border-bottom: 1px solid #FFDF95;
padding: 5px 5px 2px 5px;
margin-bottom: 10px;
}

.featuredad, .featuredad td {
background-color: #FFEEC6;
border-bottom: 1px solid #FFDF95;
padding: 5px 5px 2px 5px;
margin-bottom: 10px;
}

.featuredad a, .featuredad_first a {
font-weight: bold;
}

.post_note {
color: green;
}

.latestads {
border-top: 1px solid #F0F0F0;
padding: 5px;
}

.latestads .head {
font-weight: bold;
text-transform: uppercase;
}

.adcat {
font-size: 9px;
color: #444444;
/*text-decoration: underline;*/
}

table.latestads_table td {
padding: 1px;
}

table.latestads_table a.featured {
font-weight: bold;;
}

.catlist .cat {
padding: 1px;
display: block;
}

.catlist .cat a {
font-weight: bold;
}

.catlist .subcat {
padding: 1px;
display: block;
}

.catlist .count {
color: gray;
}

.adpreview {
display: block;
font-size: 10px;
color: gray;
}

 

EDITED BY WILDTEEN88: Please use code tags (


) when including code within posts

.citylist_country {
   display: block;
   color: black;
   font-weight: bold;
   text-transform: uppercase;
   font-size: 3px;
   margin-top: 2px;
}

.citylist_city {
   color: #777777;
   font-size: 3px;
}

 

will make the text 3pixels sort of small

Sorry I had to disappear last night. This site went completely dead. Thanks for the font help. You're right, it was too small to read but I experimented a couple pixels at a time until I got it about right. What I really need is to change the state and city column to 3 columns instead of one. Thanks again.

what you could do is lookup a tree class menu and somehow get someone to help you with intergrating it into your script.

 

http://www.phpfreaks.com/tutorials/58/0.php

 

 

hopefully someone in here will take alook at your script and the link i posted and help ya out with making it an exandable menu so when you click on the state it will expand or collapase the cities.

 

 

An expandable menu would be great but that tutorial is way beyond php newbies like myself. There are several sites out there similar to mine that easily had 3 columns in the states/cities list and the one who wrote my script should have done it, but they don't want any feedback or suggestions or questions. It's just a turnkey site script and you'd think that when they saw what mine looked like after manually typing in all those cities, that they need to modify the script slightly. I'm still thinking that there might be a way of just changing some html somewhere and change it to 3 columns. I'll keep experimenting. Thanks for our help.

what ya could do is use javascript like put this in your header in index.php

 

 

<script type="text/javascript">
<!--
function switchMenu(obj) {
var el = document.getElementById(obj);
if ( el.style.display != "none" ) {
	el.style.display = 'none';
}
else {
	el.style.display = '';
}
}
//-->
</script>   

 

also  where it says

 

else $country_url = "?cityid=-$country[countryid]&lang=$xlang";  

 

you need to put somehow onclick="switchMenu('myvar'); in that code where it urls the country this will minimize it when clicked which should minimize the cities.

Here's the index.php file. Sorry there's no line breaks, which makes it hard to read.

 

My advice - make it easy to read and someone might try to help.

 

That's just how the file looks when I view it or copy and paste it. Since I'm not an authority on php whatsoever, it would be impossible for me to know where to put line breaks to clean it up for you. Besides, there are already people who are trying to help, so I just won't count on YOUR help, but thanks for the comment.

and mildred if your wanting to learn PHP may i suggest Spring into PHP5 you can get it on amazon it has helped me learn alot  ;D

 

Jumping into the world of php wasn't my plan. Got enough going on already. Would be a major chore learning php just to try to change one column to 3 when even the people here with php knowledge are stumped. I would be looking at months and months of study just to figure out how to do this one thing. Php does a lot of great things but I wish the site was just html. I could easily figure it out then.

Here's the index.php file. Sorry there's no line breaks, which makes it hard to read.

 

My advice - make it easy to read and someone might try to help.

 

It actually was a lot easier to read before WILDTEEN88 altered it. Now it's just one long continuous single line. Worse than ever.

Here's the index.php file. Sorry there's no line breaks, which makes it hard to read.

 

My advice - make it easy to read and someone might try to help.

 

It actually was a lot easier to read before WILDTEEN88 altered it. Now it's just one long continuous single line. Worse than ever.

Well it helps if has line breaks in it. That way it wont display as one continuous line. I am just enforcing the rules.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.