`<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Untitled Document</title>
</head>
<body>
<?php
for( $x=1 ; $x<=10 ; $x++){
echo "$x".",";
}
?>
</body>
</html>`
1.output =1,2,3,4,5,6,7,8,9,10,
- i have this output. how can i remove the last comma? your help is needed.