![]() |
Any PHP/MySQL Guys Up?
I usually have my guy do this stuff but he's on vaca and I'd like to get this done so I can move forward so if anyone that knows php/sql, do me a favor and take a quick peek for me...
This calls the output for an events script I'm using and I'd like to be able to truncate the title ($result) to 10 characters (some titles are way too long for the section this output is echo'd) Thanks in advance! http://www.bamas.com/code.txt |
find
Code:
while($row = mysql_fetch_row($result)){Code:
$row[1] = substr($row[1],0,10);Code:
while($row = mysql_fetch_row($result)){ |
Thank you Dark Soul - that worked like a charm!
|
| All times are GMT -7. The time now is 02:38 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123