Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

replacing double space by a single

Status
Not open for further replies.

FederalProgrammer

Programmer
Jul 2, 2003
318
0
0
CA
I am grabbing a huge html text from a database and I have to strip off the unwanted junk before I can use the text:

Code:
$newsText = $row->news_text;
$newsText = str_replace("\'", "'", $newsText);
$newsText = str_replace("\"", '"', $newsText);
$newsText = str_replace("  ", " ", $newsText);

I print off the $newsText into a predefined area of my website; The only problem is I get a lot of "?" all over the place. Single quotes for example get replaced by "?". Also, double spaces get replaced by "?".
What am I doing wrong?


---------------
 
the slashes are normal to be in front special characters. translated back to html they will show the right sign without a slash ;) only the last statement is good
 
hay, thanx for the reply ;)

I guess my question is:
is there a difference between:
$newsText = str_replace(' ', ' ', $newsText);
vs
$newsText = str_replace(" ", " ", $newsText);

and how would I replace double quotes w/ space?
$newsText = str_replace(???, " ", $newsText); where ??? is a doulbe quote...
 
why would you want to replace a " with a space ? why not replace it with nothing?
str_replace('"','',$text); // note two sinlge quotes together or insert a psace if you really really need it to be :)

______________________________________________________________________
There's no present like the time, they say. - Henry's Cat.
 
yeah, I thought so... it's not working... it's tooo frustrating... I thought may be the usage of single quotes is causing a problem... but I guess that's not the case :(

would it help if I provide the link where you can see these ugly question marks?
 
sure fire away


______________________________________________________________________
There's no present like the time, they say. - Henry's Cat.
 
here's the problem,
My user uses an html editor to enter their text. The html editor creates all sorts of html tags and stuff. I store this text in my Database.
Then when I fetch the news from the database, I remove the
<html></html><head></head><body></body> tags and then put the text in a <div> area where the text should go. The problem is only when my users (not me) enter the news in html editor, the text is full of question marks (when I write the news, everything is fine... classic eh?)

here's the link to the page w/ the question mark. Any thoughts?

 
possibly easier then if you post a section of text, so we can give it some serious replacing .. possibly preg_replace.

______________________________________________________________________
There's no present like the time, they say. - Henry's Cat.
 
ah dude, that would be awesome!!!!
Just one thing though, when I put this in pure html it works... it doesn't work, when I put it in my website. I'll give you my php code too then...

Following is what I get from teh database though:

Code:
<body><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">Daily Market Update</p><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\"> </p><table style=\"BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none; BORDER-COLLAPSE: collapse; mso-border-alt: dashed white .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt\" cellspacing=\"0\" cellpadding=\"0\" border=\"1\"><tbody><tr><td style=\"BORDER-RIGHT: white 0.75pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: white 0.5pt dashed; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: white 0.5pt dashed; WIDTH: 88.55pt; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.75pt solid; BACKGROUND-COLOR: transparent\" valign=\"top\" width=\"118\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\"> </p><p /></td><td style=\"BORDER-RIGHT: white 0.75pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: white 0.5pt dashed; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 60.85pt; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.75pt solid; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid white .75pt\" valign=\"top\" width=\"81\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">Close</p></td><td style=\"BORDER-RIGHT: white 0.75pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: white 0.5pt dashed; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 81pt; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.75pt solid; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid white .75pt\" valign=\"top\" width=\"108\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">Net Change</p></td><td style=\"BORDER-RIGHT: white 0.75pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: white 0.5pt dashed; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 1in; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.75pt solid; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid white .75pt\" valign=\"top\" width=\"96\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">A/D Line</p></td><td style=\"BORDER-RIGHT: white 0.5pt dashed; PADDING-RIGHT: 5.4pt; BORDER-TOP: white 0.5pt dashed; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 1.95in; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.75pt solid; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid white .75pt\" valign=\"top\" width=\"187\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">Net New Highs</p></td></tr><tr><td style=\"BORDER-RIGHT: white 0.75pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: white 0.5pt dashed; WIDTH: 88.55pt; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.75pt solid; BACKGROUND-COLOR: transparent; mso-border-top-alt: solid white .75pt\" valign=\"top\" width=\"118\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\"> </p><p /></td><td style=\"BORDER-RIGHT: white 0.75pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 60.85pt; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.75pt solid; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid white .75pt; mso-border-top-alt: solid white .75pt\" valign=\"top\" width=\"81\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\"> </p><p /></td><td style=\"BORDER-RIGHT: white 0.75pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 81pt; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.75pt solid; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid white .75pt; mso-border-top-alt: solid white .75pt\" valign=\"top\" width=\"108\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\"> </p><p /></td><td style=\"BORDER-RIGHT: white 0.75pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 1in; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.75pt solid; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid white .75pt; mso-border-top-alt: solid white .75pt\" valign=\"top\" width=\"96\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\"> </p><p /></td><td style=\"BORDER-RIGHT: white 0.5pt dashed; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 1.95in; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.75pt solid; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid white .75pt; mso-border-top-alt: solid white .75pt\" valign=\"top\" width=\"187\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\"> </p><p /></td></tr><tr><td style=\"BORDER-RIGHT: white 0.75pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: white 0.5pt dashed; WIDTH: 88.55pt; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.75pt solid; BACKGROUND-COLOR: transparent; mso-border-top-alt: solid white .75pt\" valign=\"top\" width=\"118\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">Dow:</p></td><td style=\"BORDER-RIGHT: white 0.75pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 60.85pt; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.75pt solid; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid white .75pt; mso-border-top-alt: solid white .75pt\" valign=\"top\" width=\"81\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">10238.76</p></td><td style=\"BORDER-RIGHT: white 0.75pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 81pt; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.75pt solid; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid white .75pt; mso-border-top-alt: solid white .75pt\" valign=\"top\" width=\"108\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">-53.55</p></td><td style=\"BORDER-RIGHT: white 0.75pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 1in; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.75pt solid; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid white .75pt; mso-border-top-alt: solid white .75pt\" valign=\"top\" width=\"96\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">-10</p></td><td style=\"BORDER-RIGHT: white 0.5pt dashed; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 1.95in; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.75pt solid; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid white .75pt; mso-border-top-alt: solid white .75pt\" valign=\"top\" width=\"187\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">-10</p></td></tr><tr><td style=\"BORDER-RIGHT: white 0.75pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: white 0.5pt dashed; WIDTH: 88.55pt; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.75pt solid; BACKGROUND-COLOR: transparent; mso-border-top-alt: solid white .75pt\" valign=\"top\" width=\"118\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">S&amp;P 500:</p></td><td style=\"BORDER-RIGHT: white 0.75pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 60.85pt; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.75pt solid; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid white .75pt; mso-border-top-alt: solid white .75pt\" valign=\"top\" width=\"81\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">1187.33</p></td><td style=\"BORDER-RIGHT: white 0.75pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 81pt; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.75pt solid; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid white .75pt; mso-border-top-alt: solid white .75pt\" valign=\"top\" width=\"108\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">-8.57</p></td><td style=\"BORDER-RIGHT: white 0.75pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 1in; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.75pt solid; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid white .75pt; mso-border-top-alt: solid white .75pt\" valign=\"top\" width=\"96\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">-325</p></td><td style=\"BORDER-RIGHT: white 0.5pt dashed; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 1.95in; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.75pt solid; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid white .75pt; mso-border-top-alt: solid white .75pt\" valign=\"top\" width=\"187\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">-176</p></td></tr><tr><td style=\"BORDER-RIGHT: white 0.75pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: white 0.5pt dashed; WIDTH: 88.55pt; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.75pt solid; BACKGROUND-COLOR: transparent; mso-border-top-alt: solid white .75pt\" valign=\"top\" width=\"118\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">Nasdaq 100:</p></td><td style=\"BORDER-RIGHT: white 0.75pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 60.85pt; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.75pt solid; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid white .75pt; mso-border-top-alt: solid white .75pt\" valign=\"top\" width=\"81\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">1546.99</p></td><td style=\"BORDER-RIGHT: white 0.75pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 81pt; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.75pt solid; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid white .75pt; mso-border-top-alt: solid white .75pt\" valign=\"top\" width=\"108\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">-8.93</p></td><td style=\"BORDER-RIGHT: white 0.75pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 1in; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.75pt solid; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid white .75pt; mso-border-top-alt: solid white .75pt\" valign=\"top\" width=\"96\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">-34</p></td><td style=\"BORDER-RIGHT: white 0.5pt dashed; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 1.95in; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.75pt solid; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid white .75pt; mso-border-top-alt: solid white .75pt\" valign=\"top\" width=\"187\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">-27</p></td></tr><tr><td style=\"BORDER-RIGHT: white 0.75pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: white 0.5pt dashed; WIDTH: 88.55pt; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.5pt dashed; BACKGROUND-COLOR: transparent; mso-border-top-alt: solid white .75pt\" valign=\"top\" width=\"118\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">Russell 2000:</p></td><td style=\"BORDER-RIGHT: white 0.75pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 60.85pt; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.5pt dashed; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid white .75pt; mso-border-top-alt: solid white .75pt\" valign=\"top\" width=\"81\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">637.97</p></td><td style=\"BORDER-RIGHT: white 0.75pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 81pt; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.5pt dashed; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid white .75pt; mso-border-top-alt: solid white .75pt\" valign=\"top\" width=\"108\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">-6.36</p></td><td style=\"BORDER-RIGHT: white 0.75pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 1in; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.5pt dashed; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid white .75pt; mso-border-top-alt: solid white .75pt\" valign=\"top\" width=\"96\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">-911</p></td><td style=\"BORDER-RIGHT: white 0.5pt dashed; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 1.95in; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.5pt dashed; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid white .75pt; mso-border-top-alt: solid white .75pt\" valign=\"top\" width=\"187\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">-279</p></td></tr></tbody></table><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\"> </p><p /><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\"> </p><p /><span style=\"FONT-SIZE: 12pt; FONT-FAMILY: \">Yet another weak looking session on Wall Street today as the major averages all closed lower.<span style=\"mso-spacerun: yes\">  </span>We must bear in mind that the Bond Market was closed today in observance of the Columbus Day holiday, and volume on the stock markets was a bit lower than has been seen lately.<span style=\"mso-spacerun: yes\">  </span>That being said, market internals today did weaken again.<span style=\"mso-spacerun: yes\">  </span>Of particular interest are the new 52-week highs and lows in the major averages.<span style=\"mso-spacerun: yes\">  </span>The ratio of 52-week highs to 52-week lows can be a very important barometer of real market strength. <span style=\"mso-spacerun: yes\"> </span>Currently, and for the last couple of weeks, the lows have been outpacing the highs.<span style=\"mso-spacerun: yes\">  </span>If this trend continues it will be extremely difficult for the market to find any traction at all, and if an acceleration to the downside occurs in the market and longer-term stops begin to be run the intermediate down trend that is underway could become a serious correction, or possibly even signal the reversal of the major up trend that has been underway for so long.<span style=\"mso-spacerun: yes\">  </span>It is obviously too early to make a definitive call on the major trend, but it never too early to consider all possibilities.</span> </body>
 
This is the code for read.php where I display the news:

Code:
<?
session_start();
if($_SESSION['logedin'] == 'yes')
{
	$head = 2; 
}
else 
{
	$head = 3;
	$_SESSION['logedin'] = 'no';
}
include('includes/head.php');
include('includes/functions.php');
include('includes/connect.php');

if (isset($_GET['nid']))
	$nid = $_GET['nid'];
else
{ 
	echo ("<span class='newstitle'>No article selected!!</span><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>
						<BR><BR><BR><BR><BR><BR><BR><BR>");
	include('includes/foot.php');
	die();
}
$result = mysql_query("SELECT * FROM news WHERE news_id=$nid") or die(mysql_error());
if (mysql_affected_rows()>0)
{
	$row = mysql_fetch_object($result);
	print("<span class='newstitle'>$row->news_title</span>");
	print("<BR><BR><span class='newsdate'>" . date('M d, Y',$row->news_date) . "</span>");
	print("<p class='newstext'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");
	$newsText = $row->news_text;
	$newsText = str_replace("\'", "'", $newsText);
	$newsText = str_replace("\"", '"', $newsText);
	$newsText = str_replace("  ", " ", $newsText);
	$newsText = str_replace("  ", " ", $newsText);
	$newsText = str_replace("<head>", "", $newsText);
	$newsText = str_replace("</head>", "", $newsText);
	$newsText = str_replace("<html>", "", $newsText);
	$newsText = str_replace("</html>", "", $newsText);
	$newsText = str_replace("<body>", "", $newsText);
	$newsText = str_replace("</body>", "", $newsText);
	$newsText = str_replace("&nbsp;", "<BR>", $newsText);
	$newsText = str_replace("&nbsp; ", "<BR>", $newsText);
	$newsText = str_replace(" &nbsp;", "<BR>", $newsText);
	$newsText = str_replace(" &nbsp; ", "<BR>", $newsText);
	$newsText = str_replace("?", " ", $newsText);
	
	
		
	//print(stripslashes($newsText));
	print($newsText);
	print("</p><BR><BR><BR><BR><BR>");
}
else 
{
	echo ("<span class='newstitle'>No articles found!!</span><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>
						<BR><BR><BR><BR><BR><BR><BR><BR>");
	include('includes/foot.php');
	die();
}

echo ("<div class='form_submitrow'>
	   <div class='brownb'>
	   <img src='./images/brownb_left.gif' alt='Left' />
	   <a href='index.php'>Back to Main Page</a>
	   <img src='./images/brownb_right.gif' alt='Right' />
	   </div>
	  </div>");
?>

<? include('includes/foot.php'); ?>


---------------
 
gonna head home, wil pick this up when I get there uness someone else beats me to it, doesn't look too hard tho :D


______________________________________________________________________
There's no present like the time, they say. - Henry's Cat.
 
the only 2 things not really behaving seem to be these:
$newsText = str_replace("\'", "'", $newsText);
$newsText = str_replace("\"", '"', $newsText);

which work well as
$newsText = str_replace("\\\'", "'", $newsText);
$newsText = str_replace("\\\"", '"', $newsText);
- you are trying to remove a delimiting character, and you need to delimit that first, oddly using 2 more.

Think thats right innit guys ?

______________________________________________________________________
There's no present like the time, they say. - Henry's Cat.
 
hay check this out,
Whereever there's a space, the stupid html editor puts the following:
Code:
<span style=\"mso-spacerun: yes\">  </span>

I need to replace that whole thing with a simple space...
would this be the way to do it (because it's not working):
Code:
$newsText = str_replace("<span style=\\\"mso-spacerun: yes\\\">  </span>", " ", $newsText);
$newsText = str_replace("<span style=\"mso-spacerun: yes\">  </span>", " ", $newsText);
 
well, I guess it comes down to replace:

<span style=\"mso-spacerun: yes\"> </span>

with
" "

I'm not so good at this... I'm making far tooo many funny attempts :(
 
ok, That problem is gone now....

check this out:
Code:
“falling off the cliff”
is replaced by "?"

notice how:
“falling off the cliff” differs from
"falling off the cliff"
 
ooh .. they'll be fun to fix :) where did you find them ?

______________________________________________________________________
There's no present like the time, they say. - Henry's Cat.
 
here's the actual news_id = 150 as it's stored in db ;)

Code:
<p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">Daily Market Update<span style=\"mso-spacerun: yes\">  </span></p><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\"> <p /></p><table style=\"BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none; BORDER-COLLAPSE: collapse; mso-border-alt: dashed white .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt\" cellspacing=\"0\" cellpadding=\"0\" border=\"1\"><tbody><tr><td style=\"BORDER-RIGHT: white 0.75pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: white 0.5pt dashed; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: white 0.5pt dashed; WIDTH: 88.55pt; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.75pt solid; BACKGROUND-COLOR: transparent\" valign=\"top\" width=\"118\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\"> <p /></p></td><td style=\"BORDER-RIGHT: white 0.75pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: white 0.5pt dashed; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 60.85pt; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.75pt solid; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid white .75pt\" valign=\"top\" width=\"81\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">Close</p></td><td style=\"BORDER-RIGHT: white 0.75pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: white 0.5pt dashed; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 81pt; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.75pt solid; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid white .75pt\" valign=\"top\" width=\"108\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">Net Change</p></td><td style=\"BORDER-RIGHT: white 0.75pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: white 0.5pt dashed; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 1in; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.75pt solid; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid white .75pt\" valign=\"top\" width=\"96\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">A/D Line</p></td><td style=\"BORDER-RIGHT: white 0.5pt dashed; PADDING-RIGHT: 5.4pt; BORDER-TOP: white 0.5pt dashed; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 1.95in; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.75pt solid; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid white .75pt\" valign=\"top\" width=\"187\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">Net New Highs</p></td></tr><tr><td style=\"BORDER-RIGHT: white 0.75pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: white 0.5pt dashed; WIDTH: 88.55pt; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.75pt solid; BACKGROUND-COLOR: transparent; mso-border-top-alt: solid white .75pt\" valign=\"top\" width=\"118\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\"> <p /></p></td><td style=\"BORDER-RIGHT: white 0.75pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 60.85pt; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.75pt solid; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid white .75pt; mso-border-top-alt: solid white .75pt\" valign=\"top\" width=\"81\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\"> <p /></p></td><td style=\"BORDER-RIGHT: white 0.75pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 81pt; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.75pt solid; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid white .75pt; mso-border-top-alt: solid white .75pt\" valign=\"top\" width=\"108\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\"> <p /></p></td><td style=\"BORDER-RIGHT: white 0.75pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 1in; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.75pt solid; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid white .75pt; mso-border-top-alt: solid white .75pt\" valign=\"top\" width=\"96\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\"> <p /></p></td><td style=\"BORDER-RIGHT: white 0.5pt dashed; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 1.95in; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.75pt solid; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid white .75pt; mso-border-top-alt: solid white .75pt\" valign=\"top\" width=\"187\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\"> <p /></p></td></tr><tr><td style=\"BORDER-RIGHT: white 0.75pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: white 0.5pt dashed; WIDTH: 88.55pt; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.75pt solid; BACKGROUND-COLOR: transparent; mso-border-top-alt: solid white .75pt\" valign=\"top\" width=\"118\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">Dow:</p></td><td style=\"BORDER-RIGHT: white 0.75pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 60.85pt; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.75pt solid; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid white .75pt; mso-border-top-alt: solid white .75pt\" valign=\"top\" width=\"81\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">10216.91</p></td><td style=\"BORDER-RIGHT: white 0.75pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 81pt; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.75pt solid; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid white .75pt; mso-border-top-alt: solid white .75pt\" valign=\"top\" width=\"108\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">-36.26</p></td><td style=\"BORDER-RIGHT: white 0.75pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 1in; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.75pt solid; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid white .75pt; mso-border-top-alt: solid white .75pt\" valign=\"top\" width=\"96\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">-9</p></td><td style=\"BORDER-RIGHT: white 0.5pt dashed; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 1.95in; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.75pt solid; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid white .75pt; mso-border-top-alt: solid white .75pt\" valign=\"top\" width=\"187\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">-11</p></td></tr><tr><td style=\"BORDER-RIGHT: white 0.75pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: white 0.5pt dashed; WIDTH: 88.55pt; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.75pt solid; BACKGROUND-COLOR: transparent; mso-border-top-alt: solid white .75pt\" valign=\"top\" width=\"118\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">S&amp;P 500:</p></td><td style=\"BORDER-RIGHT: white 0.75pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 60.85pt; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.75pt solid; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid white .75pt; mso-border-top-alt: solid white .75pt\" valign=\"top\" width=\"81\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">1177.68</p></td><td style=\"BORDER-RIGHT: white 0.75pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 81pt; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.75pt solid; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid white .75pt; mso-border-top-alt: solid white .75pt\" valign=\"top\" width=\"108\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">-7.19</p></td><td style=\"BORDER-RIGHT: white 0.75pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 1in; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.75pt solid; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid white .75pt; mso-border-top-alt: solid white .75pt\" valign=\"top\" width=\"96\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">-239</p></td><td style=\"BORDER-RIGHT: white 0.5pt dashed; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 1.95in; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.75pt solid; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid white .75pt; mso-border-top-alt: solid white .75pt\" valign=\"top\" width=\"187\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">-279</p></td></tr><tr><td style=\"BORDER-RIGHT: white 0.75pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: white 0.5pt dashed; WIDTH: 88.55pt; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.75pt solid; BACKGROUND-COLOR: transparent; mso-border-top-alt: solid white .75pt\" valign=\"top\" width=\"118\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">Nasdaq 100:</p></td><td style=\"BORDER-RIGHT: white 0.75pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 60.85pt; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.75pt solid; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid white .75pt; mso-border-top-alt: solid white .75pt\" valign=\"top\" width=\"81\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">1521.19</p></td><td style=\"BORDER-RIGHT: white 0.75pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 81pt; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.75pt solid; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid white .75pt; mso-border-top-alt: solid white .75pt\" valign=\"top\" width=\"108\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">-18.12</p></td><td style=\"BORDER-RIGHT: white 0.75pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 1in; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.75pt solid; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid white .75pt; mso-border-top-alt: solid white .75pt\" valign=\"top\" width=\"96\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">-50</p></td><td style=\"BORDER-RIGHT: white 0.5pt dashed; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 1.95in; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.75pt solid; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid white .75pt; mso-border-top-alt: solid white .75pt\" valign=\"top\" width=\"187\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">-43</p></td></tr><tr><td style=\"BORDER-RIGHT: white 0.75pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: white 0.5pt dashed; WIDTH: 88.55pt; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.5pt dashed; BACKGROUND-COLOR: transparent; mso-border-top-alt: solid white .75pt\" valign=\"top\" width=\"118\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">Russell 2000:</p></td><td style=\"BORDER-RIGHT: white 0.75pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 60.85pt; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.5pt dashed; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid white .75pt; mso-border-top-alt: solid white .75pt\" valign=\"top\" width=\"81\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">621.57</p></td><td style=\"BORDER-RIGHT: white 0.75pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 81pt; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.5pt dashed; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid white .75pt; mso-border-top-alt: solid white .75pt\" valign=\"top\" width=\"108\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">-8.51</p></td><td style=\"BORDER-RIGHT: white 0.75pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 1in; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.5pt dashed; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid white .75pt; mso-border-top-alt: solid white .75pt\" valign=\"top\" width=\"96\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">-1132</p></td><td style=\"BORDER-RIGHT: white 0.5pt dashed; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 1.95in; PADDING-TOP: 0in; BORDER-BOTTOM: white 0.5pt dashed; BACKGROUND-COLOR: transparent; mso-border-left-alt: solid white .75pt; mso-border-top-alt: solid white .75pt\" valign=\"top\" width=\"187\"><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\">-1536</p></td></tr></tbody></table><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\"> <p /></p><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\"> </p><p class=\"MsoNormal\" style=\"MARGIN: 0in 0in 0pt\"><span style=\"FONT-SIZE: 12pt; FONT-FAMILY: \"Times New Roman\"; mso-fareast-font-family: \"Times New Roman\"; mso-ansi-language: EN-CA; mso-fareast-language: EN-US; mso-bidi-language: AR-SA\">Today saw very high volume but no large move.<span style=\"mso-spacerun: yes\">  </span>It was a down day on all indices, and the support level we have been watching on the S&amp;P 500 was breached, but not in a particularly decisive way.<span style=\"mso-spacerun: yes\">  </span>The reason it is not yet decisive has to do with the size of the move today.<span style=\"mso-spacerun: yes\">  </span>This level is obviously widely watched as evidenced by the volume traded here, but we would expect volume on the scale seen today to drive the market very strongly in one direction.<span style=\"mso-spacerun: yes\">  </span>As can be seen in the 5 minute chart of the S&amp;P 500 below, though there was a clear trend today, it was not a “falling off the cliff” kind of move that we would normally see when a long term support level is breached.<span style=\"mso-spacerun: yes\">  </span>There was buying to go along with the selling, so it seems there are some bulls out there yet in spite of the definite bearish technical slant and very negative market internals.</span></p><p><span style=\"FONT-SIZE: 12pt; FONT-FAMILY: \"Times New Roman\"; mso-fareast-font-family: \"Times New Roman\"; mso-ansi-language: EN-CA; mso-fareast-language: EN-US; mso-bidi-language: AR-SA\"><img hspace=\"0\" src=\"/images/dow181.png\" align=\"baseline\" border=\"0\" /></span></p><p><span style=\"FONT-SIZE: 12pt; FONT-FAMILY: \"Times New Roman\"; mso-fareast-font-family: \"Times New Roman\"; mso-ansi-language: EN-CA; mso-fareast-language: EN-US; mso-bidi-language: AR-SA\"></span></p>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top