Commit Graph

16 Commits

Author SHA1 Message Date
Andreas Zweili 5efaae8bb3 rename various files and functions to add consistency 2017-02-20 21:34:28 +01:00
Andreas Zweili bcd41be9a8 rename function names 2017-02-20 21:24:47 +01:00
Andreas Zweili c407495893 Remove the amounts and text fields from the board view.
The board view should provide an overview over the available
requests for further selection.
2017-02-20 21:12:41 +01:00
Andreas Zweili 4871de62d3 Create a seperate page for adding demands
In addition I've added a new field for quality.
2017-02-20 20:56:02 +01:00
Andreas Zweili 7380999487 finalize the edit function
the edit function can now update all the relevant fields
2017-02-17 14:13:22 +01:00
Andreas Zweili 8e061ec901 finalize the function to request the user id
I've had to correct an error in the demands table. Tags can be empty.
2017-02-17 13:52:36 +01:00
Andreas Zweili 5f7fd8d0a3 add a function to get the userId from the database 2017-02-17 10:35:25 +01:00
Andreas Zweili 9b0e10ba5c change table names 2017-02-17 10:07:20 +01:00
Ismail Cadaroski 7b229c6a14 written the delete function in the post and some minor changes 2017-02-16 22:47:16 +01:00
Ismail Cadaroski 653f2c8f8c inset the edit, delete and post functions
- delte and edit are not finished
2017-02-16 19:38:45 +01:00
Andreas Zweili e605c81911 Merge branch 'andreas' 2017-02-14 21:09:48 +01:00
Andreas Zweili d6abd48ac3 Add a UNIQUE constrait to the userMail and userLogin row
The userLogin and userMail have to be unique otherwise it's
possible to have multiple users with the same username which
is security whise a bit stupid.
I've extended the register function to return an appropriate
error message.
2017-02-14 21:06:51 +01:00
Andreas Zweili 6ae02f74c2 change mysql_error to mysqli_error
mysql_error is deprecated new mysqli_error should be used
2017-02-06 22:34:20 +01:00
Andreas Zweili 718398d824 move php functions into functions file 2017-02-06 21:55:36 +01:00
Andreas Zweili 613cc9bc3c move login.php to the bottom 2017-02-06 19:37:20 +01:00
Andreas Zweili 804d7ce98b restructuring 2017-02-05 22:11:00 +01:00