Searching a database problems

  • gromituk2k
  • Newbie
  • Newbie
  • User avatar
  • Posts: 14
  • Loc: West Yorkshire, England

Post 3+ Months Ago

I have a MySQL database with one table in it which contains a list of unique number/letter combinations, e.g. 234gfd5675

In my Flash file I then have one text field and a button. What I want to happen is then a combination is entered into the text field and the button is pressed, using a PHP file, the database is searched for this combination. If not fund an error is displayed and if the combination is found then the Flash file will continue to the next frame.

Any ideas on a good tutorial to use for this? I have found loads that write to a database and then deiplay the content, but can not find any that will search the database.
  • Rabid Dog
  • Web Master
  • Web Master
  • User avatar
  • Posts: 3241
  • Loc: South Africa

Post 3+ Months Ago

Are you doing this async or does the flash you using have direct database access?

Bit behind on the flash side of things and I remember the way I used to do it was an async call of to a php page or the likes that provided access to the database./ If you can write to a database you can read from the database :) Do you know how to execute queries against a database?

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 7 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum

© 1998-2017. Ozzu® is a registered trademark of Unmelted, LLC.