Adding text

    Date: 02/01/06 (PHP Community)    Keywords: php

    I'm a beginner when it comes to PHP coding so odds are these questions will be quite easy for some of you to answer as I know it can be done.

    When posting form data using PHP, how do I make the PHP script add:
    1) Add a
    tag for every line break made in the post (LJ does this as do most blogs so I know this can be done)
    2) Add http://www.mysite.com"> around links that are just typed as http://www.mysite.com

    Thank you in advance!

    Source: http://community.livejournal.com/php/405202.html

« Little help please. || Passing variables from JS... »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home