Jump to content


url trouble

  • Please log in to reply
2 replies to this topic

#1 tb

  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 28 October 2003 - 11:56 AM


im working on a news script. It works fine exept for one little thing. When i use the <a> html tag, eg. I want to link to www.phpfreaks.com, the link turns out to be www.mysite.com/www.phpfreaks.com. Off course I don\'t want this. The news text is inserted to a \"text\" row in my table in the database.

Any tip would be appriciated :wink:


#2 shivabharat

  • Members
  • PipPipPip
  • Advanced Member
  • 371 posts
  • LocationChennai, India

Posted 28 October 2003 - 12:39 PM

Have you had a look at this


Not sure if you are tyring to do the same :)
Knowledge --- Reading Enriches Mind But Sharing Enhances It.[br][br]Note: Before you request help enusre that you have had a look at the tutorials @phpfreaks

#3 tb

  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 28 October 2003 - 01:26 PM

No, not quite. But I will consider putting up a banner though.

I\'m gonna try to do some better explaining:

I have made a form, that inserts data into a table for my news script. When I want to create a link I use standard html <a href=\"www.bla-bla.com\">bla-bla</a> so i write this in my form. Then when I read the news in my index, the url is www.mysite.com/www.bla-bla.com which is not the correct url. The problem is that it automaticly adds \"www.mysite.com/\" in front of the adress I would like to link to.

And it\'s buggin\' me alot.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users