John R. Sims, Jr. wrote:
Martin; I have taken your advice and read both of the articles, but
unfortunately I have not been able to find what needs to be changed. As I
mentioned, I am very new at this.
Could you possibly look at the script and point me in the right direction?
[snip]
/head
John R. Sims, Jr. wrote:
Martin; I have taken your advice and read both of the articles, but
unfortunately I have not been able to find what needs to be changed. As I
mentioned, I am very new at this.
Could you possibly look at the script and point me in the right direction?
[snip]
/head ?php
Hi everyone,
I have a question. I have built a script on my desktop that works fine, but
when I upload it to the server, it does not post the data to the database.
I checked the my server and the isp server. I am running php 5.+ but my isp
is only running php 4.3.9 does this mean I have to
Subject: [PHP-DB] problems with a script
Hi everyone,
I have a question. I have built a script on my desktop that works fine, but
when I upload it to the server, it does not post the data to the database.
I checked the my server and the isp server. I am running php 5.+ but my isp
is only running php
Subject: [PHP-DB] problems with a script
Date: Thu, 12 May 2005 10:03:34 -0400
Hi everyone,
I have a question. I have built a script on my desktop that works fine,
but
when I upload it to the server, it does not post the data to the database.
I checked the my server and the isp server. I am running
, 2005 10:04 AM
To: php-db@lists.php.net; php_mysql@yahoogroups.com
Subject: [PHP-DB] problems with a script
Hi everyone,
I have a question. I have built a script on my desktop that works fine, but
when I upload it to the server, it does not post the data to the database.
I checked the my server
@yahoogroups.com
Subject: [PHP-DB] problems with a script
Hi everyone,
I have a question. I have built a script on my desktop that works fine, but
when I upload it to the server, it does not post the data to the database.
I checked the my server and the isp server. I am running php 5.+ but my
Martin; I have taken your advice and read both of the articles, but
unfortunately I have not been able to find what needs to be changed. As I
mentioned, I am very new at this.
Could you possibly look at the script and point me in the right direction?
Keep the faith
John
html
head
?php
if (($_POST[op] != add) || ($_GET[master_id] != )) {
//haven't seen the form, so show it
$display_block =
h1Add an Entry/h1
form method=\post\ action=\$_SERVER[PHP_SELF]\;
if ($_GET[master_id] != ) {
//connect to database
$conn = mysql_connect(localhost,
Since I definitely don't have time to copy your script and duplicate your
environment, perhaps you would be so kind as to tell what the hell is wrong
with itthen we can try to help you
bastien
From: John R. Sims, Jr. [EMAIL PROTECTED]
To: php-db@lists.php.net
Subject: [PHP-DB] Problems
John R. Sims, Jr. wrote:
?php
[snip * - not even gunna bother]
/HTML
Okay, quick/proper fixes 1 - 4:
1) you never open a FORM element, you only close it - you'll be
wanting one, probably with a method=POST.
2) you should quote your array indices... just because php will evaluate
them as
11 matches
Mail list logo