i have an customers i want to add IP address to these customers i used loop $i=254 to add ip address automatically but it's give 1.1.2.254 to all the customers how can i fixing it
i need to make loop if the 1.1.2.254 is existing for customer 1 !! use the next 1.1.2.253 for customer 2
$i=254 $res = MySQL_query("INSERT INTO `rm_users`(`username`, `staticipcpe`) VALUES ('$username', '1.1.2.$i'); $i--
https://stackoverflow.com/questions/65744493/if-the-1-1-2-254-is-existing-in-my-database-use-the-next-1-1-2-253-proplem January 16, 2021 at 06:43AM
没有评论:
发表评论