Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

HTML form and PHP

 
Ranch Hand
Posts: 388
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
technology is secondary let it be either in PHP or in Java main thing is issue should be resolved at the earliest now,as for past many days i have been stuck here but unable to progress due to lack of proper help..
 
John Ken
Ranch Hand
Posts: 388
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
..and in between lot of time is wasted because of laravel and php also..
 
John Ken
Ranch Hand
Posts: 388
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
if proper guidance were given since beginning that neither laravel nor php could resolve it at the earliest then why would we have wasted so much efforts on them directly we would have focused on java only to solve this issue at the earliest..

 
Saloon Keeper
Posts: 7585
176
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Of course it can be done with PHP. Are you saying that you would prefer a Java solution now? That the decision for PHP was not a conscious one?

Are you proficient in Java? Have you done Java web development before?
 
John Ken
Ranch Hand
Posts: 388
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
I just meant to ask if Java was better option to resolve this problem,If yes then why did we not proceed towards that approach else if PHP is still better and quicker option to resolve it then let's continue PHP way only.

But Since Now I have stuck on below in PHP  so I was just following up with experts regarding same.


"

If I am not wrong we both are on this same web page as a referral :-

https://www.w3schools.com/php/php_oop_constructor.asp

and if i see above link as a referral then i find 'function' is the word which differentiate my code and their code,also in my code i have doubt on section ,logo and stream words.

"

So experts could you please guide here..

Thanks much..
 
Tim Moores
Saloon Keeper
Posts: 7585
176
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
The language doesn't matter, both Java and PHP are suitable. You never said that PHP was not actually a requirement.

Which one is faster depends on your knowledge and learning speed. That's why I asked about your Java proficiency, especially Java web development.
 
John Ken
Ranch Hand
Posts: 388
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Xojo or Php for this could be used to solve this problem.

 
John Ken
Ranch Hand
Posts: 388
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
..So now any updates by experts please how could i resolve my problem now?

Thanks..
 
John Ken
Ranch Hand
Posts: 388
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
experts where are you..are you there please to help to resolve my problem it's been over 2 weeks ever since i have been following up for quick resolution of my problem but it seems there is no expert on this forum to understand and resolve my problem quickly now.

If there is any then please help  me to resolve it soon.

Thanks much..
 
Tim Moores
Saloon Keeper
Posts: 7585
176
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator

Tim Moores wrote:Also, keep in mind that it is a weekend, and a holiday weekend in many countries


Where I'm based, even tomorrow is a holiday. Your impatient attitude is not endearing you to anyone.
 
John Ken
Ranch Hand
Posts: 388
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
ok,i have been keeping patience for more than 2 weeks still i am stuck to resolve this issue.

may be some other members could help to speed up resolution of my problem in between.


Thanks
 
Marshal
Posts: 28193
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator

John Ken wrote:may be some other members could help to speed up resolution of my problem in between.



Well, at this point I don't know what your problem is. And I don't believe that going through the 90 posts already made in this thread is going to tell me that either.

So perhaps you could summarize your problem again?
 
John Ken
Ranch Hand
Posts: 388
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Ok,Thanks.

Below is my problem:-

Is it possible to create an web-page,form,that would accept specific input and generate
an XML file from it.The form has to have the ability to add items in one particular section(where we can
add additional streams) and give us the ability to remove streams as well.
For each stream we must be able to attach a logo for that stream as well.

Xojo or Php for this could be used,

below is the sample XML file and Data Format.




Thanks
 
Paul Clapham
Marshal
Posts: 28193
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
So, you were imagining a form with some input fields and a Submit button, and when you click Submit, the response is that XML file?
 
John Ken
Ranch Hand
Posts: 388
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Yes,  a webpage  should be created with a form and the code needed for the form submission and the writing of the XML file from the submission.  
No other users will be using it other than the admin.

 
Saloon Keeper
Posts: 15510
363
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator

John Ken wrote:and if i see above link as a referral then i find 'function' is the word which differentiate my code and their code


Yes, so after this obvious hint, what have YOU tried to resolve the problem?

John Ken wrote:technology is secondary let it be either in PHP or in Java main thing is issue should be resolved at the earliest now,as for past many days i have been stuck here but unable to progress due to lack of proper help..


This is extremely insulting. We have been guiding you very patiently despite your lack of visible effort. Your problem is not lack of proper help. Your problem is that you are not able to recognize how you can use a solution to one problem to solve a similar problem. You lack analytical skills and I feel that you are in the wrong industry.

John Ken wrote:if proper guidance were given since beginning that neither laravel nor php could resolve it at the earliest then why would we have wasted so much efforts on them directly we would have focused on java only to solve this issue at the earliest..


Your problem can be solved with all technologies mentioned. It doesn't matter, the problem is that you don't understand basic programming, and I doubt the road would have been any easier if we did it all in Java.

John Ken wrote:experts where are you..are you there please to help to resolve my problem it's been over 2 weeks ever since i have been following up for quick resolution of my problem but it seems there is no expert on this forum to understand and resolve my problem quickly now.


We understand the problem just fine. I could have written a solution in half a day. We don't care that it's been two weeks. That is your problem. The only way to speed this up is to either take our hints and apply analytical thinking, or pay us to solve the problem for you.

John Ken wrote:ok,i have been keeping patience for more than 2 weeks still i am stuck to resolve this issue.


You might be wondering why I'm so harsh in this post. It's because of statements like this. You are the least patient user I've come across in the almost 10 years that I've been a member of this community. You expect us to do your work for you, do it fast, do it on a holiday weekend, and if we're not willing to do it then apparently we are not 'experts'.

I wish you good luck with this problem. You'll have to do it without my help.
 
John Ken
Ranch Hand
Posts: 388
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
What i tried is below:-



May be  experts could guide from this point onwards and will ignore all previous arguments which were not intentional at all,one should just take it as a problem resolution and should not take it personally at all.

So lt's be professional and just focus on problem and it's solution.


Thanks much..
 
John Ken
Ranch Hand
Posts: 388
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
but unfortunately it is also not working..


so not sure how to model my problem based on hotel booking example as this is some quite some different issue than just simply booking a room in hotel.
 
John Ken
Ranch Hand
Posts: 388
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
hi experts,

are you there please?

thanks much..
 
John Ken
Ranch Hand
Posts: 388
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
I hope some experienced and intelligent experts must be paying attention towards this issue soon.

Thanks much..
 
John Ken
Ranch Hand
Posts: 388
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
where have all the experts gone from this forum now??

i have been trying  to resolve this problem but it is so tough that unable to resolve it so far recently i tried recover that Constructor error as well to model it based on hotel booking example but it also did not work.

will any specially php technical expert be able to deep dive in to my code and provide solution quickly what is wrong in my code here?


Thanks
 
Tim Moores
Saloon Keeper
Posts: 7585
176
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
5 posts within an hour - that is what Stephan was talking about when he said that you were extremely impatient. But if this is so important to you, you must have been working pretty much non-stop on this. So you must have made changes to the code since you last posted it - what were they?

John wrote:it is also not working


Please read ItDoesntWorkIsUseless <-- That's a link. I don't see anything in your code that would handle the form submission, or even instantiate the class you're declaring. If that's all the code there is, then you seem to have ignored this:

Stephan wrote:However, even if the code was valid, it doesn't do anything because it's just a class declaration. You still need to put statements in your php file that will do something. They need to be outside the class declaration.



Don't bother asking how you would do this - you need to learn PHP, and then combine it with the PHP form handling code you already have in that earlier page.
 
John Ken
Ranch Hand
Posts: 388
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
despite trying very hard to learn PHP i have so far been unable to resolve my problem where as same could just have been resolved with in half day by experts here but unnecessarily it seems experts are dragging this problem and not letting it get resolved.



 
Paul Clapham
Marshal
Posts: 28193
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator

John Ken wrote:despite trying very hard to learn PHP i have so far been unable to resolve my problem where as same could just have been resolved with in half day by experts here but unnecessarily it seems experts are dragging this problem and not letting it get resolved.



Translation: "I have been waiting for days for people to do my work for me."

If you wanted somebody to spend half a day writing that code, you could have found somebody who knows what they are doing and paid them to do it. And then it would be done without all of the aggregation. I think at this point, that would be your best approach.

Just to reiterate: Nobody here is going to write the code for you. I think this thread has come to an end.

    Bookmark Topic Watch Topic
  • New Topic