About 12,300,000 results
Open links in new tab
  1. How can I prevent SQL injection in PHP? - Stack Overflow

    Sep 13, 2008 · In my opinion, the best way to generally prevent SQL injection in your PHP application (or any web application, for that matter) is to think about your application's …

  2. How to use PHP to connect to sql server - Stack Overflow

    MS SQL connect to php. Install the drive from Microsoft website. After install, you will get some files. Store it in your system temp folder. Check your php version, thread or non thread, and …

  3. PHP date () format when inserting into datetime in MySQL

    Feb 7, 2010 · What is the correct format to pass to the date() function in PHP if I want to insert the result into a MySQL datetime type column? I've been trying date('Y-M-D G:i:s') but that just …

  4. How to use php array with sql IN operator? - Stack Overflow

    You're mixing PHP and SQL - for the IN SQL operator, you need a format like: SELECT * from table WHERE comp_id IN (1,2) So to get that in PHP you need to do something like:

  5. mysql - PHP Check for NULL - Stack Overflow

    Check column is NULL from PHP SQL. 0. PHP checking for NULL value. 1. Check whether a MYSQL Query is null.

  6. sql - Php select * where like - Stack Overflow

    May 7, 2013 · SQL query in php fetch database. Related. 1. Search database using LIKE and wildcards. 0. LIKE Query ...

  7. PHP: Update multiple MySQL fields in single query

    PHP Collective Join the discussion This question is in a collective: a subcommunity defined by tags with relevant content and experts. The Overflow Blog

  8. mysqli - PHP UPDATE prepared statement - Stack Overflow

    May 18, 2017 · I'm trying to learn the proper way to use prepared statements to avoid SQL injections etc. When I execute the script I get a message from my script saying 0 Rows …

  9. php - Using an SQL result in a foreach loop - Stack Overflow

    May 17, 2016 · I don't have the reputation to comment, and the above answers are correct, but the php mysql_query() manual page says that. this extension was deprecated in PHP 5.5.0, …

  10. select count(*) from table of mysql in php - Stack Overflow

    Aug 2, 2011 · I am able to get both the value and row of the mysql query result. But I am struggling to get the single output of a query. e.g.: $result = mysql_query("SELECT COUNT ...

Refresh