One database from two different pages

Maljonic

Can't get enough of FH
Joined
Dec 22, 2003
Messages
1,297
I have the same script on two different pages connecting to the same database, only it doesn't work right on one fo them; it works fine on this page: http://www.maljonicsdreams.com/love_dating/ but does not on this page: http://www.dream-dating.maljonicsdreams.com/

It's retrieving the data and everything on the second page so it is connecting right, but when you click on the links in the table on the second page it doesn't work.

Does anyone have an idea why this might be?
 

Furr

Can't get enough of FH
Joined
Dec 22, 2003
Messages
1,067
well your links on the page point at the the page "update.php" have you told the script on the page that is not working where to find this? beause from the error its not able to find the page and therefore falls down.

Now i now nothing about PHP just work with ASP and dreamweaver to build my stuff since im a designer first, coder last (yes i know Dreamweaver code is full of crap), but try sticking the update.php page in the web documents root directory for this site http://www.dream-dating.maljonicsdreams.com/ and see if it works.

Basically on http://www.dream-dating.maljonicsdreams.com/ when you click a link its sending a URL querystring to update.php and since there is no update.php its not working...

//edit also just wondering? unless the update.php is tracking clicks or details etc why don't the links point straight at the sites?
 

Maljonic

Can't get enough of FH
Joined
Dec 22, 2003
Messages
1,297
Thanks, I knew there was something I missed but I was too tired to think; just needed an outside view to see it, I hadn't put the update.php in that folder. :)

P.S. It does track the links clicked.
 

Users who are viewing this thread

Top Bottom