Hi you can use this works fine
function cutting($news)
{
$cut = 400;
$ln = 20;
if ( strlen($news) > ($cut + $ln)) {
$before = substr($news,$cut-$ln,$ln);
$after = substr($news,$cut,$ln);
$pos = $cut;
if ( strrpos($before,".") ) $a = $ln -...
Hi
well you can skip the rand line and use this instead
$result_count_=_mysql_query("SELECT COUNT(lyric_id) FROM lyrics ORDER BY RAND()", $link);
or
$result_count_=_mysql_query("SELECT COUNT(lyric_id) FROM lyrics ORDER BY RAND() limit 0,1", $link);
That should do it
Is ther anyone here knowing how to connect from the terminal to a distant mysql server.
Connecting with other apps is common known so that part i know but i wanted to find a different way, to possibly use applescript studio to do an app.
Thanks
Hi all i got problem that i don't understand. i've done a reinstall of the system since i had kernel panics. checked the disk with first aid. no problems. so i installed 10.2 over my current sys then downloaded the standalone updater files .1 .2 .3 .4 installed one after an other.
Now i...
Hi all!
I'm really annoyed since a couple of days ago.
I reinstalled osx .2 + did the updates to .2.4
and know i get these kind of problems
Unresolved kernel trap(cpu 1): 0x300 - Data access DAR=0x00000004 PC=0x0008cb98
Latest crash info for cpu 1:
Exception state...
try to enable your printer with cups it could work
check this page
http://www.osxdrives.com/article.php?sid=9
i got my usb epson 580 to work without any problems
it should work for the photosmart 1000
if you haven't done it yet go to http://h20015.www2.hp.com/en/softwareList.jhtml;jsessionid=SF42VPX03AYZ5QEXGR5UOSQ?reg=&cc=&prodId=hpphotosma43053&lc=en&softitem=Mac%20OS%20X&sw_lang=en and download the driver
hope it works
Hi all!
seeing all the problems and research to find osxdrivers for old hardware.
(webcam, printers, etc...)
I created a new site with the purpose to share the info with everybody.
I could use some help from anyone that wants to give a hand to put some links in the base.
check it...
hi all mac entousiasts.
Since i upgraded to jaguar i have problem whin webmin.
It loads well but can't configure apache webserver.
Have they changed the path's.
check the picture attached.
could someone tell me what to change there.
Thanks a lot
Apache server root...
I have a couple of ethernet cards from scratch pc machines at work (as usual) and i would like to use if possible a pc card to make a network at home with my ibook and g4 bi 500 and a pc (i have a hub) to be able to connect to the internet with my dsl connection.
I have tried one card a dlink...