For this time, the data can be connected and inserted successfully.But, the data still haven't shown out.
Therefore, I decided to change another way to insert and show data. Besides, I also ask questions from Stack Overflow.
From here, I get the answer from Stack Overflow. After I apply the mysql_close (); to the bottom part of the code. The data can be showed on the website.
TADAA Data can be showed successfully! :D
Besides working on the database, I decided to focus on the interaction.
References:
webpage, D. (2017). Displaying data from PHP to webpage. [online] Stackoverflow.com. Available at: http://stackoverflow.com/questions/41658262/displaying-data-from-php-to-webpage?noredirect=1#comment70515272_41658262 [Accessed 16 Jan. 2017].
YouTube. (2017). Displaying records from a MySQL Database with PHP. [online] Available at: https://www.youtube.com/watch?v=IHdd02IK2Jg [Accessed 16 Jan. 2017].
YouTube. (2017). Display Data on Web Page from Database. [online] Available at: https://www.youtube.com/watch?v=HtTG5Kf_mTA&lc=z13awjgwhnjoupfwr04cfpiqkquxshw4riw [Accessed 16 Jan. 2017].
Threejs, T. (2017). Transparent objects in Threejs. [online] Stackoverflow.com. Available at: http://stackoverflow.com/questions/15994944/transparent-objects-in-threejs [Accessed 16 Jan 2017].
No comments:
Post a Comment