-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathREADME.txt
More file actions
34 lines (23 loc) · 1.1 KB
/
Copy pathREADME.txt
File metadata and controls
34 lines (23 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
************************************ Order placing program *********************************
This program is used to place an order and save it to the database and send to the another pc
this program uses socket programming with tkinter. this program accurately shows the amount of
order placed with options of mode of payment and mode of eating. this is the ready to use
program by anybody. GUI works fine.
NOTE : scoket programming is of same computer by using same port no.
please run these 2 programs in seprate cmds otherwise it will not work
Problems of the program
1. occasional errors of saving of order in mysql
2. scoket programming is not working and order is not transferred to another program
3. program will only work once if we don't use while loop in the client side but program will
also not work if we use while loop
Mysql table structure
create database restaurants;
use reataurants;
create table res(
price varchar(5) primary key not null,
payment_mode varchar(20),
mode varchar(20),
date date,
time varchar(10)
);
this is the mysql structure for the program