1
I created a search system.
Tabela Sessions
ID - NAME - SESS - EPISODE
Tabela Movie
ID - Movie_id, Movie_Name
What I intend to do is make a select thus:
SELECT id, name, sess, episode FROM sessions WHERE name LIKE '%" . $name . "%' AND user_id ='$sessionID'
Only instead of looking for the name
, seeks the Movie_Name
. That is, it seeks the name
(sessions
) and tell me if it’s the same as Movie_id
(movies
), if it is shows the movie_name
.
this error appears, how do I add ID and NAME to do in Loop afterwards? ->> Notice : Undefined index: id in C: xampp htdocs htdocs library.php on line 269 Notice : Undefined index: name in C: xampp htdocs htdocs library.php on line 269
– user77053