Showing posts with tag PHP
This post shows you how to calculate the keyword frequency from text and draw the bar chart by using the JpGraph library.
Show you how to count words and extract words from a string by using the PHP function str_word_count()
In PHP, objects can be created from string variables. It provides a very convenient way for you to define rules in text and handle requests dynamically. In this post, we show you how to do it.
Let's go back to a computer science textbook topic. Show you how to reverse an array in PHP without using any native array functions such as array_xxx().
It's convenient to use the PHP functions strcspn() and strspn() to find out the masking characters and filter a string
Create your own custom filters and functions that can be used in Twig templates
Two useful operations in Twig for string concatenation and interpolation
Use the date filter to render DateTime instances in Twig
Setup Twig in WampServer on Windows
Use the PHP array_slice function to get the subset of data
Filter an array by using a callback function in PHP
Create indexed arrays and associative arrays in PHP
How to make Ajax requests from the Web API XMLHttpRequest
How to create ajax requests from jQuery
This tutorial shows you how to extract a keyword list from a text in PHP
This tutorial shows you how to make the convertion between a line break and a HTML br tag in PHP
This tutorial shows you how to extract data from a string in PHP
This tutorial shows you how to print out a matrix in PHP
This tutorial shows you how to get the middle point of a line segment in PHP
This tutorial shows you the source code of a simple 3D vector class in PHP