LAB 09 - INSERT IMAGE USING BLOB DATA TYPES
Assalamualaikum and hai! For the last lab session, which is lab 09 tutorial session, we are required to continue the previous lab 08 with insert image by using the BLOB data types. This is the last lab tutorial for this subject WWW Programming. In this database, the content that i insert is as below: The step to insert the image for blob/longblob data type is as follow: 1. Insert new column after DOB table. 2. Name it as "IMAGE", choose the longblob/blob data types. 3. Then import any image from download file into the image database column. Here i show some example on the coding for Home page php file: <html> <head> <title>List of Users</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <table width="80%" height="339" border="1" align="center" bordercolor="#000000"> ...