Re: [PHP] mySQL Results To XML -- my xmltag() functions

2007-10-06 Thread mike
On 10/6/07, Daevid Vincent <[EMAIL PROTECTED]> wrote: > Here's the 'functions_xml.inc.php' file I use, it has served me well and > handles I believe all tag cases, personally I'm a big fan of using the > attributes as they're most easily parsed out in the PHP DOM functions: I made this at one poi

RE: [PHP] mySQL Results To XML -- my xmltag() functions

2007-10-06 Thread Daevid Vincent
> -Original Message- > you could easily just print the xml manually. > > > foo > etc > > > or, i believe mysql will return XML output but i'm not sure a PHP > function exists to do that. > > no need to use fancy DOM functions, outputting XML is easy, parsing it > is when you need

Re: [PHP] mySQL Results To XML

2007-10-06 Thread mike
On 10/6/07, CK <[EMAIL PROTECTED]> wrote: > Hi, > > > Here's the mission, creating a movie DB, I need the results returned > from mySQL in an XML format for use with the FLASH Professional > DataGrid. Any tips on formating mySQL results would be grand. Here's > the structure of the DB, if needed.

[PHP] mySQL Results To XML

2007-10-06 Thread CK
Hi, Here's the mission, creating a movie DB, I need the results returned from mySQL in an XML format for use with the FLASH Professional DataGrid. Any tips on formating mySQL results would be grand. Here's the structure of the DB, if needed. DVD Table *Title ID *Title *Genre *Actor *Di

[PHP] mySQL Results To XML

2007-10-06 Thread CK
Hi, Here's the mission, creating a movie DB, I need the results returned from mySQL in an XML format for use with the FLASH Professional DataGrid. Any tips on formating mySQL results would be grand. Here's the structure of the DB, if needed. DVD Table *Title ID *Title *Genre *Actor *Di

Re: [PHP] MySQL Results Not Being Commited To Database

2004-07-03 Thread John W. Holmes
Harlequin wrote: sql == "INSERT INTO RegisteredMembers (TXT_UserID,TXT_UserPassword,TXT_Comments,TXT_FurtherComments) VALUES('".$NewUserID."','".$NewUserPassword."','".$NewUserComments."','".$NewUserFurtherComments."')"; This should be $sql = " ... " and then you need to run the query w

[PHP] MySQL Results Not Being Commited To Database

2004-07-03 Thread Harlequin
I've managed with a lot of help to get the PHP pages to echo the results of what a user put into a "User Registration" page. However, I'm still having trouble getting the code right to actually commit the data on the "Registered" page that the "Register" page points to. Can anyone help...? Code a

Re: [PHP] MySQL Results - display issue :S

2003-07-09 Thread Philip Olson
On Thu, 10 Jul 2003, Brenton Dobell wrote: > I know im probibly getting irritating to most of you :P but i thought i may > ask another thing that is on my mind! > > I have a sql query bringing back 200 rows for arguments sake, From this i > would like an answer to 2 issues i have. > > 1) I know

Re: [PHP] MySQL Results - display issue :S

2003-07-09 Thread Miles Thompson
Brenton, The short answer: loops, counters and test Across - your content and so forth When to stop - a cell counter tested with mod operator Alternating colour - a row counter tested with mod operator That should get you pointed in the right direction. (If this is for a school project that

[PHP] MySQL Results - display issue :S

2003-07-09 Thread Brenton Dobell
I know im probibly getting irritating to most of you :P but i thought i may ask another thing that is on my mind! I have a sql query bringing back 200 rows for arguments sake, From this i would like an answer to 2 issues i have. 1) I know how to display it row after row going down :P duh of cours

Re: [PHP] MySQL results

2002-04-26 Thread Julie Meloni
N> Hello, I have a question: does anyone know how to divide MySQL results to N> pages and display on a website in "1 2 3 4" form? Use LIMIT within your SELECT statement: http://www.mysql.com/doc/S/E/SELECT.html - Julie --> Julie Meloni --> [EMAIL PROTECTED] --> www.thickbook.com Find "Sams

[PHP] MySQL results

2002-04-26 Thread Nookie
Hello, I have a question: does anyone know how to divide MySQL results to pages and display on a website in "1 2 3 4" form? Greetings, Simon Kosok http://www.shakira-online.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] MySQL Results NULL Error

2001-04-16 Thread Jason Stechschulte
On Thu, Apr 12, 2001 at 10:20:28PM -0400, Chris Anderson wrote: > If I grab values from fields and they contain nothing, and I retrieve > them using mysql_field_array, it will give an index out of range. Is > there a way to prevent the error or do I have to keep putting a @ in > front of the varia

[PHP] MySQL Results NULL Error

2001-04-12 Thread Chris Anderson
If I grab values from fields and they contain nothing, and I retrieve them using mysql_field_array, it will give an index out of range. Is there a way to prevent the error or do I have to keep putting a @ in front of the variable declaration?