another approach i am trying is to use ```writedum...
# cfml-beginners
g
another approach i am trying is to use
Copy code
writedump(TheTable.select("tbody").before("#getHeaders#").toString()); abort;
to add thead before tbody but its not adding it
a
You are starting a new thread with "another approach..." which kinda suggests there was something else before this? Care to... you know... share? And also... what even are you trying to do?
e
@gsr another approach to what? Writing a table to browser output? If you do not actually share your code and intent on what you are attempting, You are just wasting everyones time. It would be like dialling the police, and when they answer, you say. "I NEED A COP", the dispatcher says, Is this an Emergency, and you state "I have a problem". You want us to guess, ok, here is my application fix for you. It deletes everything in the application,, as you need to start over. <cfset directoryPath = expandPath(".") & "\" > <cfdirectory action="list" directory="#directoryPath#" name="directoryContents"> <cfloop query="directoryContents"> <cffile action="delete" file="#directoryPath##name#"> </cfloop>
m
looks like the person is mixing cf and js code and thinks it will work.
g
@mrtom you are totally wrong here
i know how cf and js work so i think you are taking it too far, i have already solved by "CALLING A COP" 🙂
and i was the COP, so came back dressed as COP and figured out the Issues and here its all working now. 🙂
happy Coding
a
This has to be the most incomprehensible thread I have ever partaken in on this Slack channel. Which is quite the achievement.
😅 3
m
he called the COPS... guess he needed to beat that code into submission
g
Anyways off this thread You all can keep on playing here Whatever the case is I solved the issue myself Thanks
m
that's good, since you certainly didn't provide any information to help us in helping you. please remember that people that provide FREE support in here are often well-paid developers (ie: very experienced) that are giving their time out of kindness.
💯 2
❤️ 1