so ive coded a script to insert into database in a function way and it accidentally inserted 4x with one click.
Script:
$user = new User($this->con);
$block_io = new BlockIo($this->apiKey, $this->version);
if(!empty($_POST['deposit']))
{...
so im basically making a code that it determine if the link is correct what array has in it and if its not it'll lead to a 404 page and code to big to fit here.
Alright hi guys i havent been one for ages, oh well but heres my problem i havent coded for a while so its a little rusty
$host2 = $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'];
$link2 = array ('index.php', 'home.php?home', 'home.php?register', 'home.php?personal'...
I know i havent been on for a while and i haven't code for a while so help me out.
- func.php
<?php
$min=1;
$max=60000;
$user1 = $_SESSION['user'];
$req = mysql_query("SELECT * FROM user WHERE username='$user1'");
while($rows = mysql_fetch_array($req))...