PHP preg_match function variable extraction
Assuming that I have a string like this: [Code Block] How can I match and obtain 2 variables [Code Block] Using a php pr...
Latest news, tutorials, and updates from the PHP community
8579 articles available
Assuming that I have a string like this: [Code Block] How can I match and obtain 2 variables [Code Block] Using a php pr...
I'm including a PHP class with [Code Block] but when the code is executed i receive this error: Fatal error: Class 'User...
I have a table with the following columns: [Code Block] I tried to get the sessions i created but it doesnt return any v...
I'm just using a `file_get_contents()` to get the latest tweets from a user like this: [Code Block] This works fine on m...
What is the "less code needed" way to get parameters from a URL query string which is formatted like the following? www....
How can I create text from a TTF font and convert it into a static SVG path? So that anyone could open it in illustrator...
I need to extract some data from a webpage with PHP. The part that I'm interested in is structured similarly to this: [C...
is it safe to use cast (int) instead of escaping? [Code Block]
i have two tables 'city' and 'info'. City looks like [Code Block] And the info looks like [Code Block] In the info table...
I have a `city` table city_id name 1 c1 2 c2 And an `info` table. id city_city_id status_status_id 1 1 1 2 2 1 3 1 2 In ...
I want to extract numbers from a string in PHP like following: If the string is `make1to6`, I would like to extract the ...
I use the `arsort()` function to get the array that has been added the latest. This all works fine. [Code Block] When I ...
Showing 7789 to 7800 of 8579 articles