![]() | ![]() |
| ||||
| Hi, I have run into another small problem transferring data into an open file. Basically it's like this:
Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" type="text/css" href="../../elements/css/main.css">
<title>Template</title>
</head>
<body>
<div id="wrapper">
<h1>Heading</h1>
<?php echo $myString; ?> <---- HERE
</div>
</body>
</html>
Keith |
| ||||
| you need to create a mark and using str_replace should do the job. mark on the page <!--text_here--><!--end_text--> then look for it and replace it with the content from the text file.
__________________ :. Web Design & Development Web Design Ireland :. Search Engines Optimization Search Engines Optimization :. Directory Submission Directory Submission :. News & Press Release Ireland GiveItSocks.com :. Used Cars Ireland, Car Parts & Car Audio Cars For Sale, Car Parts & Accessories :. I Have 2 Find It Directory SEF Directory |
| ||||
| Quote:
|
| ||||
| no problem. U more than welcome.
__________________ :. Web Design & Development Web Design Ireland :. Search Engines Optimization Search Engines Optimization :. Directory Submission Directory Submission :. News & Press Release Ireland GiveItSocks.com :. Used Cars Ireland, Car Parts & Car Audio Cars For Sale, Car Parts & Accessories :. I Have 2 Find It Directory SEF Directory |
| Thread Tools | |
| Display Modes | |
|
|
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| File Storage & API recommendations | Cormac | Webmaster Discussion | 4 | 15-02-2008 11:44 AM |
| General Blog questions & BLOG URL SEO question. Help Please? :-) | Gman290 | Search Engine Optimisation | 4 | 07-12-2007 10:24 AM |
| Wordpress .htaccess file for no-www and mod-rewrite() | Cormac | Blogs & Blogging | 9 | 20-03-2007 08:31 AM |