First, make sure that the URL in the browser's address bar includes the GET parameter you are trying to retrieve. For example, if you are trying to retrieve a parameter named "id", the URL should look something like this: http://example.com/pages.php?id=123&f=G 3. If the parameter is not present in the URL, then PHP will not be able to retrieve it.
$_GET['fname']; not working. get parameter not working dashboard.php?flt_id=28&fname=G+3
Request Showing G 3
Check it out, the parameter you pass contains space. for this space, the plus sign comes between two words. so try to pass parameters without space. You can solve it by using the str_repalce() function.
use str_replace();
$var =$_GET['fname'];
$result=str_replace(' ','+',$var);
Today we will learn how to verify email id while signup. it's very important for the real user. You ..
This is a common problem for those of you who are new to coding. While coding we often make some syn..
Warning: session start() [function.session-start]: Cannot send session cache limiter - headers alrea..
Before we use the PDO, we will know why we will use PDO.PDO Only supports object-oriented.It has man..
Deprecated: autoload() is deprecated, use spl autoload register() instead. How to replace this (my a..
getimagesize() is a PHP function that returns an array containing information about the size and typ..
Today we will know - How to login with otp in php. Here we will use php,mysql & ajax. Before tha..
Get the latest news and updates by signing up to our daily newsletter.We won't sell your email or spam you !