Converting a number with comma as decimal point to float
I have a list of prices with a comma for a decimal point and a dot as the thousand separator. Some examples: 12,30 116,1...
Latest news, tutorials, and updates from the PHP community
6993 articles available
I have a list of prices with a comma for a decimal point and a dot as the thousand separator. Some examples: 12,30 116,1...
I'm not sure whether this is an issue with MVC, MySQL or arrays. Situation: 2 MySQL tables Table data: id, title, list T...
I'm trying to get a "live" progress indicator working on my php CLI app. I'm running windows 7 64 bit ultimate. Rather t...
In PHP we can append strings in many ways. Method 1: [Code Block] Method 2: [Code Block] Method 3: [Code Block] Method 4...
I'm trying to extract the attribute expressions from several `` tags in an (invalid) HTML string, but my regex pattern i...
I have a project that will require user input of anywhere from 100-500 form input fields that will then be entered into ...
At the moment if I am doing a query on the database that should only return one row, using: [Code Block] Is there a Code...
I need to convert the following code written using if-else to try/catch. Also let me know is try-catch needed in this ca...
I'm running a PHP script and continue to receive errors like: Notice: Undefined variable: my_variable_name in C:\wamp\ww...
I have the following code: [Code Block] But I get the following error PHP Warning: mysqli::mysqli() [function.mysqli-mys...
I am trying to login to a website and grab content from a page you must be authenticated to see. I have done some resear...
I was wondering if a custom database class is really needed. I mean: I have seen a lot of database abstraction layers an...
Showing 6613 to 6624 of 6993 articles