Jump to content

really need help!!


dj scousey

Recommended Posts

Hi all,

 

Im coming to my wits end here!!

 

Right let me explain my situation:

 

I have a shoutbox that i have made, by reading different tutorials; which has resulted in me having 2 different databases getting accessed. (one for logon and one for the shouts/smilies).

 

I have my login script just how i want it now, and also my shout script too (apart from one thing)

 

On the form which the users fill in to post a shout, i would like their email address already in the input value attribute. BUT.... i cant seem to do it, as once they are inside the main shoutbox, they are running off one database ($shouts) and the information i need is in the other database ($login).

 

What i was THINKING was, is there anyway of making a seperate php file to grab the data from the $login database and echo it, and then put an include on my shoutbox input value attribute section??

 

the thing i got stuck with was, how does it know which email address to get... because i dont know how to cross reference between 2 different databases.

 

any help would be greatly appreciated!!

 

 

Link to comment
https://forums.phpfreaks.com/topic/89618-really-need-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.