I am using a php file (which in essence is HTML, but with variables), where I have variables such as $url
, which contains the link to another .PHP file. The question is that in this link I also have information that I want to extract in the php that it calls.
To open the second php, I do it this way:
<a href='<?php echo $url ?>' class="oval"> ACEPTAR </a>
Is there any way to collect the variable $url
in another php? (sending it when calling said php, for example).
Looking for this topic I found the function ob_get_contents();
but I'm not sure how to apply it for this case Would this function be valid?