Find Jobs
Hire Freelancers

quick project- to solve php issue uniqe id number.(code included)

$2-8 USD / hour

Закрито
Опублікований over 3 years ago

$2-8 USD / hour

Hello , i have a php project, i need to have a unique id number. I generate a random number and then check if the number exists in db, if it exists , i create another random number. the problem is even sometimes the second generated number is also in database and is not unique. So i need to run this code of generating a random number until its unique. code below $id=(rand(10001,99999)); $query=$connnect_database->query("SELECT * from users where id='$id'"); $find=mysqli_num_rows($query); if($find==0){ $final_id = $id; }else{ $final_id=(rand(10001,99999)); }
ID проекту: 28586300

Про проект

21 пропозицій(-ї)
Дистанційний проект
Активність 3 yrs ago

Хочете заробити?

Переваги подання заявок на Freelancer

Вкажіть свій бюджет та терміни
Отримайте гроші за свою роботу
Опишіть свою пропозицію
Реєстрація та подання заявок у проекти є безкоштовними
21 фрілансерів(-и) готові виконати цю роботу у середньому за $6 USD/год.
Аватарка користувача
Dear sir/madam, My self Aman I have more then 10 years of experience in Development. I have checked your posted Job Description as per my understanding we need to solve PHP website issues based on your job description. For more discussion like what functionality you want into your website kindly send me message on Freelancer so that we can discuss your job requirement in details and based on our discussion I will give you best solution. Thanks, Aman.
$7 USD за 40 дні(-в)
4,9 (345 відгуки(-ів))
7,9
7,9
Аватарка користувача
Hi, I hope you are doing great..! I am highly interested in your job & would love to discuss your job details so we can understand everything better to deliver you the desired work. Please come over chat for further detailed discussion to start working on it. Waiting for your response. Thanks Guarav A.
$8 USD за 40 дні(-в)
4,9 (165 відгуки(-ів))
7,6
7,6
Аватарка користувача
Hello sir, My Name is Naresh and I'm currently working with Web Development and Web Design. and I have "5+ year of experience" in Web Development and Web Design. I'm ready to do this project work based on your requirement. I would like to work with you. Thanks
$5 USD за 40 дні(-в)
5,0 (177 відгуки(-ів))
6,3
6,3
Аватарка користувача
The md5(uniqid()) function generates a unique ID based on the microtime (the current time in microseconds) solved with a coffee please
$5 USD за 40 дні(-в)
5,0 (32 відгуки(-ів))
6,1
6,1
Аватарка користувача
Hello, I am sure that I will give you good result about creatding unique and random number using PHP I build to your specs and also make sure to meet your time deadline. Any suggestion and recommendation will be welcomed with a smile. Best Regards Sarsenov
$5 USD за 40 дні(-в)
5,0 (13 відгуки(-ів))
5,5
5,5
Аватарка користувача
We have just gone through the requirements and random number task sounds really interesting and We would love to work on it. We are the team of IT professionals, with experience of 6+ years in Web technologies/Mobile Application development, Software development. We look forward to hear back for great opportunity to work with you. Client satisfaction is our primary goal. Thanks & Regards CSCODETECH
$7 USD за 40 дні(-в)
5,0 (82 відгуки(-ів))
5,5
5,5
Аватарка користувача
Hello, This problem can be solved generating a Universally Unique ID (UUID) and also set the linked field in database as unique. I can help you solve the problem. Feel free to contact me on chat for details. Thanks.
$8 USD за 40 дні(-в)
4,8 (24 відгуки(-ів))
5,3
5,3
Аватарка користувача
✅I have worked on similar projects to what you are looking for, and I am confident I can exceed your expectations. I can complete your project on time and within your budget. My skill matching with your project requirement so I am really interested to do this project. I deliver you quality plus work. Your satisfaction is my first priority. Please let me know your requirement. Let’s have a quick chat. Thank you.
$5 USD за 40 дні(-в)
4,9 (26 відгуки(-ів))
4,7
4,7
Аватарка користувача
Hello, i can solve it. can we discuss more. I have 7 years of experience in web and mobile app development. I have developed many websites and mobile apps, I can share my previous work links. Can we have more discussion. Note - Final cost and time will be decided once we have complete discussion. Thank you
$8 USD за 40 дні(-в)
4,7 (16 відгуки(-ів))
4,9
4,9
Аватарка користувача
Hi, I am confident about your project to solve PHP issue unique id number. I can easily fix this issue. I am the best person for this job. I would love to work with you and start this job right now and deliver this within short time. You can check my Freelancer profile at https://www.freelancer.com/u/rahadkp50 to read the comments and reviews from my previous clients. I am 10+ years professional and Lets discuss more over chat. Note: I'm Full time freelancer I have no timing issue you will get my support 24x7. Thanks
$7 USD за 40 дні(-в)
5,0 (27 відгуки(-ів))
4,6
4,6
Аватарка користувача
Hello, I have checked your code and I am having one solution for it. I will be looking forward to your positive response. Thanks!
$6 USD за 40 дні(-в)
5,0 (5 відгуки(-ів))
4,3
4,3
Аватарка користувача
Hi "I CAN START PROJECT RIGHT NOW" I have review your post carefully and interestly. You will be fascinated by my skills. i'd like to help and finish your project. So, I think that I can complete your project perfectly. Also, I can satisfy you with time and quality. And I will always be with your time. You won't regret to hire me. Please let's discuss more detail through via chat. Best regards, CHEERS
$8 USD за 40 дні(-в)
5,0 (3 відгуки(-ів))
2,1
2,1
Аватарка користувача
Hello, I have read your description. I can help you to complete your code. We can create a recursive function to check id again and again unltil unique id is not genretated. Thank you. regards, Neeraj Agrawal
$6 USD за 40 дні(-в)
3,6 (3 відгуки(-ів))
1,8
1,8
Аватарка користувача
Ready to work with you. I am having 11+ years of experience in IT and worked with multiple clients world wide
$5 USD за 40 дні(-в)
5,0 (1 відгук)
0,8
0,8
Аватарка користувача
I have done all this work as an associate for backend development . It may look I am new from my profile as its a new platform for me but I can assure that I will deliver your project on time and as per your requirements .
$6 USD за 40 дні(-в)
0,0 (0 відгуки(-ів))
0,0
0,0
Аватарка користувача
Hi, I am not expert in PHP but I have a solution for your problem. I have tested my solution and it is working. Please text me.
$2 USD за 1 день
0,0 (0 відгуки(-ів))
0,0
0,0
Аватарка користувача
I did already the same kind of task in my project. So I can solve your need. Please ping me you okay on my deal.
$6 USD за 1 день
0,0 (0 відгуки(-ів))
0,0
0,0

Про клієнта

Прапор HONG KONG
Central, Hong Kong
5,0
2
Спосіб оплати верифіковано
На сайті з лист. 23, 2020

Верифікація клієнта

Дякуємо! Ми надіслали на вашу електронну пошту посилання для отримання безкоштовного кредиту.
Під час надсилання електронного листа сталася помилка. Будь ласка, спробуйте ще раз.
Зареєстрованих користувачів Загальна кількість опублікованих робіт
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Завантажуємо для перегляду
Дозвіл на визначення геолокації надано.
Ваш сеанс входу закінчився, і сеанс було закрито. Будь ласка, увійдіть знову.