Todd Cary wrote:
Jochem -
Sorry! The prior message was incorrect. Here it is corrected.
er ok, no probs. although you needn't have bothered sending the correction
as someone has already pointed out the mistake in the function, namely your
use of HTML entities instead of normal LT ang GT brackets.
You are using html entity code for brackets and such. When you use <
instead of <, the web browser prints it literally as a < rather than
interpreting it as an html symbol to mark the start of an anchor (or
whatever). Replace the entity code with their 'regular' equivalents and
you're print pr
Jochem -
Sorry! The prior message was incorrect. Here it is corrected.
Here is the executing code:
$page_string = make_page_string($page_string, "Search");
$script_string = make_script_string($script_string, "search.php");
print("Page_string: " . $page_string . "");
print("Script_string: "
Jochem -
Here is the function:
/* Make page path */
function make_page_path($page_string, $script_name) {
$parts = explode('|', $page_string);
for ($i = 0; $i < count($parts); $i++) {
if ($i == 0) {
$page_path = '' .
$parts[$i] . '';
Todd Cary wrote:
OK...I am close, but still missing something. The string returned by
the function is $page_path and it contains
http://209.204.172.137/casesearch/php/search.php";>Home->
^
what ever else you function is doing this is probably not cor
OK...I am close, but still missing something. The string returned by
the function is $page_path and it contains
http://209.204.172.137/casesearch/php/search.php";>Home->
http://209.204.172.137/casesearch/php/search.php";>Search
And here is how the function is used:
$page_path = make_page_path($
Todd Cary wrote:
I have the following:
$p = http://209.204.172.137/casesearch/php/home.php";>Home
However, when I have
print($p); or
echo $p;
the result page does not display as a link; just as the text above.
What have I missed?
Todd
try:
http://209.204.172.137/casesearch/php/home.php";>Home';
ech
On 01/02/2005, at 1:05 PM, Todd Cary wrote:
I have the following:
$p = http://209.204.172.137/casesearch/php/home.php";>Home
try
$p = 'http://209.204.172.137/casesearch/php/home.php";>Home';
echo $p;
---
Justin French, Indent.com.au
[EMAIL PROTECTED]
Web Application Development & Graphic Design
--
8 matches
Mail list logo