PHP, how?

Here non-phpBB topics can be discussed.
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
User avatar
sanis
New member
New member
Posts: 21
Joined: 26 Sep 2006, 17:00
Location: Lithuania / Kaunas / Romaniai
Contact:

PHP, how?

Postby sanis » 02 Jan 2007, 19:55

Hello, i need your help. Situation:
I have text:
text text text link.com
or:
text text text http://www.link.com

Question:
How to do that link.com and http://www.link.com clickable link? I had in mind: <a href='http://linkas.com'>linkas.com</a>

Thanks.
Sorry of my English.

User avatar
igorw
Past Contributor
Past Contributor
Posts: 1967
Joined: 01 Jun 2006, 20:48
Real name: Igor
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Postby igorw » 02 Jan 2007, 20:10

You want it to be turned into a link automatically?

- we're poor!

User avatar
sanis
New member
New member
Posts: 21
Joined: 26 Sep 2006, 17:00
Location: Lithuania / Kaunas / Romaniai
Contact:

Postby sanis » 02 Jan 2007, 20:12

Yes :P

User avatar
Krank
Member
Member
Posts: 90
Joined: 28 Sep 2006, 21:25
Location: Somewhere
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Postby Krank » 02 Jan 2007, 22:41


phpBB3 Je t'adore: subSilver2 Based styles fan
proSilver, good, but too .... I don't know just too... :P

User avatar
sanis
New member
New member
Posts: 21
Joined: 26 Sep 2006, 17:00
Location: Lithuania / Kaunas / Romaniai
Contact:

Postby sanis » 03 Jan 2007, 08:01

I want to do this not in forum :P in my sms script :/

User avatar
Noobarmy
Past Contributor
Past Contributor
Posts: 545
Joined: 02 Jun 2006, 11:19
Real name: Anthony Chu
Location: UK
Contact:

Postby Noobarmy » 03 Jan 2007, 16:38

something like make_clickable i guess would work. dunno how to do it though ... with teh normal http:// or www. the browser makes it a link ....

User avatar
sanis
New member
New member
Posts: 21
Joined: 26 Sep 2006, 17:00
Location: Lithuania / Kaunas / Romaniai
Contact:

Postby sanis » 04 Jan 2007, 05:48


PikachuMayhem
New member
New member
Posts: 3
Joined: 07 Jan 2007, 11:40
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Postby PikachuMayhem » 13 Jan 2007, 10:52

Someone on a forum made a JS code that make a word turn into a link, it was a bit buggy though.


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 8 guests