Source Code Bookstore Online with PHP and MYSQL

  No comments
02:22



Source Code Online Book Store - Book is a storehouse of knowledge. And people often call it the window of the world, because science and information in the world unite into one in a book that can be read wherever and whenever you want.

Human need is to seek knowledge. I want human knowledge of something, can make them willing to find the books they want. But it is difficult to find a book because the stock that we are not in the bookstore and it makes us cape to find a book that we want.

With the Online Book Store Application must be very easy for people in finding books and people do not need to go far to buy books. Through this application people can search the book easily and quickly, so it does not take a long time. Purchase process is quite fast. You just find a book, then click button buy product, after that to checkout and confirmation of payment, this way you will very easy to have book That you want to buy.

Online store of this book is made by using programming language PHP & MySQL. This application can also be directly used as sales business of your book.



Features of Online Bookstore:














Online Book Store Views:






Download Source Code

Well Maybe that's all just a description of the Source Code Bookstore Online PHP and MYSQL ini. Hope useful and can be a reference for your study. If there are errors and questions, you can directly comment below. Happy coding :)

Read More

Source Code Point of Sale System (POS) with PHP and Mysql

  6 comments
01:46


Source Code Point of Sale System (POS) - Hallo coders, good afternoon. In this article I will share a source code again because in previous articles I just post an article that discusses information about the world of programming only. The source code that I will share now is the Point of Sale System or it can be in short (POS). This application system is created by using the programming language PHP and also Mysql for sqlnya. This POS system is created to help manage the Business, such as facilitate transactions with Customers, record inventory, can print sales reports, add products, add customers and others. In general, Point of Sale System is often used in an office, restaurant, hotel and super or mini market.

As according to Wikipedia, Point Of Sale (POS) or Point Of Purchase (POP) is the time and place of retail transaction is completed. At the point of sale, the merchant will calculate the amount owed by the customer and indicate the amount, and may prepare an invoice for the customer (which may be the cashier print), and indicate the option for the customer to make the payment. This is also the point at which a customer makes payments to merchants in return for goods or after service provision. Upon receipt of payment, the merchant may issue a receipt for the transaction, which is usually printed, but the more dispensed or sent electronically. (Wikipedia)

Application Sales of Goods With Codeigniter this application is not made by me. But here I will share this Point Of sale application to be developed.

Previously you already understand the basic concepts of MVC, and in the previous post the Source code CRUD Simple Codeigniter. Circulated for you to understand the basic concepts of MVC.

Here is the Point of Sale Application Project, you can download for learning and develop

Features of this POS System


  •     Use the barcode scanner at Sales Deal
  •     Can add, edit and delete Products
  •     Looking for products
  •     Can add, edit and delete Customers
  •     Can generate Every Day, Monthly and Annual Report
  •     Can Art Print Transactions


View

View Source Code Point of Sale System (POS)



How to install

  1.     First download the source code on the link below
  2.     Extract, then place the folder in htdocs
  3.     Run XAMPP, and log in to phpmyadmin
  4.     After running your phpmyadmin, create a new database name, after importing the database file from the folder in your root directory.
  5.     After that type 127.0.0.1/foldername in the browser url
  6.     Login with Username => admin and Password => admin

Download Source Code


That is the description of the Source Code Point of Sale System (POS) with PHP and Mysql ini. please download and Hope can be useful.if there are errors in this application, you can ask through the comments form below.Thanks. Happy coding!

Read More

Source Code Inventory Item Application With PHP Mysql

  No comments
01:30

Source Code Application Inventory Item - Hallo coders, on this occasion I will share something that be useful, ie Source Code Application Inventory Goods With PHP Mysql or in the english language is a system of goods inventory. Based on the title of this article, this application is made with the technology of PHP and Mysql, is suitable for beginners who want to learn to create a project and can easily understand the workflow and source code from this application. This application serves as a regulator of inventory, such as inventory Stock of goods and others.

Here is one view of this Inventory Inventory Application




Source Code Inventory Item Application

Features of this Inventory Item Application

  •     Add, Delete, Device name
  •     Add, edit, device information
  •     Add, edit location
  •     Update Device Status
  •     Add, edit, delete, user information
  •     View log-in trail of the Technical Staff
  •     View activity log of the administration
  •     View Notification of the Technical Staff
  •     Add, edite, device information
  •     View Device in every location
  •     Update status of the device in every location
  •     Repair and Dump Device
  •     Generate report for the device in every location


If you are interested in Source Code Inventory Item Application, you can download it by clicking the button below.

DOWNLOAD HERE


So a description of the Source Code Inventory Item Application ini. if there is a mistake with this application, you can ask through the comment form below. Happy try and hopefully useful. Happy Coding!


Keyword: source code inventory system, inventory application free school goods, free warehouse inventory software, inventory system, inventory codeigniter application, simple goods stock software, free stock warehouse software, software sales goods, inventory software, Free goods inventory, stock goods program, apps for stock items, inventory software, examples of web-based applications, free goods sales applications, simple goods stock applications, selling software sales, free goods sales software, stock items program, stock warehouse software, And stock of goods, free sales software, inventory software warehouse, inventory system of goods, inventory is, sales applications, free goods stock program, online goods inventory, goods sales application, goods stock software, goods sales program, , Web-based stock information system, download program Sales, Source Code Inventory System PHP.

Read More

Array Exercises and Examples of Arrays using Php

  No comments
16:43

Array is a set of variables that have the same data type and are declared with the same name. Array is an important concept in programming, because the array allows to store data and object reference in large quantities and indexed.
The following is an example example of the use of Array, as follows:

Example:

<?php
$year = array(1924, 2010, 2012, 2024, 2050);
echo $year[3];
?>

Example1:
<?php
$student = array("Eka Haryanto", "Lakilaki", "
11/11/1993 "," B ", 3.41," debageur ");
echo $student[0]. "<br>";
echo $student[1]. "<br>";
echo $student[2]. "<br>";
echo $student[3]. "<br>";
echo $student[4]. "<br>";
echo $student[5]. "<br>";
?>

Example2:
<?php
$student = array("Eka Haryanto", "Lakilaki", "
11/11/1993 "," B ", 3.41," debageur ");
for($x = 0; $x <= 6; $x ++)
{
echo $student[$x]. "<br>";
}
?>

Example3: Array Next
<?php
$student = array("Eka Haryanto", "Lakilaki", "
11/11/1993 "," B ", 3.41," debageur ");
For($x = 0; $x <6; $x ++)
{
echo "Index of student array to:" .key($student). "Contains
".current($student)." <br> ";
sext($student);
}
?>

Example3: Array prev
<?php
$student = array("Eka Haryanto", "Lakilaki", "
11/11/1993 "," B ", 3.41," debageur ");
End($student);
For($x = 0; $x <6; $x ++)
{
echo "The student array index to:" .key($student). "Contains
".current($student)." <br> ";
Prev($student);
}
?>

Example4: Number of Arrays
<?php
$Student = array("Eka Haryanto", "Lakilaki", "
11/11/1993 "," B ", 3.41," debageur ");
$Sumarray = count($student);
echo $sumarray;
?>

Example5: Accessing Arrays In separate variables
<?php
$Student = array("Eka Haryanto", "Lakilaki", "
11/11/1993 "," B ", 3.41," debageur ");
List($name, $sex type, $responder, $points, $IP, $specialization) =
$student;
echo $name. "<br>";
echo $jeniskelamin. "<br>";
echo $respon. "<br>";
echo $points. "<br>";
echo $IP. "<br>";
echo $specialization. "<br>";
?>

Example6: Array With Foreach
<?php
$student = array("Eka Haryanto", "Lakilaki", "
11/11/1993 "," B ", 3.41," debageur ");
foreach($student as $datamahasiswa)
{
echo $datamahasiswa. "<br>";
}
?>

Example7: Sort Arrays
<?php
$Data = array(1,3,2,4,7,8,6,5,9,10);
sort($data);
for($x = 0; $x <= 10; $x ++)
{
echo current($data). "<br>";
next($data);
}
?>

Such are examples of the use of arrays, Keep to practice it, Happy coding, and fighting :)

Read More

How to Create Flip Text / Upside Down Text

  No comments
10:27

Maybe you've seen the status on facebook or tweet on twitter there is writing upside down so it makes more interesting or have never seen at all, then how To make the writing upside down so as to make the status or tweet look more interesting, Here's how to make the writing upside down:

1. Type your writing in the first column (Original)

2. Longer !!! Your writing is automatically reversed in the second column (Reverse / flip)

Original Text:

Fliped text:

Work?

Try to write your comment using reverse writing :D

Read More

Search Query with SQL

  No comments
09:18


The search system is a system used to search for data that has been stored previously in the database, for a little data may not be necessary, but as more search data is very important to find the data we want, to save time and exact destination / data sought According to what we need, For example: Google, who does not know google? This biggest search engine is one such example, Here are some examples of queries to search:Example 1:
    SELECT table1.field1 FROM table1
    WHERE table1.field1 LIKE "% search%"
    ORDER BY table1.field1 DESC LIMIT 20

In the query "SELECT table1.field FROM table1" so that is shown only field1 in table1 of table1 only to display all the filed can be replaced tabel1.fieldnya with *, then WHERE table1.field1 LIKE "% search%" so with filed1 conditions in table1 We search on the search according to the word we write by replacing the word "search" with the word we want to search, ORDER BY table1.field1 DESC LIMIT 20 sorted by filed1 in table1 by descending (az) with limit displayed / limited by 20 data.But with the query sometimes we use like "% keyword%" is in SQL Statement. What we look for does not appear the example of the scenario, we want to find the top 20 who have the name "eka" because there will be a lot of names, and not to mention the name of the first name or bleakangnya name such as eka haryanto, haryanto eka etc, Finally searched eka does not appear in the top 20 list / top, then the solution using the query model as follows.Example 2:

    SELECT tbl_a.username FROM tbl_a
    WHERE tbl_a._ama_anggota LIKE "% eka%"
    ORDER BY case
    When tbl_a.nama_anggota like "eka" then 1
    When tbl_a.nama_anggota like "eka%" then 2
    When tbl_a.nama_anggota like "% eka" then 3
    Else CONCAT (4, tbl_a.name_members) end LIMIT 20

In the query "SELECT a.name_member FROM tbl_a" so that is displayed only the name of the member in table A of table A only, then WHERE tbl_a.nama_anggota LIKE "% eka%" so with condition nama_anggota in table A that we search on search according to word We write with the word "eka" the word we want to search, then ORDER BY case when tbl_a.nama_anggota like "eka" then 1 when tbl_a.nama_anggota like "eka%" then 2 when tbl_a.nama_anggota like "% eka" then 3 else CONCAT (4, tbl_a.name_members) end LIMIT 20 hereby forces the name of the member whose last name appears at the top followed by the rear variant, the front and the remaining variants, with the limit displayed / limited by 20 data.Thus Query search with SQL there are 2 case examples, where example 1 is a common case example, whereas example2 is a special case example,If any suggestions / maybe there is another statement better please free berargumen but with good manners ya, Happy Coding, And Fighting :)

Read More

Examples of Random Functions In PHP

  No comments
13:54

The random function is used to randomize a character, to create a random with Integer / Figures type can use the default function of PHP that is with RAND (min, max) as an example:

    <?php
    echo rand (1.10);
    ?>

Then its output is 1-10

But how to make random with letters / alphabets?
The author has not found any special function for random alphabet / letters from PHP, but There are many ways to random functions with these letters / alphabets, including:
Example 1:

    function random ($long) {
       $character = 'ABCDEFGHIJKLMNOPQRSTUabcdefghijklmnopqrstuvwxyz1234567890';
       $String = '';
       For ($i = 0; $i <$long; $i ++) {
           $pos = rand (0, strlen ($character) -1);
           $string. = $Character {$mail};
       }
       return $string;
    }
    echo random (11); // The output of numbers and random letters is 11 characters


 Example 2:

    <?php
    $a1 = str_repeat ('ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789', 5);
    $a2 = str_shuffle ($a1);
    echo substr ($a2,0,10); // The output is random numbers and letters of 10 characters
    ?>

 Example 3:

    for ($i = 1; $i <= 10; $i ++) echo chr (rand (97,122));

Read More