You would probably be best served by first reading this document on how to ask questions on the internet, or any other suitable document with information on this topic. I have no idea if the documented linked to is of decent quality. I'm too lazy to read it, but I suspect you'd gain at least some knowledge that you presently lack.
On the other hand, I'm such a good guy that I have helped you by pointing out some of the blatant misstakes in your original posts. This will be a good start for you, but reading the above document will most likely still serve you should you ever need to ask more questions.
You need to understand, that when asking questions on a forum, you really need to think about what you write. First off, posting in the appropriate forum. When there is one forum called "Coding" and another forum called "Newbies" and you claim to know almost nothing... then you are in the wrong forum if it's not called "Newbies".
Secondly, use an appropriate title. A title stating that you need help upgrading php, means that anyone who isn't comfortable upgrading from one version of php to another version of php is very unlikely to read your post.
You must understand that "upgrading php" means going from PHP 4 to PHP 5 or PHP 5.2.? to PHP 5.3 or 5.3.5 to 5.3.6 or PHP 5 to PHP 6. Since, after reading your post, there seems to be nothing concerning actually upgrading PHP, the title of your post is completely missleading.
Moreover, such a post, if it did indeed concern upgrading php, doesn't belong in either "Coding" or "Newbies" on this board, but rather the "Install" forum, which you can easily see by the text below its link
Install (18 Viewing)
Conversation regarding installation and upgrade of PHP
Now, on to more specifics in your original post...
whitefinger;10985008 wrote:
that i created in dream-weaver
(...) i found Flash Catalyst
(...) Flash Builder (...) import my PHP scripts
But Flash builder didn't like it and gave me a version of PHP that it did
(...) look at my original bad PHP script which did work and also look at what Flash builder gave me and if you didn't mind just help me combine the two so its in context for what Flash builder wants but with my code so i get what i want?
So, you have PHP code generated by two different tools, and want us to look at these, compare them, and also analyze what you want from one of the code sets to realize what it is you want and then write this code for you.
Well, I have some bad news: I am not going to do this, and it's very unlikely that anyone else would either. Code generators are terrible when it comes to writing code which is easy to read and understand.
Moreover, having to read code, line by line, statement by statement, to get to know what you want, is time consuming beyond all sense.
And finally, the people who do have the knowledge to do what you ask, are most likely unfamiliar with both tools you used. This means that as soon as they see either tool's name, they are likely to think "well, post in a forum related to [specific tool]". Sometimes they might even inform you that you should do so, but since your post is so far off from its title, the likelyhood of this happening is slimmer yet.
whitefinger;10985306 wrote:
When i first put the post up i thought i was being a bit lazy and was quite relieved when know one answered my post
... which is what happens easpecially when you are lazy, but also when using misleading titles and posting questions about tools that people may not be familiar with.
whitefinger;10985306 wrote:
but now after lost of searching on the net i realise how little i still know about php
Since you have a project to work on, you are in a good position. No way like the present and some real world problem to tackle to learn PHP.
whitefinger;10985306 wrote:
i just cant see where to put the code to change the data into the format that i want for my website!
And once again, a tip on asking relevant questions: Supply the information needed in the least time consuming way FOR THE READER.
Posting code that does what you want, and then another version not doing what you want and asking someone to make the latter into the first will get you no answer. Or someone simply saying "Copy the first version of the code and paste it over the second version of the code, and the second version will do the thing you ask for".
Explaining what you want in plain text, and as simply as you can, possibly in combination with links to some web site, images and screen shots giving further details if needed is a very good start. In this case, you might want to describe what "the format that I want" means. Moreover, you should most definitely also describe what "the data" means.
Once your posts start aligning your questions with the advice above, you are a lot more likely to get an answer that will help you.