PHP Functions : array_fill PHP / Functions
array_fill() fills an array with num entries of the value of the value parameter, keys starting at the start_index parameter. Note that num must be a number greater than zero, or PHP will throw a warning.
Sending queries to mySQL PHP / Databases
PHP send quesries to mySQL using mysql_query function. mysql_query function returns boolean (True or False) value which your quesry does not return any records. Queries (sql statements) like SELECT, SHOW, DESCRIBE, EXPLAIN return false value on error. If query is true, returning value must pass to mysql_fetch_array().
Paging Results in PHP PHP / Paging
Following examples teaches how to query a mySQL database and getting results in pages. Every page displays results maximum 10 results in a single page.
Encoding URL strings ASP / Getting Started
While passing variables as an URL's querystring, you should need to encode the string. All special characters like space must be written in adress bar in a form for browser.
VBScript Functions : The Len() Function ASP / Getting Started
In this series of our ASP Developer Articles, we will examine a new VbScript function called as ' The Len() Function'. With LEN functions you can calculate the length of the string. Following function calculates the length of a string taken from input area.
Working with Array : Remove An Item ASP / Getting Started
Working with arrays could be painful if you could not remove any item after adding them in an array. Arrays are very helpful in programming languages, but in ASP it is not so easy. VBScript does not contains strong functions to remove any item form your array list. Here there is a good ASP code block will be helpfull for your to remove and re-organized your array.
Converting all applicable characters to HTML entities ASP / Getting Started
In this code sample we will converting all applicable characters to HTML entities using htmlentities(). Using 'htmlentities' all characters which have HTML character entity equivalents are translated into these entities.
Number Validation in ASP ASP / Getting Started
Following function can be used to check an input field to check the number is valid or not. This sample code can be used in an ecommerce applicatioj to check credit card and quantity of basket.
Hit counter Using Stored Procedure ASP / Counters
This simple counter uses only one stored procedure to update and display hits. So it uses less server memory. The database back-end is SQL Server. But you may easily modify procedure to use with MS Access
A Simple Counter in PerlScript ASP / Counters
I realy like Perl and PerlScript. Because i can use perl better than others. While I was writing my asp files usually i am using perlscript. You may think that it is not a good idea. It is hard to learn a new language. But if you know some basic syntax of Perl, PerlScript is safetly and useful. Let's make a example with perlscript.
Sample Coding About Cookies ASP / Cookies and Sessions
If you wish to hold a data on client's browser you may use Cookies. Cookies are the collections that can stored in client's browser for a limited time. Cookies are readonly objects and can be accessed and read if cookies name known.