15,902,276 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Afg Hunter (Top 8 by date)
Afg Hunter
11-Oct-20 12:28pm
View
what's your idea about the coding? do you think it's done in a right way?
and yeah I have done it many times! but it doesn't work with the refreshing it!
Afg Hunter
8-Oct-20 2:01am
View
thanks Richard! ^_^ its working now, now I am having trouble with updating the table -_-.
Afg Hunter
6-Oct-20 14:06pm
View
Rechard I am getting form values in URL and they are not being sent to the database. Name=rashed&id=10&class=10&submit=
Afg Hunter
6-Oct-20 3:12am
View
I was using POST method to send the data as u can see that in codes,but I was getting a question mark after the URL and the data was not getting stored in database.
Afg Hunter
6-Oct-20 3:11am
View
then how do I take the data from HTML form and send it to data base ?
Afg Hunter
5-Oct-20 12:22pm
View
do you think this one is fine ?
connect_error) {
die("Connection failed: " . $conn->connect_error);
}
// prepare and bind
$stmt = $conn->prepare("INSERT INTO MyGuests (firstname, lastname, email) VALUES (?, ?, ?)");
$stmt->bind_param("sss", $firstname, $lastname, $email);
// set parameters and execute
$firstname = "John";
$lastname = "Doe";
$email = "john@example.com";
$stmt->execute();
$firstname = "Mary";
$lastname = "Moe";
$email = "mary@example.com";
$stmt->execute();
$firstname = "Julie";
$lastname = "Dooley";
$email = "julie@example.com";
$stmt->execute();
echo "New records created successfully";
$stmt->close();
$conn->close();
?>
Afg Hunter
5-Oct-20 12:20pm
View
its hard to digest those things written in manual but I will have a research on it, Thanks Richard! <3
Afg Hunter
5-Oct-20 12:12pm
View
yea, the data is not storing in website's Database.
Show More