连接到2个php页面的链接[重复]

This question already has an answer here:

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 ovo\logado\locais\din.php:160) in C:\wamp64\www ovo\logado\locais\coleta2.php on line 2

</div>

Use PHP'S include method above the doctype.

Do as so: include('coleta2');