PHP date() format when inserting into datetime in MySQL
What is the correct format to pass to the `date()` function in PHP if I want to insert the result into a MySQL `datetime...
Latest news, tutorials, and updates from the PHP community
6985 articles available
What is the correct format to pass to the `date()` function in PHP if I want to insert the result into a MySQL `datetime...
Is there an existing way to parse the `HTTP_RANGE` header correctly in PHP? Thought I'd ask here before re-inventing the...
I'm getting the following error whenever I try to post something with an apostrophe in it: [Code Block] For example when...
I'm currently creating a new neat CLI library for PHP, and i'd like to figure out the width/height of the console it's r...
I am working on a website using CI. Here is the structure of my controller: class MY_Controller extends Controller class...
I am writing a PHP script (which also uses linux bash commands) which will run through test cases by doing the following...
I simply need to sum the value of about 15 columns (say, 20-35) in codeigniter. What's the best way to do this?
I would like to know how you upgrade PHP in Xampp for Windows? I tried to download the latest PHP version from the main ...
I'm using FOP to generate PDF files. What's the best way to either include another PDF file in a PDF generated by FOP or...
When doing this job in PHP, one may meet this kind of issue: [Code Block] The problem is that if `$variable` contains do...
So I have a vbs script: [Code Block] I'm calling this vi php exec call through apache with cscript.exe. The point of the...
I'm trying to force a download of a protected zip file (I don't want people to access it without logging in first. I hav...
Showing 6817 to 6828 of 6985 articles