![]() |
Using "trim" not working anymore?
A person wrote a system that allowed us to update mountain bike trail conditions on a single page - displaying all our trails and a quick condition next to each one.
This was written a while ago and I was able to get it working with vb 3.0 - but now the new 3.5 broke it again. I went in and replaced a bunch of $db calls and it seems to display just fine. However, when i click on a trail to edit the condition the script does not seem to pull out the action of "edit" Here is the snip of code that I think is not working and how it is called: Called via: Code:
http://www.morcmtb.net/forums/trail.php?s=&action=edittrail&trailid=21 Code:
// now the function used to get the info of the trail updated Can someone help? Its probably pretty obvious I'm no coder and its a real mess... |
It's not the trim function; it's because $action isn't set:
Code:
// do like this to clean and set $action |
I'll give that a shot. Thanks!
Looks like I'm getting farther along now in the script. It now sees edittrail - thanks. Now I get an error I hope someone can help me through. The error is: Invalid SQL: SELECT descript FROM conditiontrail_general WHERE generalid=; The code on the line that generates this is: Code:
|
All times are GMT. The time now is 06:23 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|