0

How do i link a database to a HTML code?

for example if I'm taking petitions or comments or poles, etc. How do I save the data collected into a database of some sort?

21st Jun 2017, 9:42 PM
rahul raparia
2 Answers
+ 2
mysql_connect( "localhost","USERNAME","PASSWORD") ; mysql_select_db("DBNAME"); in a php file or if in html then In the php embedded part
21st Jun 2017, 9:50 PM
ŠœŠ³. ŠšŠ½Š°ŠæšŸŒ 
ŠœŠ³. ŠšŠ½Š°ŠæšŸŒ  - avatar
+ 1
Thank you Sami !
21st Jun 2017, 9:51 PM
rahul raparia