Hello,
Let me begin with the famous words: "I'm not a coder "
I'm wondering if somebody here knows the answer for my current issue:
I would like the following:
I have a list. This list contains names. When the user chooses, let's say, the name 'John Doe' construct 2 calls a PHP file and it echos the row that contains the name 'John Doe' and underlying tables like 'scores' etc.
What I currently have in my 'get php file' is:
$sql="SELECT * FROM scores ORDER BY score DESC LIMIT 100";
$result=mysql_query($sql);
// Start looping rows in mysql database.
while($rows=mysql_fetch_array($result)){
echo $rows['name'] . "|" . $rows['score'] . "|" . $rows['data1'] . "|" . $rows['data2'] . "|" . $rows['data3'] . "|" . $rows['data4'] . "|" ;[/code:3bsb2lxc]
Construct is set up that It provides the right data in the app for calling the rows. Only for the person with the highest score. When I select a different name, nothing happens.
Anybody any ideas on how to resolve this?
Many thanks in advance!
Kind regards