Hi,,,,,just tell me whats wrong with this code.......it will display the session values but storing it to the db its storing empty values......only it is storing a1,b1,c1 values rest of all are blank..

table structure and all everything is fine...........

Recommended Answers

All 2 Replies

what code?

Try to debug the code.

Use print_r() to display the variable content before inserting it.

If you are getting some blank values only... common mistakes are an incorrect name of a variable or a source empty.

Use always escaping with single quotes on SQL queries (several times I've applied typographic quotes using cut&paste).

The best is to review the code involved, otherwise, would be most likely that we will be unhelpful on this subject.

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.