Previous Thread
Next Thread
Print Thread
Rate Thread
#280132 09/28/2004 6:29 PM
Joined: Nov 2000
Posts: 1,271
Kahuna
Kahuna
Joined: Nov 2000
Posts: 1,271
i uploaded a buncha php files at work today, and now that i check them at home, i notice their formatting is all screwed up. instead of appearing in the nice, clean way, its a big jumbled mess.

this:
[]
info $Board_q = addslashes($Board); $query = " SELECT Bo_Title,Bo_Last,Bo_Read_Perm,Bo_Write_Perm,Bo_Moderated,Bo_Cat,Bo_CatName,Bo_ThreadAge,Bo_Reply_Perm,Bo_HTML,Bo_Markup,Bo_SpecialHeader,Bo_StyleSheet,Bo_Number,Bo_Threads FROM {$config['tbprefix']}Boards WHERE Bo_Keyword = '$Board_q' AND Bo_Active = '1' $groupquery "; $sth = $dbh -> do_query($query,__LINE__,__FILE__); $rows = $dbh -> fetch_array($sth); list($Title,$Last,$CanRead,$CanWrite,$Moderated,$C,$CatName,$ThreadAge,$CanReply,$HTML,$Markup,$fheader,$fstyle,$bonumber,$totaltopics) = $rows; $dbh -> finish_sth($rows); if (!$Title) { $html -> not_right($ubbt_lang['BAD_GROUP'],$Cat); } // If this is a visit to a new forum then we need // to track any preferences for this forum $updatemyprefs = 0; if ((!isset($myprefs['Board'])) || ($myprefs['Board'] != $Board)) { $myprefs['Board'] = $Board; $myprefs['age'] = $ThreadAge; $myprefs['sort'] = 5; $myprefs['view'] = $view; $updatemyprefs = 1; } else { if (($o) && ($myprefs['age'] != $o)) { $myprefs['age'] = $o; $updatemyprefs = 1; } if
[/]

instead of this:
[]
<tr><td class="paddingtop paddingbottom autorow colored-row" valign="top">
<span class="autorow-title">
<label class="radio" for="maxgraemlins">
{$ubbt_lang['MAX_GRAEMLIN']}</label><br />
</span>
<span class="autorow-description">
{$ubbt_lang['MAX_GRAEMLIN_1']}
</span>
</td><td class="paddingtop paddingbottom autorow colored-row" valign="top">
<input type="text" name="maxgraemlins" value="{$config['maxgraemlins']}" size="5" id="maxgraemlins" />
</td></tr>
[/]

i'm using word pad (not note pad) to view the files. any idea how to fix'em?

Sponsored Links
Entire Thread
Subject Posted By Posted
file formatting drkknght 09/29/2004 1:29 AM
Re: file formatting DrChaos 09/29/2004 3:55 AM
Re: file formatting drkknght 09/29/2004 10:41 PM
Re: file formatting scroungr 09/29/2004 10:52 PM
Re: file formatting drkknght 09/29/2004 11:06 PM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
badfrog
badfrog
somewhere on the coast of Maine
Posts: 94
Joined: March 2007
Forum Statistics
Forums63
Topics37,575
Posts293,932
Members13,824
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online 769
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 0
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,835
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)