Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.



Recommended Posts


newbie php'er... it appears that the -database fetch command- is a script command called "tep_db_query". does anyone know where "tep_db_query" is defined, so that i can see the lower-level php code that actually does the database call.


i assume that all of the "tep*" commands are script command defined somewhere but i can't seem to find that *somewhere*. help. thanks in advance!!!




Link to comment
Share on other sites

For tep* look in the functions folder.


I think tep_db_query is in database.php


Get yourself a program like windows grep. Very useful for finding code. :)

Forum search

Contributions search

Documentation search (note: docs being adapted for MS3, may be different for MS2)

3 tips for better forum searching


Want to post? Read this first:

osCommerce for dummies

Topic name etiquette



Basics for design

Right syntax to use near '-20, 20'

Cannot re-assign $this

Parse error

Link to comment
Share on other sites

Check out catalog/includes/functions/database.php


I have a vague memory that once upon a time, before it was called osCommerce, it was called The Ecommerce Project, hence TEP


ps. have a look on the web for a registry hack for a handler for the file type .php it allows windows to search in .php text files just like all of the other files types it recognises by default



Link to comment
Share on other sites


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

  • Create New...