Help me how can i doo?"> Insert in Dropdown column data from table by ID user - Forums

Forums

Insert in Dropdown column data from table by ID user

webkruter 08 Dec, 2014
Hello,
Pls Help me with my problem. I can output all column data from table into dropdown , but I need output in dropdown only column data by user id

I insert in custom code


<?php
$user = JFactory::getUser();
$con=mysqli_connect("server, "username",
"password", "databasename");
// Check connection
if (mysqli_connect_errno())
{
echo "Error: " . mysqli_connect_error();
}
$FormData = mysqli_query($con,"SELECT * FROM
"tablename" WHERE user_id=".$user->get("id")." 
?>


Help me how can i doo?
Max_admin 10 Dec, 2014
Hi webkruter,

Please check my reply here:
http://www.chronoengine.com/forums/posts/t98290/p340341/insert-in-dropdown-data-from-table-by-id-user.html#p340341

Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
This topic is locked and no more replies can be posted.