I make a table with number 22 as the column name. How to access this column?
content:
I\'ve tryed thest
$obj = Tablename::f
if you always know the name is 22, you can do this.
$myfield = 22; dd($obj->$myfield);
I tested it and it returns the value in the 22 field correctly.