About 11,100,000 results
Open links in new tab
  1. string - In PHP, what does "<<<" represent? - Stack Overflow

    Sep 13, 2010 · You can put PHP variables in there and they will replace with the value. The word CHART can be anything. It just needs to be the same to start and stop where the quoted text …

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

    I want to use PHP to connect to sql server database. I installed xampp 1.7.0(php 5.2) and SQLSRV20. I've added the extensions in php.ini and I get this error: Warning: …

  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 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 …

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

    Aug 2, 2011 · select count (*) from table of mysql in php Asked 14 years, 2 months ago Modified 4 years, 2 months ago Viewed 650k times

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

    May 7, 2013 · This last line will add the location as additional filter to your query. Run it, and see what it does. (I'm not sure about the string comparison there though) Ah yes, as a final advice: …

  7. How can I sanitize user input with PHP? - Stack Overflow

    Is there a catchall function somewhere that works well for sanitizing user input for SQL injection and XSS attacks, while still allowing certain types of HTML tags?

  8. Convert from MySQL datetime to another format with PHP

    Sep 26, 2008 · I have a datetime column in MySQL. How can I convert it to the display as mm/dd/yy H:M (AM/PM) using PHP?

  9. php - Install/enable sqlsrv & pdo_sqlsrv drivers for php8.1 on …

    Nov 13, 2022 · I am trying to enable sqlsrv drivers for php8.1 on Ubuntu 20.0. It is not showing the extension in phpinfo(). When trying to check the sqlsrv module with commmand php -m, the …

  10. PHP/MySQL insert row then get 'id' - Stack Overflow

    Instead, use the internal MySQL SQL function LAST_INSERT_ID() in an SQL query. For more information about PHP's maximum integer values, please see the integer documentation.