Can I use preg_split() to extract pairs of delimited substrings from a multiline string?
I have the following input: [Code Block] And I need to split into this: [Code Block] I'm trying to use `preg_split()`, b...
Latest news, tutorials, and updates from the PHP community
8483 articles available
I have the following input: [Code Block] And I need to split into this: [Code Block] I'm trying to use `preg_split()`, b...
I'm looking for a way that I can extract the first letter of each word from an input field and place it into a variable....
I use http://github.com/abraham/twitteroauth PHP library for reaching Twitter REST API: [Code Block] How can I render th...
I was wondering how could I split this string [Code Block] Into array of: [Code Block] It also should work with more dif...
For some reason, none of the code within [Code Block] is being executed for me. When I enter the correct username and pa...
I'm new to using XAMPP so this may be simple to some people. I have a few php projects that I would like to be able to d...
If I take a photo with a camera it stores the orientation/angle of the apparatus so when I view the image on the PC with...
`time()` is in seconds. Is there one in milliseconds?
Can the php function mysql_insert_id() return no result after processing the INSERT query in mysql db? Just to clarify. ...
Am trying to upload an image from my local machine (PC) to the FTP server. In return, received the following error: Warn...
Let's say I have `$var = "z"`. How can I concatenate the z $i times? For example, if `$i == 5` then `$var` should be `"z...
There is a website `www.example.net` and it has a `Forum` link on its home page which leads to `forum.example.com/conten...
Showing 8149 to 8160 of 8483 articles