Re: [PHP-WIN] help needed

2008-01-25 Thread Stut
Peter D wrote: $result = mysql_query ( "SELECT * FROM 'high_score' ORDER BY score DESC LIMIT 10"); Single quotes are invalid around entity names, you should be using backticks to surround high_score. You really should be checking the return value from mysql_query. It tells you if an error o

[PHP-WIN] help needed

2008-01-25 Thread Peter D
Hi everyone! I hope my request can be answered by someone. I'm new to PHP and whole server issue! I'm trying to test my PHP scripts locally on my PC. It seems Apache/PHP/MySql and PhpMyAdmin are working correctly when I test simple php files. Here's the problem : I have two files: "display

[PHP-WIN] Erreor message in Apache when using PHP 5.2.5

2008-01-25 Thread Luc Maltier
Hello! I've upgraded PHP from 5.1.4 to 5.2.5 (to solve an Apache problem when there is an inadvertent double-click on a link). This was successful, as the problem is now solved. When I used 'restart' to restart the Apache server, I got no error message. However, when I tried to stop Apache and sta