How to conditionally include/exclude a subarray in an associative multidimensional array
I need help with my code. The if statement will check session for user privilege. If it's admin it will show the `active...
Latest news, tutorials, and updates from the PHP community
7044 articles available
I need help with my code. The if statement will check session for user privilege. If it's admin it will show the `active...
Suggested that we have this SQL text with 3 MySQL commands: [Code Block] The first and third SQL are valid, the second i...
I'm trying to create an array from a loop in PHP. I want the array to end up something like $array(100,100,100,100), thi...
I have a following problem, I have HTML form that uploads a file with some extra information. But it allows to upload fi...
Ok so lets say I have a variable `$css` that contains some CSS code. What I want to do is to add a certain text in front...
I want use `rownum` in following query select, i use of it true in following first query but don't know how should use f...
I'm creating for my web application (PHP) a feature of images sharing between users which means all users can upload the...
I am trying to do so whenever my while loop reach each 4 result (4,8,12,16 etc) it will create a new table row. It shoul...
I am administering a system which is fairly old. It is a code soup at the moment and bit by bit I have been refactoring ...
I'm doing well with CodeIgniter. I can do SELECT statements on my MySQL database with no problems at all. But, now I'm t...
The biggest advantage of the OOP vs procedural programming in PHP to my understanding is the sort of separation of the f...
I have a form with an input box where the user can specify their names, the names may be two or more words, eg `John Smi...
Showing 6313 to 6324 of 7044 articles