Access a database Forum Home > Construct 2 General > How do I....? |
Post Reply
|
| Author | |
Post Options
Quote Reply
Topic: Access a databasePosted: 21 Apr 2012 at 3:59pm |
|
|
Hi, i've being playing around with AJAX and reading strings from a webpage. I have managed to do that and now i'm trying to do the same thing but in a better way. I was wondering if there are any tutorials centred around database accessing and editing using construct. I basically know nothing i'm guessing it has something to do with SQL but thats as far as i got. Can this be done?
The basic goal Read from a database a set of values depending on an input to the server i.e. an ID number And a side goal is to load data into a database depending on an input to the server i.e. ID and Name I've been trying on my own for a bit now, i tried making a php page that would access the database depending on input but then when i came to the actual database section got lost. I was wondering if there was a way to access the database directly Thanks in advance Edited by FookinNora - 21 Apr 2012 at 4:02pm |
|
![]() |
|
Post Options
Quote Reply
Posted: 21 Apr 2012 at 5:57pm |
|
|
Databases, SQL and PHP are a bit out of the scope of this forum. I'd recommend browsing the web where there are lots of other better sites for help (e.g. StackOverflow), many existing tutorials, etc.
|
|
![]() |
|
Post Options
Quote Reply
Posted: 22 Apr 2012 at 3:59am |
|
|
Yeah already hitting the php side of things i was just hoping that construct had an idiot proof way for me to do it with out learning php and SQL but i suppose you can't be fed everything on a plate thanks
|
|
![]() |
|
Post Options
Quote Reply
Posted: 22 Apr 2012 at 6:55am |
|
|
If you do wan't to learn a bit of those subjects, http://thenewboston.org/index.php has video tutorials and http://www.w3schools.com/ makes a great reference, but also has tutorials.
|
|
![]() |
|
Post Options
Quote Reply
Posted: 22 Apr 2012 at 9:52am |
|
Why not add a little Web Storage? Every browser seems to support it. Maybe not a full database, but could be useful for RPG stats. Also consider IndexedDB; it seems to be catching on fast. HTML5 will solve all your problems! Edited by Bob Thulfram - 22 Apr 2012 at 9:56am |
|
![]() |
|
Post Reply
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |