Paste Your Clipboard Contents

Started by Mystique Lynx89 pages

Return to forum after post

The sun is gone to bed

[php]
tidy_get_body($tidy);
[/php]

A Ghost Of A Chance

[php]
$options = array("clean" => true,
"bare" => true,
"drop-proprietary-attributes" => true,
"drop-font-tags" => true,
"drop-empty-paras" => true,
"hide-comments" => true,
"join-classes" => true,
"word-2000" => true,
"join-styles" => true);

$tidy = tidy_parse_file("test.htm", $options);
tidy_clean_repair($tidy);
$tidy = tidy_get_body($tidy);
//Replace p tags
$pattern = "<pre>";
$replacement = "<p>";
$tidy = eregi_replace($pattern, $replacement, $tidy);
//Replace p tags
$pattern = "</pre>";
$replacement = "</p>";
$tidy = eregi_replace($pattern, $replacement, $tidy);
echo $tidy;
[/php]

bag are we just writing in what he have pasted?

.

supes

evillaugh

Peter Sellers

http://www.killermovies.com/forums/showthread.php?s=&threadid=426467&perpage=20&pagenumber=3

Originally posted by Mystique Lynx
^does sig requests
Originally posted by Strangelove
I was taking a shower, I didn't even know it was that close

Taking a shower is sexy... 😮‍💨

Strangelove: 92 +
Syren: 77 -
BlackSunshine: 14

http://www.killermovies.com/forums/showthread.php?s=&postid=7750612#post7750612

I am pretty conservative. I have a few liberal views, but still vote the party when it comes down to it. Democrats irratate me. Being a teacher I am surronded by them daily, I am trying very hard, in a very non-official way to steer my students in the "right" direction