Jump to content

How to fix: Warning: stristr(): Empty needle in c:


Chuks

Recommended Posts

I was trying to use Ajax to  to communicate with the server while a user types characters in the input field.

After creating the HTML code, and the PHP file, on testing it I got the error message: "Warning: stristr(): empty needle in C:\wamp\www\php\revision\ajax\gethint.phponline 50". 

I don't understand or know how to get around the error.

Please help

( ! ) Warning: stristr(): Empty needle in C:\wamp\www\php\revision\ajax\gethint.php on line 50
Call Stack
# Time Memory Function Location
1 0.0002 385600 {main}( ) ...\gethint.php:0
2 0.0002 386544 stristr ( ) ...\gethint.php:50

 

 

ajax and php.php gethint.php

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...