hey can u help me out with web portal like orkut to exchange scraps..??? Need source code for that.

Recommended Answers

All 4 Replies

you need to provide them to login...and use ont scraps table...then insert the scrap exchanging between them with recieverid,sender id...and show the scraps according to that ids...

Hi shanthi..
Thanks 4 giving fast reply..
But i need only code for SENDING SCRAPS,STORING SCRAPS..(where we can store scraps,i mean database or files)


If u possible try to do that...plz..

thanks in Advance..

you have to create database table to scraps like:

CREATE TABLE `scraps_table` (
`sid` INT NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`sender_id` INT NOT NULL ,
`rec_id` INT NOT NULL ,
`message` VARCHAR( 255 ) NOT NULL ,
`status` INT NOT NULL ,
`added_date` DATE NOT NULL 
) ENGINE = innodb;

sender_id,rec_id are comes form login table userid....

hi saritha,
you have to write like

if(isset($_GET['id']))
									{									
									// your sql queries
						             ?>

after creating a table

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.