Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating an array using a recordset

Status
Not open for further replies.

otgriffin

Programmer
Jan 21, 2003
8
US
Hello,

I have a recordset created in PHP. I am wanting to make a javascript array using the recordset. Is there a way I can reference the recordset in javascript and then create my array. This array will be used to check records being enterd into the database. I want to keep a user from filling out the same survey twice.

thank you in advance,
otgriffin

 
No, javascript can't access the recordset.

Yes, you can do what you're talking about.

You know how to do it in javascript right? Just have PHP output that javascript, simple as that.

PHP only runs on the server, Javascript runs on the client.

-Rob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top