<?php
//Connect to the DB
mysqli_connect("localhost","YOUR_MYSQL_USER","YOUR_MYSQL_PASSWORD","YOUR_DB");
if(isset($_POST['generate'])) // Starts the generation once the "Generate button is clicked.
{
mysqli_query("SELECT email,password FROM netflix ORDER BY RAND()"); //Is grabbing a random account from the DB
$email = null;
$password = null;
while($row = mysqli_fetch_array())
{
$email = $row['email'];
$password = $row['password'];
}
echo '<p><small>Account:</small></p><pre style="min-width:auto;display:table;">'.$email.':'.$password.'</pre>Format: <b>email:password</b> <span style="width:310px;">Please don\'t change any information!</div>';
}
?>
<form method="POST">
<button type="submit" class="btn btn-default" name="generate">Generate</button><br>
<small>Click Generate to get a Netflix account.</small>
</form>
<?php
if(isset($_POST['generate'])) // Starts the generation once the "Generate button is clicked.
{
mysqli_query("SELECT email,password FROM netflix ORDER BY RAND()"); //Is grabbing a random account from the DB
$email = null;
$password = null;
while($row = mysqli_fetch_array())
{
$email = $row['email'];
$password = $row['password'];
}
echo '<p><small>Account:</small></p><pre style="min-width:auto;display:table;">'.$email.':'.$password.'</pre>Format: <b>email:password</b> <span style="width:310px;">Please don\'t change any information!</div>';
}
?>
<form method="POST">
<button type="submit" class="btn btn-default" name="generate">Generate</button><br>
<small>Click Generate to get a Netflix account.</small>
</form>
<?php
//Connect to the DB
mysqli_connect("localhost","YOUR_MYSQL_USER","YOUR_MYSQL_PASSWORD","YOUR_DB");
if(isset($_POST['generate'])) // Starts the generation once the "Generate button is clicked.
{
mysqli_query("SELECT email,password FROM netflix ORDER BY RAND()"); //Is grabbing a random account from the DB
$email = null;
$password = null;
while($row = mysqli_fetch_array())
{
$email = $row['email'];
$password = $row['password'];
}
echo '<p><small>Account:</small></p><pre style="min-width:auto;display:table;">'.$email.':'.$password.'</pre>Format: <b>email:password</b> <span style="width:310px;">Please don\'t change any information!</div>';
}
?>
<form method="POST">
<button type="submit" class="btn btn-default" name="generate">Generate</button><br>
<small>Click Generate to get a Netflix account.</small>
</form>
Copyright © 2024, NextGenUpdate.
All Rights Reserved.