[QUOTE=canadaexpert;1561890]could you please let us know what is iftame and what is used for?[/QUOTE]

The details of iframe and how it can be used have been explained really well in facebook developers' documentation....!! Here is the link [url]http://developers.facebook.com/docs/reference/fbml/iframe/[/url]

Here is an example of a Facebook Tab made from iframe
[url]http://www.facebook.com/cafereena?sk=app_187849624601108[/url]

In your code,

[CODE]
$sql = "INSERT INTO at0310 SET ecardno='$ecardno', atdate='$atdate',attime='$attime',IO='$IO',serialno='$serialno',cardrd='$cardrd' select ecode from emp_company where emp_company.ecardno=at0310.ecardno into at0310";
[/CODE]

I think the last two words are creating problem.... try removing
[CODE]into at0310[/CODE] from the end

I hope that works
Cheers.....!!

avinashmalla Newbie Poster

I have written some sql codes in a file named sql.sql and I want to install my database using this file. How can I do it? Please help me out....

here is the sql code from the file sql.sql

[CODE]
CREATE DATABASE IF NOT EXISTS wm;
USE wm;

CREATE TABLE IF NOT EXISTS users(
id int primary key auto_increment,
username varchar(25) not null,
password varchar,
email varchar,
fullname varchar
);
[/CODE]