03-22-2017, 08:10 AM
Yes, I have added a column to the DB and it works like intended.
Let's say the column contains 1234567.
I can echo $user->data()->MyOwnColumn and it will correctly display "1234567".
I can also do the following:
and that will correctly display "1234567"
I can reload the following using javascript:
I can't reload the following using javascript:
Maybe it's a javascript limitation?
Thanks
Let's say the column contains 1234567.
I can echo $user->data()->MyOwnColumn and it will correctly display "1234567".
I can also do the following:
Code:
$test_var = file_get_contents('http://awebsite.com/'.$user->data()->MyOwnColumn.'/other/stuff', NULL, NULL, 5, 2);
Code:
echo $test_var;
and that will correctly display "1234567"
I can reload the following using javascript:
Code:
$test_var = file_get_contents('http://awebsite.com/1234567/other/stuff', NULL, NULL, 5, 2); echo $test_var;
I can't reload the following using javascript:
Code:
$test_var = file_get_contents('http://awebsite.com/'.$user->data()->MyOwnColumn.'/other/stuff', NULL, NULL, 5, 2); echo $test_var;
Maybe it's a javascript limitation?
Thanks