PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Notice: Undefined variable: i in /home/haukaas/public_html/new/search.php on line 14
Notice: Undefined variable: i in /home/haukaas/public_html/new/search.php on line 15
Notice: Undefined variable: i in /home/haukaas/public_html/new/search.php on line 16
Notice: Undefined variable: i in /home/haukaas/public_html/new/search.php on line 17
Notice: Undefined variable: i in /home/haukaas/public_html/new/search.php on line 18
Notice: Uninitialized string offset: 9 in /home/haukaas/public_html/new/search.php on line 38
Warning: Invalid argument supplied for foreach() in /home/haukaas/public_html/new/search.php on line 25
Warning: Cannot modify header information - headers already sent by (output started at /home/haukaas/public_html/new/search.php:14) in /home/haukaas/public_html/new/search.php on line 76
Notice: Undefined variable: i in /home/haukaas/public_html/new/search.php on line 14
Notice: Undefined variable: i in /home/haukaas/public_html/new/search.php on line 15
Notice: Undefined variable: i in /home/haukaas/public_html/new/search.php on line 16
Notice: Undefined variable: i in /home/haukaas/public_html/new/search.php on line 17
Notice: Undefined variable: i in /home/haukaas/public_html/new/search.php on line 18
I also added a new function called wordExist where I deleted the following:
Notice: Uninitialized string offset: 9 in /home/haukaas/public_html/new/search.php on line 48
Warning: Cannot modify header information - headers already sent by (output started at /home/haukaas/public_html/new/search.php:48) in /home/haukaas/public_html/new/search.php on line 86
Warning: Cannot modify header information - headers already sent...
you get this error if you use the php redirect function after lines of code( php or html) which echo something to the screen.so structure your code such that your redirect statement comes before any line which echos something to the screen.
Warning: Cannot modify header information - headers already sent by (output started at /home/haukaas/public_html/new/search.php:48) in /home/haukaas/public_html/new/search.php on line 86
then look at the line (output started at /home/haukaas/public_html/new/search.php:48) you echo'ed something there or just have an empty string above your PHP code
Notice: Undefined variable: redir in /home/haukaas/public_html/new/search.php on line 6
Warning: Cannot modify header information - headers already sent by (output started at /home/haukaas/public_html/new/search.php:6) in /home/haukaas/public_html/new/search.php on line 6