1
damon
php variables in tinyd
  • 2005/7/1 20:25

  • damon

  • Just popping in

  • Posts: 11

  • Since: 2004/1/15


I have a php script that works great outside of xoops. It takes a user id in as a url variable (i.e.http://site.com/test.php?picID=100) and has a where clause in the select statement (where p.n_pic_id = '$picID') of the script.

However, inside a tinyd module in xoops, I just get the associated text without any data. An example of url ishttp://site.com/modules/tinyd5/index.php?id=2&picID=100. If I remove the where clause, I get the data for the first record, so the database connectivity is ok.

I have another php page with no variable that works good, so I am not worried about any settings within tinyd.

Am I passing the variable incorrectly or is it not capable of handling them?

thanks,
damon

Login

Who's Online

115 user(s) are online (62 user(s) are browsing Support Forums)


Members: 0


Guests: 115


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits