Tag: Snippets

Hello guys,
PHP HURDLES is once again here with yet another intersting and commonly asked topic  Understanding SQL BETWEEN Condition in PHP .

The SQL BETWEEN Condition is used to retrieve values within a range in a SELECT, INSERT, UPDATE, or DELETE statement.The values can be numbers, text, or dates.

CORE PHP PHP Snippets Quick Tips SQL BETWEEN Condition

Shaing on Social Media plays a key role in sharing of information in today’s world where we can easily share our information with millions of people through a social platform.Being a developer we always need to implement social sharing buttons on most of our sites.

So today we are here with a short but most interesting and important snippet for a developer Sharing On Social Media Using AddThis Plugin In PHP,which will  give us all predefined codes and the only thing we have to do is to implement these codes in our site or page and the rest will automatically work for us.

CORE PHP PHP Snippets Quick Tips

Comparing various operands or variables based on different conditions is the basic thing which is done in every program we make for determining equality or inequality between two operands,So today we are here with a small snippet
Understanding SQL Comparison Operators which will explain about all the comparison operators used in PHP in most easiest way.

CORE PHP PHP Snippets Quick Tips

Today I will be talking about retrieving your website visitors Geographical details i.e their Country & City and then performing, some decision making based on the country and city from where your website has been accessed.

CORE PHP PHP Snippets Quick Tips

SQL Injection is one of the commonly faced problem by most of the applications on the internet today.
SQL Injection is a way by which database query can be controlled can result in compromise of confidentiality.

We have received a lots of comments by our young developers who are willing to know how they can prevent SQL Injection.
So Today PHPHurdles is here with a interesting as well as a crucial topic for the security of web applications,Preventing SQL Injections In PHP

PHP Snippets Preventing SQL Injection Quick Tips

Taking our earlier tutorial  JQUERY DATEPICKER RESTRICT DATES IN SECOND DATE FIELD BASED ON SELECTED DATE IN FIRST DATE FIELD as a refrence , we received a lots of comments on it where our fellow developers have situations where they want to disable past dates or upcoming dates from Datepicker.

So today we are here with a Snippet in which we will learn how to disable past dates or upcoming dates in PHP Datepicker.

CORE PHP Datepicker Jquery PHP Snippets

PHP HURDLES is once again here with yet another intersting and commonly asked topic Export Data to Excel in PHP.

Exporting data from an Access database to in a file format that can be read by Excel. This article shows you how to prepare and export your data to Excel, and also gives you some troubleshooting tips for common problems that might occur.

CORE PHP PHP Snippets Quick Tips

As the world is digitalising developers face problems regarding developing sites with newer technologies and advancements for the user interaction .

Every site provides various features for payments and user recognisation. Today we will take Generating Barcode Using PHP  as our topic for our fellow developers.
A barcode is an optical, machine-readable, representation of data , the data usually describes something about the object that carries the barcode.We will use PHP to generate Barcode in this tutorial.
So,lets start with a new hurdle.

CORE PHP PHP Snippets Quick Tips

Many of our fellow developers had spend hour’s in searching for the right solution to remove index.php from Codeigniter (CI) URL’s like we did in our earlier stages of becoming an PHP professional.

Having index.php in your CI project is just like an unnecessary burden being carried out so let’s get rid of it without affecting our precious code.

For accomplishing the task a series of steps needs to be followed. Just follow these 3 simple steps and you’re done.

Codeigniter PHP Snippets Quick Tips