Re: [PHP-DB] DATABASE Error on form submission

2004-08-30 Thread randy
//check for required fields from the form if ((!$_POST[topic_owner]) || (!$_POST[topic_title])|| (!$_POST[post_text])) { header("Location: addtopic.html"); exit; } The $_POST is an associative array and the key names need to be wrapped by commas. The same error is happening on your local mac

[PHP-DB] DATABASE Error on form submission

2004-08-30 Thread Remember14a
Dear friends, My form works on localhost and writes to mysql database with php script, however when I use same form on server over the internet, it writes to mysql database, that means no connection problem, however it gives me error stated below. Guidance, please. ---

Re: [PHP-DB] database

2004-08-30 Thread Ramil Sagum
On Mon, 30 Aug 2004 21:44:03 -0700, Ryan Holowaychuk <[EMAIL PROTECTED]> wrote: > And that is where I am lost? > > Yes I have the data in a Mysql server, so how do I get the server to do the > work. > > thanks > Ryan > You need to execute a SELECT statement with a WHERE clause. Your problem

Re: [PHP-DB] database

2004-08-30 Thread Ramil Sagum
On Mon, 30 Aug 2004 21:29:07 -0700, Ryan Holowaychuk <[EMAIL PROTECTED]> wrote: > > I have a database that has 110,000 barcodes in it. > I am trying to create a system that I can enter barcode1 in the system and > it return a good or bad value. > I have it loading in an array at the moment. which

[PHP-DB] database

2004-08-30 Thread Ryan Holowaychuk
I have a database that has 110,000 barcodes in it. I am trying to create a system that I can enter barcode1 in the system and it return a good or bad value. I have it loading in an array at the moment. which does nto seem to work that well as it is taking a longtime and it is causing the syt

Re: [PHP-DB] Clicking on the Picture

2004-08-30 Thread Ng Hwee Hwee
what about this?? - Original Message - From: "Feroz" <[EMAIL PROTECTED]> To: "Php-Db" <[EMAIL PROTECTED]> Sent: Tuesday, August 31, 2004 11:07 AM Subject: [PHP-DB] Clicking on the Picture > Hi, > > I have a Diagram that I need to upload to web page. > The diagram contains 3 pict

Re: [PHP-DB] Clicking on the Picture

2004-08-30 Thread Peter Ellis
Yes. It's called image mapping. Do a Google search. This isn't PHP related. -- Peter Ellis - [EMAIL PROTECTED] Web Design and Development Consultant naturalaxis | http://www.naturalaxis.com/ On Tue, 2004-08-31 at 15:07 +1200, Feroz wrote: > Hi, > > I have a Diagram that I need to upload to we

[PHP-DB] Clicking on the Picture

2004-08-30 Thread Feroz
Hi, I have a Diagram that I need to upload to web page. The diagram contains 3 pictures but as one diagram. Now is it possible to code the pictures in the diagram so its clickable, that is when picture one is clicked then it opens a new page. Regards, Feroz -

Re: [PHP-DB] Webpage response to selection & $_POST

2004-08-30 Thread Ng Hwee Hwee
hi... to what i know, the $_POST variables get passed to apage.php only... if you have a redirect to another page inside apage.php, the $_POST variables will not be passed to the next page. you may need to register your $_POST as session variables inside apage.php first or you append your $_POST v

Re: [PHP-DB] Webpage response to selection & $_POST

2004-08-30 Thread Philip Thompson
Peter, On Aug 30, 2004, at 12:49 PM, Peter Ellis wrote: It doesn't look like you're actually retrieving data using the $_POSTed data from that code snippet. Are you doing anything like $j = $_POST ['j']; in order to get the value of j before you retrieve your array data? Or are you allowing PHP t

[PHP-DB] Re: Installing PHP

2004-08-30 Thread Jasper Howard
kinda sounds like you haven't updated your apache (or whatever else you might be using) config file, I inserted this bit of code at the top of my apache config file: ScriptAlias /php4/ "c:/php4/" AddType application/x-httpd-php .php Action application/x-httpd-php "/php4/php.exe" if you copy this,

Re: [PHP-DB] Installing PHP

2004-08-30 Thread noderunner n54
Hi Have you read the documentation? You can find it at http://www.php.net/docs.php and it has lots of information on the installation process. Other than that please be more specific (which method did you use for your installation, which webserver do you use php for etc.). Personally I've taken t