Hello. Ive got a weird problem.. - Ive done hundreds of PHP scripts (normal PHP & Smarty PHP) 7 have not come accross this situation.
basically, my PHP script works fine, no problems.. But the HTML output ALSO shows another / second page that says PAGE NOT FOUND. (this 2nd page is mine - my HTML too..)
The 2nd page appears below my wanted/regular page
ive got a regular exit command after the programme i want to run, but apparently its 'continuing' & processing my 404 command error too..
the only thing (apart from PHP) is my htaccess file..
i think its to do with htaccess thats causing the problem.
RewriteRule ^([0-9a-zA-Z_]+)/([0-9a-zA-Z_]+) production.php?first=$1&second=$2 [NC,L]
ErrorDocument 404 404pr.php
the index.php file includes my production.php file (as its only command)