infolink

Monday, 5 October 2015

Insert Into MySQL PHP MVC

This tutorial helps to developer when developer want to insert data into database (MySQL) with PHP MVC. MVC contains on an Model, View and Controller. In a Model programmer write the code related to Database or business logic. In View create the layout or forms  and using the Controller Model return the data on a View.
To insert into mysql php mvc we follow the few simple steps.

Step 1:

Tuesday, 21 April 2015

Error message when you try to save a table in SQL Express Server

"Saving changes is not permitted" in SQL Express Server

This problems appear when the Prevent saving changes that require the table re-creation option is checked or enabled. And usually you make the any one changes from following option to table.

  • Want to change Allow NULL property of a column
  • Want to Reorder the columns
  • Want to modify the column data type
  • Want to add new column in the table
When you do any one from the above option then you see the following screen or error:

Prevent saving changes that require the table re-creation
Prevent saving changes that require the table re-creation

Solution:

very Simple and easy solution about this problem.
  1.  Open a project in Visual Studio.
  2. Click on Tools menu from top and go to Options...
  3. Option window will appear. On this window select the Database Tools -> Table and database designers -> Table and Diagram options from the left panel.
  4. uncheck the Prevent saving changes that require the table re-creation.
  5. At the end click on Ok button.

Solution Screens:



Monday, 20 April 2015

Auto Complete Textbox in PHP

In this tutorial you will learn how a auto complete textbox using php. It so simple and easy.
here i will use the java script function for this task.

Auto Complete textbox in php
Auto Complete textbox in php


Wednesday, 25 February 2015

PHP Multiple Checkbox Array

This example shows how the programmer can use multiple checkbox array and display the values of selected checkboxes.

Multiple Checkbox Array
Multiple Checkbox Array

PHP Code:

Sunday, 22 February 2015

php checkbox

This example or tutorial is about the checkbox in PHP. It is a web form having three checkboxes and two buttons “Select All”, “Deselect All”. “Select All” button purpose is to checked all three checkboxes and “Deselect All” button used for unchecked all three checkboxes.

Select and Deselect All Checkboxes
Select and Deselect All Checkboxes

 PHP Code

Thursday, 20 November 2014

Free Website Templates

Web templates free: 

The free premium templates platform. These are pre-defined templates, just download your favorite template and add your content in it.  

Business Today
Academic Education


Darkness
Education Time


Gallerised











Wednesday, 28 May 2014

Write data in text file C++ Filling



To read and write data into file is called filling. Here you learn how to write data in text file.
First include fstream library.

#include <fstream>

#include <fstream>
 Then in the main function make an object of ofstream and pass the text file name with extention as a parameter to object like this:

ofstream myfile("items_file.txt");

After that open this file and write data in the file.


Example:

Monday, 26 May 2014

An error has occurred during Report Processing



Error:


An error has occurred during report processing. Exception has been thrown by the target of an invocation. Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints.

An error has occurred during report processing. Exception has been thrown by the target of an invocation. Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints.

An error has occurred during Report Processing
This tutorial is about how to solve the above mention error. This error is occurred when the unique, foreign-key field is existing in Table Adapter of DataSet. And this Table Adapter is used in the report Data Source. 

DataSet Table Adapter
Table Adapter

Solution:

Tuesday, 13 May 2014

C++ Library Management System Project (LMS)

C++ Library Management System Project

C++ Library Management System Project (LMS)


Library system Features/Methods:

  1. Add Book
  2. Add Teachers
  3. Add Students
  4. Issue book to teachers
  5. Issue book to student
  6. Return book from teachers
  7. Return book from students
  8. Display all books
  9. Display all teachers
  10. Display all students
  11. Check book is issued or not?
  12. Check all issued books

Friday, 14 March 2014

C++ Banking System Project



Here is a small Bank system using C++. It is not a professional Bank process system. Basically this tutorial is about learning C++. It is a Small C++ course project and C++ basic syntax and structure cover on it.

C++ Banking system features/Methods:

  • Login Authentication - 4 logins with user name & password
  • Account Open
  • Deposit amount
  • Withdraw amount
  • Display all accounts
  • Search account by CNIC No