Does anyone know how I can pass a variable using require_once?<?php @ require_once ("myfile.php?myvar=myvalue"); ?>
I don’t know if I’m using php in an unusual way. But I basically have an HTML file that I gave a .php extension to, so I could use the code above. I can get it to work without the variable. I tried _POST and _GET in the php file, but I can’t seem to read the variable.
Thanks in advance for any help,