I want to create a popup welcome message for the first time a user logs in.
Im stuck on how to get the pop up working.
I wanted to use this:
http://www.sohtanaka.com/web-design/inline-modal-window-w-css-and-jquery/
Can you call it using a php if statement?
This is what I have so far.
if($ir['timesloggedin'] == 0)
{
print" Welcome Messgae Here!";
}
mysql_query("UPDATE `users` SET `timesloggedin`=`timesloggedin`+1 WHERE `userid`=$userid");
Thanks.