DeeDee2010 Posted February 3, 2009 Share Posted February 3, 2009 Hello, This is my 1st post, so hi everybody. I have a problem, and as I am not a native english speaker, this could be mainly why I post here, you may understand what I want to do, but I cannot express it properly so that google can understand it... and help me out. Therefore, my problem goes like this. I have a website, and since I don't have many orders (2-3 a week), I didn't get an automated program who could help me make faster invoices, so I do them manually in Dreamweaver. So I have this html page, with alot of info, such as - tracking number, name and address of the buyer, name and address of the other person who's selling and I intermediate the sale for him, details of the merchandise, height, weight etcetera, very similar to a tracking number from a known transportation company such as UPS etc. There are many details, and it takes me almost 30 minutes to edit a page like that with Dreamweaver, and upload it on my site. I think you got the picture. What I would like to know is wether there is any possibility to have forms, html or php, I don't know very well, and just fill them out, and the output to be shown in another html or php file? It's quite hard to explain myself, I would like some sort of a form to fill, and not having to use Dreamweaver every time. Thanks alot if you could point me in the right direction I would be very very grateful. Quote Link to comment https://forums.phpfreaks.com/topic/143677-noob-question-but-please-help-me-thank-you/ Share on other sites More sharing options...
Maq Posted February 3, 2009 Share Posted February 3, 2009 You can design your own kind of backend interface to update your pages. You should read up on basic html forms W3 Forms. There should be some good examples for you on phpfreaks and the web. Quote Link to comment https://forums.phpfreaks.com/topic/143677-noob-question-but-please-help-me-thank-you/#findComment-753878 Share on other sites More sharing options...
DeeDee2010 Posted February 3, 2009 Author Share Posted February 3, 2009 Thanks for the quick reply, I should have been more precise. Ok, so let's say I know where to put the forms, but I need to know how they can be output in a SAME html page, only that they should be filled in. All I see is that the "onsubmit" it can be mailed, or output in a php file with the answers filled in, but I need an output file with the exact html from the one I initially wrote. So, I'm not looking for forms to be filled and submitted by the client, but by myself, to reduce the time spent in Dreamweaver every time I edit the same html, just to update some names, dates, etc. If only I could express myself better in English... Sorry, but maybe someone may have some ideas, or shed some tips on what to search for, because I burnt google down and still haven't found what I want. THANKS Quote Link to comment https://forums.phpfreaks.com/topic/143677-noob-question-but-please-help-me-thank-you/#findComment-753887 Share on other sites More sharing options...
ratcateme Posted February 3, 2009 Share Posted February 3, 2009 If you used a database also you could sendthe user his tracking number and he could put it in on a php page and would get all the info tizag.com has a good mysql tutorial Scott. Quote Link to comment https://forums.phpfreaks.com/topic/143677-noob-question-but-please-help-me-thank-you/#findComment-753889 Share on other sites More sharing options...
DeeDee2010 Posted February 3, 2009 Author Share Posted February 3, 2009 Thanks Scott, unfortunately, I don't have a DB, my site is quite simple, and with little trafic. For the moment I don't have a DB, thanks anyway. Any other ideas? I only have html pages, the only html with php page is the contact page. LE: Ok, I will try to show what I would like to do. So here is the html page (txt now, but it is html with alot of graphics), so I underline the things I would like in forms, and would like to know what answer to put in "onsubmit" and "method" Informations sur Reservation numero numero ici Votre rôle dans la transaction: role Nom et prenom: xxxx Adresse: xxxx Ville: xxxx Code postal: xxxx Pays: xxxx Le courrier de l'autre personne: xxxx L'origine de la transaction: Antiques Boutique D'Ivonne Détails de transaction Date/heure Status date xxxx heure xxxx message xxxx date xxxx heure xxxx message xxxx date xxxx heure xxxx message xxxx date xxxx heure xxxx message xxxx date xxxx heure xxxx message xxxx date xxxx heure xxxx message xxxx ETC Quote Link to comment https://forums.phpfreaks.com/topic/143677-noob-question-but-please-help-me-thank-you/#findComment-753891 Share on other sites More sharing options...
Maq Posted February 3, 2009 Share Posted February 3, 2009 You could store data in .txt files and read them when the page loads. So your interface would open a text file and write to it with whatever you want to change. Then when your page loads you read that file, and take certain lines out (need to come up with a system) that are called in with PHP. A database would be much much easier and more versatile and organized. This is the point of PHP and the power of dynamic web pages. Where do you think these changes are going to be stored? You have to read them in from somewhere. Quote Link to comment https://forums.phpfreaks.com/topic/143677-noob-question-but-please-help-me-thank-you/#findComment-753893 Share on other sites More sharing options...
DeeDee2010 Posted February 3, 2009 Author Share Posted February 3, 2009 You could store data in .txt files and read them when the page loads. So your interface would open a text file and write to it with whatever you want to change. Then when your page loads you read that file, and take certain lines out (need to come up with a system) that are called in with PHP. A database would be much much easier and more versatile and organized. This is the point of PHP and the power of dynamic web pages. Where do you think these changes are going to be stored? You have to read them in from somewhere. Thanks Maq, but I guess I lost you with the text files. As for the DB, I also assume it would be easier, just that, I'm on a free hosting which does not support Databases. I'm poor, not affording to pay a monthly fee for a good one, but I guess I'll keep googling I might find some answers... THANKS ALOT FOR YOUR TRYINGS TO HELP. Cordialement, DD Quote Link to comment https://forums.phpfreaks.com/topic/143677-noob-question-but-please-help-me-thank-you/#findComment-753904 Share on other sites More sharing options...
trq Posted February 3, 2009 Share Posted February 3, 2009 If your using php5 it should come with sqlite by default. sqlite is the perfect database for a small-medium site. In most cases its actually alot quicker than mysql. Check phpinfo to see if it is enabled. Quote Link to comment https://forums.phpfreaks.com/topic/143677-noob-question-but-please-help-me-thank-you/#findComment-753908 Share on other sites More sharing options...
DeeDee2010 Posted February 3, 2009 Author Share Posted February 3, 2009 If your using php5 it should come with sqlite by default. sqlite is the perfect database for a small-medium site. In most cases its actually alot quicker than mysql. Check phpinfo to see if it is enabled. Thorpe, I have php enabled, but on my control panel I am not allowed to create databases, no phpmyadmin or msql. No other solutions? Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/143677-noob-question-but-please-help-me-thank-you/#findComment-753918 Share on other sites More sharing options...
trq Posted February 3, 2009 Share Posted February 3, 2009 I just posted another possible solution. Create a page with a call to phpinfo and check for the existence of the sqlite extension. This ships with php5 by default and is a fast light weight database. Quote Link to comment https://forums.phpfreaks.com/topic/143677-noob-question-but-please-help-me-thank-you/#findComment-753919 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.