FreeKB - PHP articles
PHP articles

AJAXCreate an AJAX search engineArraysGetting Started with ArraysGetting Started with key value pairsAppend values to the end of an array (array_push) AutocompleteAutocomplete user inputBanner messagesBanner messagesBold textMake text entered into a search engine boldBuilt in commands.= (append values to a variable)htmlspecialchars (escape special characters)preg_replace (replace values)preg_split (split a string)substr (cut a string apart)CaptchaCreate a captchaConfigurationGD moduleDate Timedate formatDOMPDFExport to a PDF using DOMPDFFilesExport data to a CSV fileread file contentReplace file contentFormsGET form dataFPDFExport to a PDF using FPDFWrap text in a cell when using FPDFif elseif else statementsif elseif else statementsImagesUpload image files to a shared folderInsertPrevent duplicate entries into MySQLLogsCreate a separate log file for PHP Log errors to a file using error_logLoopsforeach loopsPHPInstall PHP on LinuxRegular Expressions (regex)Escape aphostrophes using PDOForm data matchSessions / CookiesChange the name of a PHP session cookieSecure web pages using sessionsSQL databaseConnect to MariaDBConnect to Microsoft SQL Serverfulltext index search with MariaDBfulltext index search with Microsoft SQL ServerInstall the SQL Server driver in the php.ini fileSQL INSERT statement in PHPSQL SELECT statement in PHPSQL UPDATE statement in PHPTagsImplement a tags systemsTroubleshootingResolve move_uploaded_file not uploading file