PHP

Welcome to the portal about PHP.

New Topics

PHP: Date Format for MySQL INSERT
I want to write a date into a DATETIME or TIMESTAMP column of a MySQL table in my database. Which format should I use for...
Question | 1 Answer
PHP: Check if session already exists - Prevent error "A session had already been started"
I am working with sessions in one of my PHP scripts. From time to time, unfortunately, it happens, that apparently already a PHP...
Question | 2 Answers
HTML Form: Redirection depending on Radiobutton or Checkbox State
Today I want to show you how you can implement an automatic forwarding with PHP after submitting an HTML form. It should be...
Tutorial | 0 Comments
PHP: Read Textarea Line by Line as Array
I have an HTML form that can be submitted to a PHP script via POST to process the data. Among other things, my form contains a...
Question | 1 Answer
PHP: Function with 2 or more return values
Is PHP providing any possibility with which a function is able to return more than one single result value? For example, I have...
Question | 1 Answer
PHPExcel: Leading Zeros
I am using the library PHPExcel for creating and offering for download an Excel file created with PHP. It is working quit...
Question | 1 Answer

New Answers and Comments

Guest: Great! Thanks sir! The answer really simple and based on my problem. And Thanks! This solved my...
Question | PHP: Cut first and last Character from String
Guest: No true. Still works. header('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); header('Cache-Control:...
Question | Clear browser cache using PHP?
Guest: setWrapText is not working in office 2013 but it works in 2007...
Question | PHPExcel: Create Multi Line Cell
Stefan Trost: MySQL requires a date in the format YYYY-MM-DD SS-MM-SS. You get this format with the format string "Y-m-d H:i:s": ...
Question | PHP: Date Format for MySQL INSERT
NetLabel: You can also use the PHP function session_status() to check if there is currently a session. If a session is open, you will get back...
Question | PHP: Check if session already exists - Prevent error "A session had already been started"
Computer Expert: You can easily check with isset(), if there is already a session or in your case, if no session is open. You do that as follows:...
Question | PHP: Check if session already exists - Prevent error "A session had already been started"

Popular Topics

Show all

 

Unanswered Questions

Participate

Everyone can participate in Askingbox. Open your topic directly in this category:

 

If you should have further questions: How to do.