PHP Video Tutorials
PHP Tutorials
PHP Scripts
PHP Video Tutorials
PHP Basic ↑ Passing variable with data to different pages For and foreach loop in PHP with break statement and creating patterns using nested for loops Getting & setting PHP values of php.ini and getting server, operating system & PHP details to Manage PHP if else and elseif with ternary operators to check conditions and execute statement blocks Local Global & Static variables in PHP with examples & scope inside and outside a functions First PHP page for Hello world output and checking installation with phpinfo() and uses of comments How to declare variables in PHP with rules and getting type of variables using gettype() Beginners guide to Installation of XAMPP with Apache PHP MariaDB for learning PHP Introduction to PHP and XAMPP web server First PHP code displaying phpinfo() , Hello Word using localhost PHP Array ↑ Creating Array in PHP using Key & values and displaying elements by index position and by looping Highest and lowest value from a PHP array by using max() and min() functions with array_search() Sum of elements of PHP array by using array_sum() and getting average value Remove any element of PHP array by using unset, array_diff() or by searching for value & using key PHP Scripts ↑ Checking Armstrong numbers or generating Armstrong numbers in a range using PHP Factorial of an input number through sticky form in PHP using for loop or using recursive function Checking and listing all prime numbers in PHP by using loop and form to take user inputs Checking string or number is Palindrome or not using PHP sticky form without strrev() functions Sum of all digits of a number in PHP by extracting digits and by using sticky form Generating Schema Code in PHP for Rich results while using Video inside Webpage using Youtube API Checking Strong number and generating all strong numbers within a range in PHP PHP Session ↑ PHP Session variable creating checking and destroying using session_start() using userid and name PHP GD ↑ Adding text to image by using PHP GD function imagettftext() with options to rotate & x y positions Generating image from a template by adding user entered form data by imagestring() in PHP GD Drawing lines and patterns using different thickness and colours using imageline() in PHP GD Drawing arc, circles and patterns using different colours, width and height by imagearc() in PHP GD Drawing filled arc, circles & patterns using colours and angles by imagefilledarc() in PHP GD Dropping shadow from text written over Image with colour using imagettftext() PHP GD function Drawing rectangles & patterns using different thickness and colours using imagerectangle() in PHP GD Adding curved text written over Image with colour using imagettftext() PHP GD function Sticky form in PHP to retain input data & selection with validation without any client Libraries HTML form input userid password email validating and processing user entered data using PHP PHP PDF by FPDF ↑ MultiCell in FPDF PDF generator to add multiline text with auto ward wrap and increase the height Adding image to fpdf class PDF documents by using Image function with header and footer of all pages Installation and generating PDF document in PHP using FPDF class and showing Hello World Displaying Data from MySQL table in PDF document by using Cell with alternate background color FPDF generating PDF file with Cell() & Output() with the options to manage border, file save in PHP Generating PDF document using record from MySQL database with unique id in PHP using FPDF class Adding table to PDF document by using Cell with equal width by using alignment & position after cell Line() method to draw lines using coordinates and by measuring page width and height Drawing patterns of lines on PDF document by FPDF class in PHP using color and width of the line PHP MySQL ↑ PHP Data Object PDO installation or enable with connection string to MySQL database in HINDI Current pattern: use one prepared statement for the fixed category list, escape database values before HTML output, and close each list before starting the next section.
< ? php
$stmt = $dbo -> prepare ( 'SELECT title, v_id FROM video_php WHERE cat = ?' );
$stmt -> execute ([ $category ]);
foreach ( $stmt as $row ) {
echo htmlspecialchars ( $row [ 'title' ], ENT_QUOTES, 'UTF-8' );
}
?>
Guide to installation and How to write our first PHP Script →
Author & Instructor at
plus2net
I write and maintain practical tutorials on Python, PHP, SQL, JavaScript, HTML, jQuery,
and web development at plus2net. The tutorials focus on clear explanations, working
examples, and code that readers can test and adapt while learning.
← Subscribe to our YouTube Channel here
This article is written by plus2net.com team.
https://www.plus2net.com
plus2net.com
12-06-2024
how donload fpdf any verions