Share |

Mailing List Mysql

mailing list mysql
What is the equivalent of this function php jsp?

SendRedirect (page.jsp "), then plz tell me what to write a PHP script in the following cases: – There should be options to enter a username and password (I know how to tell by the shape) and click on a link (as is the way in Yahoo Mail). Now, after clicking the Connect button, check your username and password entered are valid or not (are stored in a MySQL table) and if true, then the command should go to a new page list.php know

$ Conn = mysql_connect ('host', 'User', 'Passw … mysql_select_db ('database', $ conn); SQL1 $ = "Select users where user_id']."' uid And password = [PASSWORD ('".$_ POST [']."')"; $ pwd = mysql_query POST Rs ='".$_ user_id (SQL1 $, $ Conn) or die ("Unable to execute:". Mysql_error ($ conn)) if (mysql_num_rows ($ rs) == 0) ($ msg = "User ID and incorrect password "header (" Location: login.php ")) else (session_start (); $ row = mysql_fetch_array ($ rs), directed] UID $ _SESSION POST ['']=$_ ['"(" Location: page.php ");)

Tutorial: How to Create a Mailing List


Leave a Reply

CommentLuv badge