Hello,
I am trying to have a label instead of a value in this case:
PHP:
<?php
$con1= mysqli_connect("localhost", "yyy", "yyy", "yyy");
if(!$con1) { die('not connected'); }
mysqli_set_charset($con1, "utf8");
$user = JFactory::getUser();
$con1= mysqli_query($con1, "select * from inscriptions where Userid = $user->id");
while ($row = mysqli_fetch_assoc($con1)) {
echo "N?vel desejado: ". $row["NivelDesejado"];
}
?>
Any idea?
Thank you in advance...
I am trying to have a label instead of a value in this case:
PHP:
<?php
$con1= mysqli_connect("localhost", "yyy", "yyy", "yyy");
if(!$con1) { die('not connected'); }
mysqli_set_charset($con1, "utf8");
$user = JFactory::getUser();
$con1= mysqli_query($con1, "select * from inscriptions where Userid = $user->id");
while ($row = mysqli_fetch_assoc($con1)) {
echo "N?vel desejado: ". $row["NivelDesejado"];
}
?>
Any idea?
Thank you in advance...