[PHP-DB] Accessing MySql using Flash while using PHP as the middleware

2003-06-25 Thread Ron Allen
Does anybody have an idea how-to use Flash and PHP to access a MySql database. I know how to use PHP and mysql with no problem to pull info, but with Flash I am struggling. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] Accessing MySql using Flash while using PHP as themiddleware

2003-06-25 Thread Adam Voigt
Might want to check out a article on devshed: http://devshed.com/Client_Side/Flash/DataDrivenFlash/page1.html On Wed, 2003-06-25 at 11:15, Ron Allen wrote: > Does anybody have an idea how-to use Flash and PHP to access a MySql > database. I know how to use PHP and mysql with no problem to pull i

Re: [PHP-DB] Accessing MySql using Flash while using PHP as themiddleware

2003-06-25 Thread mike karthauser
on 25/6/03 4:15 pm, Ron Allen at [EMAIL PROTECTED] wrote: > Does anybody have an idea how-to use Flash and PHP to access a MySql > database. I know how to use PHP and mysql with no problem to pull info, but > with Flash I am struggling. Look on flashkit.com -- Mike Karthauser Managing Directo

Re: [PHP-DB] Accessing MySql using Flash while using PHP as the middleware

2003-06-25 Thread Miles Thompson
Adam made a good suggestion - but using LoadVars is better, and if you are retrieving text it's easier to bring it back as an xml file, otherwise an ampersand stops you cold. Here's my call to the login script to authenticate users for a news site when the login button is clicked. The varSender

RE: [PHP-DB] Accessing MySql using Flash while using PHP as themiddleware

2003-06-25 Thread Tim Winters
Fairly simple if you're using Flash MX. In the flash movie create a LoadVars object. myObject = new LoadVars (); create an onLoad event for it... myObject.onLoad = function () { trace (myObject.returnedValue); } drag and drop a button component and name

[PHP-DB] problem about cookie !!!

2003-06-25 Thread linton
When I logout and delet cookies, I have problems: The value of $_COOKIE['cookie_user'] is not null and echo $_COOKIE['cookie_user'] = userName. login.php: ... setcookie("cookie_user", "$userName", time()+3600, '/','.gl.com'); setcookie("cookie_password", "$userPasswd", time()+3600

[PHP-DB] generating sequence without AUTO_INCREMENT

2003-06-25 Thread anders thoresson
Hi, I'm working on a web based article planning system for a news paper, based on PHP and MySQL. One vital table in the setup will contain release date and number for each issue. It's a simple table with just three columns: id, which is the primary key and AUTO_INCREMENT date, which is the releas