answersLogoWhite

0

What else can I help you with?

Continue Learning about Basic Math

How would you rewrite 7 to the power of x equals 5?

7x = 5x log(7) = log(5)x = log(5) / (log(7) = 0.82709 (rounded)


How do you write login and logout code in php?

Have a session_start(); at the very top of the page in php like this: <?php session_start(); ?> Then write a login form: <form action="login.php" method = "POST"> <input type = "text" name = "username"> <input type = "password" name = "password"> <input type = "submit" value = "submit"> </form> now start a new page called login.php. Put session_start(); at the top of the page again. Now you'll have two different $_POST variables from the form that got submitted. It's $_POST['username'] and $_POST['password']. the "name" of the input is what the $_POST variable is. And it's a $_POST because of the method of the form. Now you should change the names of the $_POST just to make it easier. <?php $username = $_POST['username']; $password = $_POST['password']; ?> Now it's time to see if that username and password are in the database <?php $mysql = "SELECT COUNT(*) FROM users WHERE username = '$username' AND password = '$password'"; // Select statement to find user $query = mysql_query($mysql); // Query to see if user exists $result = mysql_query($query); // Result for query. Should be either 1 or 0. if ($result != 1) { ?> <script> alert ("That username or password doesn't exist"); </script> <meta http-equiv="refresh" content = "1; URL = index.php"> <?php // Javascript alert saying that username or password was wrong then loading the page back to the main page. } else { $_SESSION['username'] = $username; // Setting the variable for the username so now you can use $_SESSION['username'] anywhere on your website to display who is logged in. } ?> You have to put session_start(); at the top of every webpage though. Now for the logout. Create a page called logout.php. You can link to this page however you'd like. All you need for this page is: <?php session_destroy(); //destroys the current session <meta http-equiv="refresh" content = "1; URL = index.php"> //Reloads the page back to the index.php ?>


What is percent APPDATA percent?

Uh...I don't know why this is in math, as that has no relevance here. %Appdata% is a location on your computer, usually at C:\Users\*Username*\Appdata\Roaming\ where *username* is your computer login. Most of your software won't really run without the files that apply to them here.


What is the value of log 5 19 rounded to the nearest hundredth?

5.00


What dose dd mean?

to get Roxy on moshimonsters when you log in to the game type in the secret code box HOBBIDIDANCE and then press log in you will have in your bag of flowers random Roxy rose plant it with to other random seeds members not members