Thanks for answer, but still I am having problem of undefined index even I included func.inc.php in index.php. And all undefined index pointing to 'search_results function'. Perhaps there is some other mistake and I couldn't figure out even though there is no error in code. Let me know or I can send you those files to check where mistake happening. Thanks!
it keeps telling me Warning: Missing argument 1 for search_results(), called in C:\xampp\htdocs\business\search.php on line 40 and defined in C:\xampp\htdocs\business\func.inc.php on line 6
Notice: Undefined variable: search in C:\xampp\htdocs\business\func.inc.php on line 13
Array ( [0] => ) Your Search For hello returned no results
guys
just replace htmlentities() with htmlspecialchars()
A7madPro 4 hours ago
To fix the undefined index problem. Use error_reporting(0);
WEEDKILLAR 3 months ago
Thanks for answer, but still I am having problem of undefined index even I included func.inc.php in index.php. And all undefined index pointing to 'search_results function'. Perhaps there is some other mistake and I couldn't figure out even though there is no error in code. Let me know or I can send you those files to check where mistake happening. Thanks!
viqaramjadmir 3 months ago
@viqaramjadmir
Had the same issue. I forgot to include function.inc.php in the index.php file. Hope this helps.
McRobottz 3 months ago in playlist se
search_results($keywords)
I am getting error message on search_result about undefined index while running in browser. Can anyone help on this search_results function?
viqaramjadmir 4 months ago
it keeps telling me Warning: Missing argument 1 for search_results(), called in C:\xampp\htdocs\business\search.php on line 40 and defined in C:\xampp\htdocs\business\func.inc.php on line 6
Notice: Undefined variable: search in C:\xampp\htdocs\business\func.inc.php on line 13
Array ( [0] => ) Your Search For hello returned no results
what do i do?
TheCowch1 5 months ago
In the regular expression at 3:10, it is necessary to use square brackets?
solde99 9 months ago
@vavadesigns In other words, I wasn't paying to close attention :p
Acceptable76 9 months ago
@vavadesigns Oh wow Vava, I didn't realize he made a function. *Facepalm* XD sorry. I thought it was a function 'built-in' to PHP.
Acceptable76 9 months ago
I never knew there was a function called 'Search_results'. That's kind of weird.thanks for the tut.
Acceptable76 9 months ago