$guest_username = 'misafir'.$_COOKIE['guest'];
On that line you probably have the error. The $_COOKIE won't be set until the next browser load. So you'd want to change that line to:
$guest_username = 'misafir'.$a;
stickman373 said:
$guest_username = 'misafir'.$_COOKIE['guest'];
On that line you probably have the error. The $_COOKIE won't be set until the next browser load. So you'd want to change that line to:
$guest_username = 'misafir'.$a;
man you saved my life! :) thank you so much.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community