I have two tables as shown below:
Table 1: Actor.............................Table 2: Movie
Field:...ID.....Last......First..............Field:...ID.....Last......Movie
...........1.....Willis......Bruce.......................1.....Willis......Die Hard
...........2 ....Cruze....Tom..........................2.....Cruze.....MI-III
...........3.....Pitt.......Brad
...........4 ....Depp.....Johnny
Then I JOIN the tables with Query which works fine, following is the result:
Field:...Last......First........Movie
..........Willis......Bruce......Die Hard
..........Cruze....Tom.........Cruze MI-III
..........Pitt.......Brad
..........Depp.....Johnny
MY QUESTION: What is stored in the Movie column for Brad Pitt and Johnny Depp? Is that value NULL? or is that value EMPTY? What is it?
Because I want to create IF clause as follows:
IF ($Movie = String)
{ Do this }
else
{ Do that }
I appriciate this very much. Hope this makes sense.





Bookmarks