I'm trying to make an link that when clicked redirects to a php page called din.php and makes use of another php page called coleta2 to put some data inside a table in database. I tried to put coleta2 as a value in the href but didn't work, tried to put as two <a>
tags but also didn't work, any ideas to do this? The coleta2.php don't have any html is just an if that puts the data.
<a href="din.php?tipo=1&tab=tb_locaisac" class="fund" value="coleta2.php?tipo=1&estado=ac">Locais turisticos de Rio Branco</a></a>
I get this error:
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at C:\wamp64\www\novo\logado\locais\din.php:160) in C:\wamp64\www\novo\logado\locais\coleta2.php on line 2