Hi all,
Help me please.
i have two table: outbox and contact.
condition outbox table befor query/ insert.
CREATE TABLE outbox
(id
int(11) NOT NULL,phone_number
varchar(30) NOT NULL,message
varchar(200) NOT NULL,
PRIMARY KEY (id
)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
Contact table:
CREATE TABLE contact
(id
int(11) NOT NULL auto_increment,name
varchar(30) NOT NULL,phone
varchar(20) NOT NULL,
PRIMARY KEY (id
)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=4 ;
INSERT INTO contact
VALUES (1, 'jana', '+60111');
INSERT INTO contact
VALUES (2, 'jani', '+60222');
INSERT INTO contact
VALUES (3, 'janu', '+602333');
I Want to insert a string to outbox table.
$string = "I LOVE YOU";
condition outbox table After Query/insert: Row of outbox table is:
CREATE TABLE outbox
(id
int(11) NOT NULL,phone_number
varchar(30) NOT NULL,message
varchar(200) NOT NULL,
PRIMARY KEY (id
)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
INSERT INTO outbox
VALUES (1, '+60111, 'I LOVE YOU');
INSERT INTO outbox
VALUES (2, '+60222', 'I LOVE YOU');
INSERT INTO outbox
VALUES (3, '+60333', 'I LOVE YOU');
How i write multy query mysql using php for it problem, thank you.