Ok this is just a little test code I've been suing:
Now if I'm not mistaken this should display _draft on the page (I have no table prefix) since I do have a table named draft. My problem is that nothing is being echoed at all so when I try to use it in an SQL statement of course there are problems. Now what I find weird is if I use say
Where faqanswer can be replaced by any postnuke standard module it will echo correctly but then if I use my or any other third party table name such as EZComments or advanced_polls_desc then it won't work correctly. Any idea what could be casuing this? Could it be something elsewhere in the script.?
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- mdee responded to »Short URL questions« 12:02 AM
- mesteele101 responded to »Problem in Database Connection« 21. May
- mesteele101 created topic »Bug in the SMTP mail transfer protocol - Port 25 - Zikula 1.2.9« 20. May
- Herr.Vorragend responded to »Clip Documentation and Doubt« 19. May
- mazdev responded to »zikula 1.3.3. and IE9« 19. May
- mesteele101 responded to »How to install Zikula for MSSQL ??? - Part II« 19. May
- mesteele101 created topic »File packaging« 16. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Now I'm having problems with $pntable..
-
- Rank: Team Member
- Registered: Mar 18, 2002
- Last visit: Oct 21, 2009
- Posts: 6606
The pntable array is populated dynamically - unless that module is loaded into the enviroment via a pnModLoad or such call then this module (and it's tables) remain unavailable to that execution of the script.
The core tables are always available via pntables.php which is always included.
-Mark
--
Visit My homepage and Zikula themes. -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Jul 16, 2003
- Posts: 4
Yeah I figured that out...this was driving me nuts for ages and then I realized "Wait a second...how exactly would it know where to find these tables". ANyway thanks for the help Mark
- Moderated by:
- Support
Users on-line
- 0 users
This list is based on users active over the last 60 minutes.
