05/29/19
Insert new item in array on any position in PHP?
How can I insert a new item into an array on any position, for example in the middle of array?
05/14/19
How to get the client IP address in PHP?
How can I get the client IP address using PHP?
I want to keep record of the user who logged into my website through his/her IP address.
05/13/19
How do I check if a directory exists via PHP?
I want to create a directory if it does'nt exist.
Is using `is_dir` enough for that purpose?
if (!is_dir($dir)) {
mkdir($dir);
}
Or should I combine `is_dir` with `file_exists`?
...
more
05/10/19
Difference between id and name attributes in HTML?
What is the difference between the `id` and `name` attributes? They both seem to serve the same purpose of providing an identifier.I would like to know (specifically with regards to HTML forms)...
more
05/08/19
How to select date without time in SQL?
When I select date in SQL it is returned as `2011-02-25 21:17:33.933`. But I need only the Date part, that is `2011-02-25`. How can I do this?
04/28/19
What is Ad Hoc Query?
I'm reading a book about SQL. In that book there's the term _Ad Hoc Query_, which I don't understand.
What exactly is an ad hoc query?
04/18/19
How do I get the current date and time in PHP?
Which PHP function can return the current date/time?
Still looking for help? Get the right answer, fast.
Ask a question for free
Get a free answer to a quick problem.
Most questions answered within 4 hours.
OR
Find an Online Tutor Now
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.