while using below code the error is : Warning: Cannot modify header information - headers already sent by (output started at.......................)
please help frnds.......................plz
<?php header('Location:index.php?menu=18');?>
while using below code the error is : Warning: Cannot modify header information - headers already sent by (output started at.......................)
please help frnds.......................plz
<?php header('Location:index.php?menu=18');?>
It probably means you have output / whitespace etc before the redirect. You can't have any output to the screen (echo, print, html, whitespace, errors) before this.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.