Generate a random number of specific amount of digits in PHP
I need to create a random number with a specific amount of digits. How can I do this in PHP?
Latest news, tutorials, and updates from the PHP community
7044 articles available
I need to create a random number with a specific amount of digits. How can I do this in PHP?
I need a regex that matches the alphanumeric patterns except totally numeric ones. [Code Block]
What's the meaning of ?P in this statement: [Code Block]
I have a script that takes a while to process, it has to take stuff from the DB and transfers data to other servers. At ...
I just have a little question about a query making me crazy. I'm working with CI, and tis is the first time i'm using th...
I'm trying to count the number of rows of a DB table that matches some criteria. Now I have the following code: [Code Bl...
I get the following error when I try to run the project created by Zend Framework. Its looking for Zend/Application.php ...
I'm new to PHP (used to Python) and I've been instructed to create something that will allow users to CRUD entries. I wa...
I have an HTML table full of inputs populated by data in a database table. I generate a form for each row as a separate ...
Here's my sample code. [Code Block] What I want to achieve is to have a student # before birthday in reverse order. [Cod...
I want to count the total unique records from the table called "songs_tbl" from my database. I wrote this function in my...
I'm trying to pass along the question AND the id of the question in the first query and then with that id get that poll'...
Showing 6277 to 6288 of 7044 articles