Topic: htmlspecialchars() and preg_match() errors.
Hello~ I'm having some trouble with getting the news on my website to show. I'm having some errors, which I have shown below.
WARNING: htmlspecialchars() expects parameter 1 to be string, array given in /HOME/SKYBLADE/PUBLIC_HTML/RAPTURE/CUTENEWS/INC/FUNCTIONS.INC.PHP on line 66
line 66: $start_from = htmlspecialchars($start_from);
WARNING: preg_match() expects parameter 2 to be string, array given in /HOME/SKYBLADE/PUBLIC_HTML/RAPTURE/CUTENEWS/SHOW_NEWS.PHP on line 44
line 44: else{ die("Error!
the template [b]".htmlspecialchars($template)."[/b] does not exists, note that template ...etc
What can I do to fix this up so that everything works again? It's the only thing on my website that is stumping me. ^^;
Thank you for the help!