Whenever I start a new project, I am sometimes perplexed in data processing.
I am, actually, dumping the old project and start a new project again.
Dumping and Starting again several times...
I have "myTable" like the above.
The table has just one column named "n".
The table has just one record.
The record has a numeric value "10" for the column "n".
$mysql_query=("INSERT INTO myTable ( n ) VALUES ( 20 ) ");
I have the PHP code above in one of my pages.
DB connection code is before the code above.
The browsing result of the code above is "10".
That means DB connection is correctly working.
But the data "20" for the column "n" is not inserted.
What's the problem in my data inserting code above ?
Why is the data "20" not inserted (in your thinking or guessing) ?
How can I insert the data "20" to myTable?
I am in perplexed at the moment.