Hello guys how to access url value in php after redirecting a user to other page | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Hello guys how to access url value in php after redirecting a user to other page

Forexample Header(“location:login.php?error=emptyinputs); Then i want to obtain the error value.

13th May 2022, 8:43 PM
drizzle boe
2 Answers
+ 1
Have you tried checking and/or reading $_GET[ "error" ] inside login.php
14th May 2022, 6:22 AM
Ipang
0
Ok thanks dude it worked
30th May 2022, 2:18 AM
drizzle boe