473,508 Members | 2,214 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Output to MySQL DB

I have the requirements of getting a simple form to output to a db
file. Currently I am using a form called ennyform and it outputs to a
flat file. The person who want this wants it to be searchable and we
expect to get anywhere from 50 - 300 forms submitted per day. I was
reading that using php to MySQL was the correct way to get output into
a MySQL database. I know this is not the only way but I am on a Linux
platform and it is free. Is this overkill to set this up for a simple
form? Should I continue using the flat file and import it into
something. I am basically fishing for the most efficient way. I am
only assuming PHP to MySQL is the best way. I would just like to know
before I dive into the unknown. My next step would be to figure out
how to set up a page to use PHP to output form fields. And of course I
will have to create the DB.

I hate to say this but yes I am clueless but I was hoping that this
would be a short quik answer from somebody who done these things
already. I just want to pointed in the right direction before I spend
a lot of time with the wrong stuff. Currently I just read the text
file, actually I don't even do that I just read the emails as they are
sent. I rarely go in and look at the text file the form outputs to. I
am going to have to though, very soon.

Thanks A lot
Jul 16 '05 #1
1 2615
The Voivod wrote:
I have the requirements of getting a simple form to output to a db
file. Currently I am using a form called ennyform and it outputs to a
flat file.
What server-side technology/language do you use to output the form
values to the flat file? Couldn't you use the same technology/language
to output them to MySQL?

The person who want this wants it to be searchable and we expect to get anywhere from 50 - 300 forms submitted per day.
Just FYI: this won't cause any problem, whatever technology you use. 300
hits per day is a really small charge.

I was reading that using php to MySQL was the correct way to get output into
a MySQL database. I know this is not the only way but I am on a Linux
platform and it is free. Is this overkill to set this up for a simple
form?
php is very quick and easy to install, as well as MySQL. You shouldn't
have too many problems if you read the manuals at www.php.net.
Should I continue using the flat file and import it into
something.
No. This would make things slower, and more difficult to implement.
I am basically fishing for the most efficient way.
For such a small charge, use what you know best, i.e. the easiest
solution for you.

HTH.
JB.
I am
only assuming PHP to MySQL is the best way. I would just like to know
before I dive into the unknown. My next step would be to figure out
how to set up a page to use PHP to output form fields. And of course I
will have to create the DB.

I hate to say this but yes I am clueless but I was hoping that this
would be a short quik answer from somebody who done these things
already. I just want to pointed in the right direction before I spend
a lot of time with the wrong stuff. Currently I just read the text
file, actually I don't even do that I just read the emails as they are
sent. I rarely go in and look at the text file the form outputs to. I
am going to have to though, very soon.

Thanks A lot


Jul 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
7375
by: Martin Foster | last post by:
Hi. I want to do something really simple. I want to be able to write a custom SQL query in a textbox on a webpage, submit it and then output to the webpage in the format of MySQL output i.e....
0
497
by: Jan Josefowicz | last post by:
Hi all, I get following output from "mysqlbinlog mylog-bin-file.001": # at 4 #030818 13:38:00 server id 1 Start: binlog v 4, server v created 700101 1:00:00 The file mylog-bin-file.001...
6
5955
by: Todd Cary | last post by:
My client is using a shared server running MySQL 2.4, however the in house server is 4.1.12 with mysqldump 10.9. Is there a way to have the 10.9 version output a format that is fully compatible...
4
1575
by: Bob Bedford | last post by:
Hello, I've a file wich must answer a request. For this my file must generate an XML output. That's work fine but sometimes I get a wrong mysql query. In this case, I've to manage the output...
1
3500
by: evan.lavidor | last post by:
Hi all, Forgive me if this topic has been discussed before. I've been doing some searching and have yet to come across the answer I'm looking for. I'm new to PHP, and I'm trying to call a...
0
19251
by: IamtheEvster | last post by:
Hi All, I am currently using PHP 5 and MySQL 5, both on Fedora Core 5. I am unable to call a MySQL stored procedure that returns output parameters using mysql, mysqli, or PDO. I'm having a...
0
1123
by: PW | last post by:
I am trying to create a crosstab report in ASP. I'm using ASP/VBScript and Access database. I used Access to create the SQL query, then copied the SQL and embedded it in my ASP like this ... ...
2
5120
by: sparkw | last post by:
I am using WinXP, GNU Emacs 23, MySQL 5. When I start a mysql process with `sql-mysql' in emacs, no output is displayed in the buffer until I quit or kill the process. After I add the following...
2
6591
by: xtremebass | last post by:
Hi Bytes, in Linux , is it possible to redirect Mysql table output to a file in Linux. i tried it, shows error , but output has displayed in linux prompt when no redirection of file has given(say...
0
7132
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7336
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7401
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7504
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5059
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3196
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1568
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
773
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
432
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.