Hi everyone,
I don't know if this is going to be a duplicate thread but i couldn't find one exactly like this. Let me explain the problem first --
we have a table say -- XML_TEMPLATE_DATA with data like
----- TABLE : XML_TEMPLATE_DATA -----
TAG_NAME TAG_ID NAMESPACE PARENT_TAG_ID
----------------- ----------- ------------------- -------------------------
ROOTTAG 1 m0 NULL
TAG1 2 m1 1
TAG2 3 m1 1
TAG11 4 m11 2
TAG12 5 m12 2
TAG21 6 m21 3
TAG22 7 m12 3
there is another table XML_TAG_VALUES
---------- TABLE : XML_TAG_VALUES ---------------
TAG_ID VALUE
------------ ----------
TAG11 VAL11
TAG12 VAL12
TAG21 VAL21
TAG22 VAL22
This is a common template for a XML. Now i we can generate a XML form this using pl/sql but can we generate a xml from these two tables
by a single sql statement.I tried a lot but couldn't come up with one!!
Thanks,
Check Digits and extracting digits
I think I can figure out the code for this but I am having a very hard time getting past the first step. Any suggestions are greatly appreciated.
why does my session end?
my connect.php starts the session just so you knowi can navigate arround my site fine except when i come to this page. it lets me in but then when i try to leave no matter what page i go to or which
fwrite error
Hi All,Does anyone know what is causing the error in this code?Code: <?$errorLog_FilePath = "error_log.txt";$handle = @fopen($errorLog_FilePath,'a+');$strError =
natcasesort works on one server but not on another
HiI have a problem that I was hoping that someone can help me with.I'm trying to use natcasesort() to sort an array. This works fine on my laptop (which I use for testing and which uses php 5.2.6),
Server side $_SESSION
how does one keep the session completely server side. no cookies to the browser at all. i need this site to be cookie and jscript free.
Need help in log in and log out?
hi there all of u. i have recently created a site for someone. i have placed log in and log out and some links . but those sessions are not working correctly when some one sign in and sign out and
PHP Function Page Advice
Hi All, I am quite new to PHP and Javascript but have written an Online Shop (Mainly for Fun and education) It uses MySQL for the Shop Item Data and a 'Username.txt' file for each users cart.
'grab_files', multiple extension?
hey guys,can anyone suggest a way to make to following line of code look for files with more than just 'jpg' within the file name (eg 'jpg, JPG, JPEG, jpeg')Code: $files = grab_files('./gallery',
Downloading file (Headers)
I'm trying to make users download a file, but they must wait 60 seconds before it begins.But, I'm stuck - the file isn't downloading, and no error is being shown (I've enabled E_ALL error
Comparing MySql data and arrays.
I have a mysql table set up like this:idsubjectbodyuseriddatetimetags1blog subjectblog body111|29|20099|30|AMblog,site news,techwhen displaying the data i want to be able to add