Hey guys
Just a quick question, I'm writing, to a html file, a link whose href and text comes from another file.
The problem im having is when i add together the final string ready to write out:
<code>$replaceString = "<a href=$url[$j]>$description[$j]<\/a>";</code>
the problem is that once the url bit is wrote to the file it moves to a new line and prints the rest.
eg.
<a href = >gooooogle</a>
but it should look like
<a href =
It displays fine in the browser it just poses a problem for a further addition to the script.
any ideas?
cheers
andy
Just a quick question, I'm writing, to a html file, a link whose href and text comes from another file.
The problem im having is when i add together the final string ready to write out:
<code>$replaceString = "<a href=$url[$j]>$description[$j]<\/a>";</code>
the problem is that once the url bit is wrote to the file it moves to a new line and prints the rest.
eg.
<a href = >gooooogle</a>
but it should look like
<a href =
It displays fine in the browser it just poses a problem for a further addition to the script.
any ideas?
cheers
andy