Run AJAX in preview mode

Discussion and feedback on Construct 2

Post » Sat Nov 12, 2011 11:03 pm

Its probably localhost/game/index.html
B
2
S
2
G
5
Posts: 448
Reputation: 2,546

Post » Thu Nov 17, 2011 7:04 pm

Yes...

Thanks !

But... my Ajax access to an Sql database online doesn't work.
Is it normal ? or Should that work too ?
B
12
S
2
G
5
Posts: 73
Reputation: 3,570

Post » Thu Nov 17, 2011 8:16 pm

I don't think AJAX can directly access a SQL database.
AJAX is a call to a script which handles said access.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 7,000
Reputation: 57,795

Post » Fri Nov 18, 2011 12:05 am

AJAX was really designed for people who are already familiar with server side scripting and databases. If you don't know about that already, using the AJAX object is likely to be a very steep learning curve.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Previous

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 12 guests