473,406 Members | 2,377 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Can I use PHP for selecting and writing data into a server-database?

Hi,

I like to build a small simple dinamic website: Point-of-sale
(detail-shop), So entering stock, logging all sales, print out
invoices and download the logs to be imported into Excel.

I once could write a bit in ASP/SQL/HTML/JAVASCRIPT and even some
Excel-VBA but have lost most knowledge about that and I never know a
lot nor did I know how to set up a simulating PC to write and test the
website.

I don't want to spend much money buying Microsoft product, so I've
heard that PHP with MySQL can do it for free, right? But all I find is
that PHP can look up data in a file on the server and send dinamicly
changed HTML, but can it also write data on the servers data-bases?
Can I make a link on the site to download some requested data like the
sales-log in 1 text or Excel-file?
How much data can MYSQL with PHP handle? What about 1.000.000 sales
and finding a product within 100.000 products?

Thanks already for reading this!
Jul 16 '05 #1
6 2759
"Michel" ,

Hi, I am new starter in Php+MySQL too.

I recently rececomended to a tool call easyPhp which includes the
webserver,php,MySQL and it's really easy to understand and working.

You can download it from www.download.com

Regards
Hoe
Jul 16 '05 #2
Everything is possible !!
with PHP and MYSQL !
Maybe try to buy a book , plenty of books talk about PHP with MYSQL.
but you'll have to learn. it's not that complicated.
It's free, it can insert, read, move, ... data into/from your BD
handle many connexions.
just browse the net about this.
--
Salutations,

Fred !
ICQ: 46063572
"Michel" <mi***********@mail.com> a écrit dans le message de news:
a9**************************@posting.google.com...
Hi,

I like to build a small simple dinamic website: Point-of-sale
(detail-shop), So entering stock, logging all sales, print out
invoices and download the logs to be imported into Excel.

I once could write a bit in ASP/SQL/HTML/JAVASCRIPT and even some
Excel-VBA but have lost most knowledge about that and I never know a
lot nor did I know how to set up a simulating PC to write and test the
website.

I don't want to spend much money buying Microsoft product, so I've
heard that PHP with MySQL can do it for free, right? But all I find is
that PHP can look up data in a file on the server and send dinamicly
changed HTML, but can it also write data on the servers data-bases?
Can I make a link on the site to download some requested data like the
sales-log in 1 text or Excel-file?
How much data can MYSQL with PHP handle? What about 1.000.000 sales
and finding a product within 100.000 products?

Thanks already for reading this!

Jul 16 '05 #3
mi***********@mail.com (Michel) wrote in message
news:<a9**************************@posting.google. com>...

PHP can look up data in a file on the server and send dinamicly
changed HTML, but can it also write data on the servers data-bases?
Yes. Easily. Read the PHP Manual:

http://www.php.net/mysql
How much data can MYSQL with PHP handle?


This question really has nothing to do with PHP. MySQL will handle
the data as long as the data file size is within the limits imposed
by the operating system it is running on. Read the MySQL Manual:

http://www.mysql.com/doc/en/Table_size.html

Cheers,
NC
Jul 16 '05 #4
Hi Michel!

On 10 Sep 2003 13:51:19 -0700, mi***********@mail.com (Michel) wrote:
Hi,

I like to build a small simple dinamic website: Point-of-sale
(detail-shop), So entering stock, logging all sales, print out
invoices and download the logs to be imported into Excel.

I once could write a bit in ASP/SQL/HTML/JAVASCRIPT and even some
Excel-VBA but have lost most knowledge about that and I never know a
lot nor did I know how to set up a simulating PC to write and test the
website.

I don't want to spend much money buying Microsoft product, so I've
heard that PHP with MySQL can do it for free, right? But all I find is
that PHP can look up data in a file on the server and send dinamicly
changed HTML, but can it also write data on the servers data-bases?
PHP can pretty much do everything, have a look at the extensions at
www.php.net
Can I make a link on the site to download some requested data like the
sales-log in 1 text or Excel-file?
Sure, or have it send by email regularly.
How much data can MYSQL with PHP handle? What about 1.000.000 sales
and finding a product within 100.000 products?


This is more a database question. I'm sure MySQL can handle this with
an appropriate server, but there are other problems that may arise,
which might point you to another database.
HTH, Jochen
--
PHP DB Edit Toolkit -- PHP scripts for building
database editing interfaces.
http://sourceforge.net/projects/phpdbedittk/
Jul 16 '05 #5
mi***********@mail.com (Michel) schrieb:
I don't want to spend much money buying Microsoft product, so I've
heard that PHP with MySQL can do it for free, right? But all I find is
that PHP can look up data in a file on the server and send dinamicly
changed HTML, but can it also write data on the servers data-bases?
Yes, of course. PHP is running on the server, so accessing the database
should be no problem. Which database do you want to use: Oracle, MySQL,
Postgres, MS-SQL, ... ? PHP works with all of them.
Can I make a link on the site to download some requested data like the
sales-log in 1 text or Excel-file?
Yes.
How much data can MYSQL with PHP handle? What about 1.000.000 sales
and finding a product within 100.000 products?


I just started do add data warehouse funtionality to a very small
application. My script and the MySQL database ran on a 1GHz Celeron and
INSERTed 1.7 million records in one table in less than 90 minutes. It
could have been faster but the script did some million SELECTs on the
same database to gather the data. The time the database needs to find a
record in this table is far below one second.

Regards,
Matthias
Jul 16 '05 #6
Yep, php + mysql can do all this quite efficiently

"Michel" <mi***********@mail.com> wrote in message
news:a9**************************@posting.google.c om...
Hi,

I like to build a small simple dinamic website: Point-of-sale
(detail-shop), So entering stock, logging all sales, print out
invoices and download the logs to be imported into Excel.

I once could write a bit in ASP/SQL/HTML/JAVASCRIPT and even some
Excel-VBA but have lost most knowledge about that and I never know a
lot nor did I know how to set up a simulating PC to write and test the
website.

I don't want to spend much money buying Microsoft product, so I've
heard that PHP with MySQL can do it for free, right? But all I find is
that PHP can look up data in a file on the server and send dinamicly
changed HTML, but can it also write data on the servers data-bases?
Can I make a link on the site to download some requested data like the
sales-log in 1 text or Excel-file?
How much data can MYSQL with PHP handle? What about 1.000.000 sales
and finding a product within 100.000 products?

Thanks already for reading this!

Jul 16 '05 #7

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

Similar topics

5
by: Sunil Gosavi | last post by:
I have to write a master detail query, in which the detail record should be stored in a variable as Comma Seperated Values. Can anyone help me...... Sun *** Sent via Developersdex...
3
by: james.dixon | last post by:
Hi I was wondering if anyone else had had this problem before (can't find anything on the web about it). I have three select elements (list boxes - from here on I'll refer to them as 'the...
4
by: Lucius | last post by:
Hello everyone, I have a query problem. I'll put it like this. There is a 'publishers' table, and there is a 'titles' table. Publishers publish titles (of course). Now I want to make a query (in...
5
by: Dave | last post by:
Hi all, Apologies if this is the wrong group. I have done a search on google but my keywords are probably no good. What I want to do is to display a list of data in a datagrid (which I have...
3
by: joshsackett | last post by:
I am having a problem with indexes on specific tables. For some reason a query that runs against a view is not selecting the correct index on a table. I run the same query against the table...
7
by: John Pote | last post by:
Hello, help/advice appreciated. Background: I am writing some web scripts in python to receive small amounts of data from remote sensors and store the data in a file. 50 to 100 bytes every 5 or...
2
by: areef.islam | last post by:
Hi, I am kinda new to javascript and I am having this problem with selecting multiple options from a select tag. Hope someone can help me out here. here is my code...
4
by: J | last post by:
I am editing a pre-existing view. This view is already bringing data from 40+ tables so I am to modify it without screwing with anything else that is already in there. I need to (left) join it...
4
by: =?Utf-8?B?UmljaA==?= | last post by:
Greetings, I have to load 30,000 unique names into a combox. Filling a dataTable takes only a few milliseconds. But populating the combobox and displaying the list takes several seconds - way...
11
by: Krzysztof Retel | last post by:
Hi guys, I am struggling writing fast UDP server. It has to handle around 10000 UDP packets per second. I started building that with non blocking socket and threads. Unfortunately my approach...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
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...

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.