PHP »
Basics — over 2 years ago
— reviewed, not listed
This code can be used to show some random quotes or random links every time the page is loaded or refreshed.
PHP »
Basics — over 2 years ago
— reviewed, not listed
Many of us use windows operating system and want to know how to use php on Windows operating system ?
For this there is a very simple and useful solution. Even you don't have to setup & configure many things.
PHP »
Basics — over 2 years ago
— reviewed, not listed
So you installed WampServer on Windows.
Now how to create and execute or run you php file on windows ???
First START WampServer by clicking your START MENU and then selecting WampServer and then click start WampServer.
Have you ever came across a situation where you need to truncate the large text and show the "read more.." link to redirect user to read the full post ?
I know you might be searching for a function to show read more link in php.
PHP »
Security — over 2 years ago
— reviewed, not listed
Whenever it is required to get some input url from user then the first things comes is check whether that url is working and valid or it is not working.
Here is a simple function which can be used to verify the liveness of the url.
Just pass the url to this function and it will tell you whether the url is working and valid or invalid.
PHP »
Basics — over 2 years ago
— reviewed, not listed
Here is a simple function which can be used to count the total number of words present in a string in php.
For this function we are going to use inbuilt functions in php like count, explode, trim.
Function is very simple, it accepts the text.
Then we are checking if there are any extra spaces before and after the string, if it is there then removing that with trim function.
PHP »
Email — over 2 years ago
— reviewed, not listed
At many places we require the contact us or feedback form to get some input from the user or to get some feedback from the user.
Today i will be showing you how to create a very simple feedback form or contact us form in php with the mail function and without any database.
PHP »
Basics — over 2 years ago
— reviewed, not listed
[Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in]
Hi,
when you are doing programming in php you might be getting a error like
[Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in]
this in your php script.
Help us out! More and more tutorials are submitted to Good-Tutorials each day. We could use your help with finding good tutorials.
Mind lending a hand?