don't worry, i know eveyone was rushing to figure this one out, but i've got it taken care of
in case you were wondering.......it was a quote issue. here is the correct line echo "<a href='/myweb2/more$i.php' onClick=\"window.open('/myweb2/more$i.php','popup','width=500,height=300,res izable=1,scrollbars=yes');return false;\">...more</a>"; "Tim Blackwell" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > not sure i know what you mean, there isn't a space there? > > > "Scott Carr" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED]... > > There is no space between the $i.php' onClick=" > > -- > > Scott Carr > > OpenOffice.org > > Documentation Maintainer > > http://documentation.openoffice.org/ > > > > > > Quoting Tim Blackwell <[EMAIL PROTECTED]>: > > > > > thanks a lot, that helped. now, why doesn't the link below work > > > > > > > > > echo "<a href > ='/myweb2/more$i.php'onClick="window.open('/myweb2/more$i.php' > > > ,'popup','width=645,height=450,resizable=1,scrollbars=no');return > false;"> > > > more...</a>"; > > > > > > > > > > > > > > > "Peter" <[EMAIL PROTECTED]> wrote in message > > > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > > You could also make a function to simplify things if you have lots of > > > links > > > > > > > > function dolink($href, $text) { > > > > $text = "<A HREF=\"$href\">$text</A>"; > > > > return $text; > > > > } > > > > > > > > then calling > > > > echo dolink("page1.php","Link to page 1"); > > > > would output a link to page1.php with the text Link to page 1 > > > > > > > > > > > > > > > > "Tim Blackwell" <[EMAIL PROTECTED]> wrote in message > > > > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > > > how do you make a link using PHP it's very simple in html and > > > javascript, > > > > > but i can't seem to figure out how to make a simple link? > > > > > > > > > > i'm making a news site and would like to have enormous articles have > a > > > > nice > > > > > little more...... link at the bottom of the first portion of the > > > article. > > > > > > > > > > any help would be much appreciated, > > > > > > > > > > thanks, > > > > > > > > > > tim > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > PHP Windows Mailing List (http://www.php.net/) > > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > > > > > > ------------------------------------------------- > > This mail sent through IMP: http://horde.org/imp/ > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php