General Programming Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsProgrammingGeneral Programming Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old October 31st, 2002, 02:47 AM
AmericanD AmericanD is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Posts: 81 AmericanD User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 17
2 problems. Fulltext search & require once

I am working on my script but it seemst here are a few problems.

normally i am using require_once to include files but when i press the browser back button , there seem to be some errors as it doesn't refresh properly and does not recognize those functions defined in other files (only on the press of the back button of browser) . works fine if we refresh the page


second with the fulltext search. it was working fine with my other test script but when i moved the function to different file and access from a different one. it says error on even simple stuff like mysql_fetch_arrays did not return anything.. but when i run the same query on phpmyadmin, it gives me rows..

what can be wrong?

Reply With Quote
  #2  
Old October 31st, 2002, 03:07 AM
AmericanD AmericanD is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Posts: 81 AmericanD User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 17
ahh the fulltext thing is fixed. only 1 Comma ',' was creatng the problem

anyway so the require once problem remains

Reply With Quote
  #3  
Old October 31st, 2002, 06:01 PM
jpenn jpenn is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Location: Washington, DC
Posts: 317 jpenn User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 m 3 sec
Reputation Power: 17
Re: 2 problems. Fulltext search & require once

Quote:
Originally posted by AmericanD
normally i am using require_once to include files but when i press the browser back button , there seem to be some errors as it doesn't refresh properly and does not recognize those functions defined in other files (only on the press of the back button of browser) . works fine if we refresh the page


Have you tried just using require 'file_name'; instead of require_once.....?
__________________
~ Joe Penn

We work for free to help make this a valuable resource on the internet. Do you appreciate the help - did we provide help that will help you prosper and help that has contributed to sharpening your current skill set?

Show your appreciation and purchase something from our Amazon Wishlist's - it's simple and a great way to say thank you.




Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingGeneral Programming Help > 2 problems. Fulltext search & require once


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.

© 2003-2018 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap