The code “$crud->setRelation(‘station_id’,‘eco_stations’,‘station_name’);” works correctly on my localhost, but after uploading it to my cPanel, I cannot see the dropdown values.

It is true $crud->setRelationdoes not work

Hello @eduarborot2307 / @dixonrutha ,

Unfortunately, I can’t reproduce the issue that you are referring to. Can you please give us more info?

For example your $crud functions that you are using. PHP version that you use and framework that you are at?