i am new to PHP , i want to append data like query string and data i will recieve by $_GET[]
or $_POST[]
, but have facing a problem
i have done something like this <a href="?ref=login_detail?id=<?php echo $car_id; ?>">Hello</a>
this ?ref=login_detail
is a function which navigate me to another page. How can I pass $car_id
to anchor tag so that is available in another page?
Here is function
public function login_detail(){
include('display/car_detail.php');
}