•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 392,068 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,310 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 1221 | Replies: 2
![]() |
•
•
Join Date: Jan 2005
Location: Sheffield, UK
Posts: 294
Reputation:
Rep Power: 4
Solved Threads: 6
Not sure why you call function. the below script should work.
$R = rand (1,100000000000000);
$sql = "INSERT INTO boleto (numero) VALUES ('$R')";
mysql_query($sql) or DIE("ERRO Mysql: ".mysql_error()); Ecommerce-Web-Store.com Building Your e-Business.
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb PHP Marketplace
Similar Threads
- Random number generator's (C++)
- Passing a filestream, how? (C++)
- help understanding how this program works (C)
- Scaling and shifting (C)
- Enum, struct, and pointer? (C)
- Random number generation (C)
Other Threads in the PHP Forum
- Previous Thread: calling a SQL UDF?
- Next Thread: Search two tables


Linear Mode