Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // Database connection.
- mysql_connect("localhost", "root", "admin");
- mysql_select_db("drupaltheme");
- $resultFindMode = mysql_query("SELECT mode_id FROM freeway_mode where sr_id = 1");
- while ($recordUsPw = mysql_fetch_object($resultFindMode ))
- {
- $modeValueUsPw = $recordUsPw->mode_id;
- }
- if ($modeValueUsPw == '1'){
- $globalResult = mysql_query("SELECT freeway_global_username,freeway_global_password FROM freeway_global_user where sr_id = 1");
- while ($recordUsPwGl = mysql_fetch_object($globalResult)){
- $fusername = $recordUsPwGl->freeway_global_username;
- $fpassword = $recordUsPwGl->freeway_global_password;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement