Answer the question
In order to leave comments, you need to log in
How to get a variable through a PHP request?
I'm trying to get the fields through a request of the following format:
$sql_result = $db->query( "SELECT * FROM users WHERE name = '{$user}'" );
$tpl->set( '{armor}', "{THEME}/ArmorAvatar/" . $row['CAid'] . ".png");
<img src="/templates/s1/ArmorAvatar/.png">
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question