DataTables is very nice I love this, I am new in programming.. I'll be grateful if any body can help with example..
I need to filter data on the basis of user session(I have user authentication module), how do I pass session data to generate
for example:
SELECT section : SELECT * FROM sales WHERE user_id = $session_id;
in the same way
INSERT INTO sales (x,y,z, user_id) VALUES (a,b,c,$session_id);
UPDATE sales SET column1=value, column2=value2,... WHERE user_id=$session_id AND some_column=some_value;
DELETE FROM table_name WHERE some_column=some_value AND user_id=$session_id;
Best Regards
M. Iftakher Ahammed
I need to filter data on the basis of user session(I have user authentication module), how do I pass session data to generate
for example:
SELECT section : SELECT * FROM sales WHERE user_id = $session_id;
in the same way
INSERT INTO sales (x,y,z, user_id) VALUES (a,b,c,$session_id);
UPDATE sales SET column1=value, column2=value2,... WHERE user_id=$session_id AND some_column=some_value;
DELETE FROM table_name WHERE some_column=some_value AND user_id=$session_id;
Best Regards
M. Iftakher Ahammed