already did that and doesn't wok.

the problem might be this?

while ($y=mysql_fetch_assoc($x)) {
and my php version?

Before i had a problem with a script saying the fetch was invalid and then i had to add the $ sign in front of something to fix it, but idk whats wrong here.