?Preview of string?
Posted 28 March 2006 - 12:50 AM
How do i create a preview of a string? Like if i bring something from a mysql db, the string name is $fetchbookmark['url']. But that string is too long to fit into the cell i want it to. So what i want to do is to take like the first 50 chrs for example of that string and just show them. Ive seen it on forum scripts and such so i know its possbile. Just not sure how to do it myself.
Thanks in advance,
Posted 28 March 2006 - 12:52 AM
you may aslo need to [a href=\"http://uk.php.net/manual/en/function.strip-tags.php\" target=\"_blank\"]striptags[/a]
Posted 28 March 2006 - 12:56 AM
Most helpful and very prompt for 2 am, lol. Or you may not be in the UK like me, lol.
Posted 28 March 2006 - 12:57 AM
Just can't sleep (again!)
Posted 28 March 2006 - 01:01 AM
Only problem ive got is i need projects so that i can work on something to really test myself if ya know what i mean.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users