Jump to content

anthropos9

Members
  • Posts

    10
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

anthropos9's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Thanks. I new I was missing something rather obvious.
  2. the regex validation is good, but it needs to identify the url from within a paragraph without any user input telling it $x is the url that you need to make into a link. for instance, in the paragraph: the www.somesite.com should automatically be found and made into the html <a href="http://www.somesite.com">www.somesite.com</a> (Just like what happens on this site, since in the post it was turned into a link on its own.)
  3. Hi, I want to be able to make a script that identifies a url that is in plain text and automatically make it into a link. It has to be able to identify a url that begins with either http:// or just www. I've looked all over for a script like this - and I know that I've seen one somewhere, but I can't seem to find one now. I'd make one myself, but I don't know where to start - so that kind of advice would also be welcome. Thanks for your help.
  4. it works.  thanks. If you want to see it working it's here: http://naed.cteens.org/pccng/page.php
  5. Thanks for your help.  I will try this in the morning.  The separating of two words that belong together -- like bill smith -- shouldn't be a problem.
  6. I'm working on a news site where I need to add an advertisement about 200 words into the article and then have the text wrap around it.  I'm going to enclose the ad in a <div> tag that is going to be floated to the left.  To do this I need to split the article in two at the 200 word point, add the <div> code and then continue the article.  Can anyone help me on how to do this.  I've seen that there are a lot of different ways to split a string, I'm just not sure which one is the best for this implementation.  Thanks.
  7. I have a javascript in a calendar page to have events descriptions show up when you mouse over them. It works fine when the calendar is loaded on it's own (see [a href=\"http://cefc.naed.cteens.org/includes/cal/calendar.php\" target=\"_blank\"]this page[/a] ([a href=\"http://cefc.naed.cteens.org/includes/cal/calendar.txt\" target=\"_blank\"]the code[/a])), but when the calendar is included in a page as a PHP include() item in FF and Safari the javascript breaks somewhat (see [a href=\"http://cefc.naed.cteens.org/pages/events-test.php?id=7\" target=\"_blank\"]this page[/a] ([a href=\"http://cefc.naed.cteens.org/includes/cal/events-test.txt\" target=\"_blank\"]the code[/a])). I'm wondering why javascript isn't moving the div when it is in the include() item. I've tried hard coding everything into the second page instead of having it as an include item, but that didn't help - which means the problem obviously isn't the include, just something within the page it's being included in. Any thoughts or comments are welcome as this thing has got me really stumped. Thanks.
  8. Thanks. I know it was kind of stupid question, so thanks for not flaming me.
  9. Hi I've looked all over for this - including the php.net site - and couldn't find an answer. Can somebody tell me what => means? Thanks.
  10. Hello, My hosting company just changed servers and ever since then I've been getting this error: [!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]Notice: Undefined index: id in e:\html\domains\calvaryefc.com\wwwroot\index.php on line 5 Notice: Undefined index: mid in e:\html\domains\calvaryefc.com\wwwroot\index.php on line 6[/quote] Here is the relavant code to go along with this: <?php echo "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?".">"; ?> <!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"> <?php require("includes/connect.php"); $id = $_GET['id']; $mid = $_GET['mid']; ?> Any help is welcome. Thanks.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.