tnx for your answer
if have to don't use my way i m use a way between them and way is :
$sql="SELECT CONCAT( '<tr><td>', id , '</td><td>', titr , '</td><td><input type=\"submit\" onmousedown=\"javafunc(', id , ');\" value=\"Edit it\" /></td></tr>')
AS 'allads'
FROM ads
ORDER BY id DESC ;";
this is one split only by rows
this way is very few difference by my way and i recommending to you use this way for optimum of system Resources .
Good Luck