Reverse a String in VB6

Submitted by donbermoy on
Hi! In this tutorial, we will create a program that reverses a string. I already made this one in vb.net but it has different code in vb6.0. Now, let's start this tutorial! 1.Let's start this tutorial by following the following steps in Microsoft Visual Basic 6.0: Open Microsoft Visual Basic 6.0, click Choose Standard EXE, and click Open. 2. Next, add only one Button named Command1 and labeled it as "Reverse".

PHP RegEx: Match a pattern at the end of the string

Submitted by ronard on
In previous tutorial we have a pattern that match a string at the beggining using caret(^). Now we try to match the pattern at the end of the string using \z. What is \z? This is end of subject or read at the end of subject. We still use (i) case insensitive modifier so that it can read any case. The above script will generate "The string ends with nard" which is read at the end of the subject.

PHP RegEx: Case Insensitive

Submitted by ronard on
In previous tutorial we match at the beggining of the string given. But that is a case sensitive. If your condition like this: if(preg_match("/^ABC/", $string)) then the value of your string "abc". The script will returned with this message: No match found This is because of case sensitive. But in this script we will make the condition insensitive using regex "i" for insensitive. Shown below: Even

PHP RegEx: Match the Beginning of the String

Submitted by ronard on
In previous tutorial we match the given string. Now we are going to match at the beginning of the given string. The regex character to read beginning is the caret (^). Then we see if the string given begin with Ron. The forward slashes (/) we see are the delimeter that hold our regex pattern. And the quotations are used to 'wrap it all'. Then we see the (^) will put as the beggining of the string.

POS with Barcode Generator Using PHP/MySQL

Submitted by jobel on
This code will guide you on how to create your own POS with barcode generator using PHP/MySQL. The features of this system are: It allows you to conduct sales using barcode scanner or using search box. Allow you to add, edit and delete products Generate reports such as receipt, sales report (daily, monthly, yearly). This system also has user restriction just like the cashier and the admin. The

PHP RegEx: Match A String

Submitted by ronard on
In this tutorial I will show you the basic in regex. In brief discussion. Regex is considered a method of matching pattern within a string. In PHP usually used PCRE or "Perl Compatible Regular Expressions". Let's see a sample to print a string. The above code are printing "abcdefghijklmnopqrstuvwxyz0123456789". Now were going to match the character "xyz" using regex. The code above will output "1"

Connect Android to Remote MYSQL database

Submitted by hob2006 on
This simple program can access mysql database remotely via wireless access point (wireless router). using your android mobile phones/tablets. MYSQL Library Download: http://www.mediafire.com/download/k38y5yqj2v34zbi/mysql_1.01.zip Thanks to Erel! For technical support: Please join to my Facebook page: Basic4Android Pilipinas Thanks!

Print PDF file using PHP and MySQL

Submitted by ronard on
Hi to all beginners in PHP and MySQL. This script will show you on how to print a PDF using FPDF in PHP and MySQL. How to install the script? 1. Unzip the downloaded file. Then copy the unzip to this path: xampp/htdocs/. 2. Goto the "db" folder. 3. Inside the "db" folder having a "tutorials" folder. Copy it to this path: xampp/mysql/data. 4. After you finish the above steps. 5. Goto to the web