any reason for the submit button to not work at all. What
should I look for now?
Thanks for the help,
Chip
I probably need to use if(isset($submit)): and an update statement,
but my
attempt just causes the web page to display completely blank. This is
what
I tried -
if(isset($submit
of the url I see this-
url...stuff...submit=Update+Data
Is this correct?
What else can I do to see what was passed to the database (if anything)?
--
Chip
pcenterinput type=submit name=submit value=Update
Data/center/p
... more code ...
/table
?
endif;
?
/body
/html
);
mysql_query($query1);
else:
$query = select * from warranty WHERE OwnerName='$result';
$results = mysql_query($query);
$row = mysql_fetch_array($results);
?
What am I doing wrong?
Thanks,
--
Chip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
are price lists that we wouldn't want our competitors
to get ahold of.
Thanks for the help,
--
Chip Wiegand
Computer Services
Simrad, Inc
www.simradusa.com
[EMAIL PROTECTED]
There is no reason anyone would want a computer in their home.
--Ken Olson, president, chairman and founder of Digital
pages from being displayed. I copied that line
from the http_user_agent line in php_info. The php doc mentioned
above doesn't provide any info on the format of the user_agent line.
Obviously I'm doing it wrong.
Suggestions?
Thanks
--
Chip
--
O Ernest E. Vogelsinger
(\)ICQ
,
--
Chip
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l
-
http://www.phpbeginner.com/columns/mark/frames
--
Chip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
tech support, I'll try to
get a copy of their php.ini
and find out what is differant between theirs and mine.
--
Chip
Jason Wong [EMAIL PROTECTED] wrote on 02/14/2003 10:08:45 PM:
On Saturday 15 February 2003 05:01, [EMAIL PROTECTED] wrote:
I have an ecommerce app (MAS200 eBusiness Manager
to the most current level.
This happens regardless of the browser I am using. How can I get this to
send the actual browser info, not this php info in its place?
--
Chip Wiegand
Computer Services
Simrad, Inc
www.simradusa.com
[EMAIL PROTECTED]
There is no reason anyone would want a computer
.
If the page works fine in php-4.0.3 then I don't see how it can be broken.
This is frustrating. You can see the page at the link below.
I have pasted my /usr/local/etc/php.ini-dist below. If it would help I can
also add my index.php that is having problems...
Regards,
--
Chip W
www.simradusa.com
[PHP
Goetz Lohmann [EMAIL PROTECTED] wrote on 02/06/2003 08:09:19 AM:
Chip Wiegand schrieb:
Okay, so I have turned on all the error handling options in
/usr/local/etc/php.ini-dist. I have purposely put an error in my
phpinfo.php
page, it errors out in the browser, but no error log
of
php. Any suggestions?
Regards,
--
Chip Wiegand
Computer Services
Simrad, Inc
www.simradusa.com
[EMAIL PROTECTED]
There is no reason anyone would want a computer in their home.
--Ken Olson, president, chairman and founder of Digital Equipment
Corporation, 1977
(Then why do I have 8
. Could you perhaps give me a hint as to something else to look for
in
the log?
--
Chip
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development
article of December's TPJ:
http://www.chipcastle.com/tpj/TPJDecember2002.pdf
The first few paragraphs should give you the basic idea, so let me know
if you have any suggestions.
Thanks!
Chip Castle / Open Source Web Developer
http://www.chipcastle.com
Chris Hayes wrote:
At 02:06 17-1-2003, you
an expert. I cannot find anything on various PHP-related
websites and was hoping someone with more in depth knowledge would be
able to make a few suggestions.
Thanks!
Chip Castle
chip (at) chipcastle (dot) com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
Just a suggestion - you might want to disable the ability to input html
code in the messages, as
a precautionary messure. I tested the script and was able to make a mess
of the page after
submitting.
--
Chip
Anthony Ritter [EMAIL PROTECTED]
01/13/2003 09:07 AM
To
[EMAIL PROTECTED]
cc
bcc
type='text' name='name'
input type='submit' name='submit' value='sendit';
}
?
--
Chip
Am Sonntag, 13. Oktober 2002 23:40 schrieb Lars H. Korte:
Hi,
I've updated to PHP 4.2.3 and wrote this simple Script:
?
if (isset($name)) {
echo Hallo $name;
}
else {
echo
the way you had it originally. The isset
statement HAS to have the same value as the submit buttom name or it
won't work at all. As for the beautify part, that's just the way I write
my code, that doesn't matter at all to whether or not the script will
work.
--
Chip
The value of name
Yep, I've been going over this with John off-list, I learned something
new tonite. One thing about his script - it doesn't print the text
entered in the box, it only prints the work Hallo. To fix that would
require adding
. $name;
to the end of the echo statement.
Regards,
--
Chip
Edwin wrote
the features you could want.
--
Chip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
/editing
of files on the remote server, built in Tidy, etc etc.
--
Chip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$LayerScale.
How can I overcome this?
Chip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
you need to use == instead of =
== is used when comparing values (i.e. is this == to that)
= is used to set something's value (i.e. this = that)
-chip
-Original Message-
From: Chris Barnes [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 28, 2002 11:12 AM
To: Php-General (E-mail
;}
elseif (isset($var4)) {
$query .= AND WHERE thus = ' . $var4 . ' ;
$init = 0;}
... you could even make all of those if...elseif's into a function.
Chip
-Original Message-
From: Jay Blanchard [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 28, 2002 1:51 PM
To: [EMAIL PROTECTED]
Subject
=2
You can search for this by searching the archives for the term asphttp.
ASPHTTP is a tool for ASP that does the same thing... only it costs money,
and this little function is free! How cool is that?
Here's the script (got it working, BTW).
Chip
?
/*--- PHP Script --*/
$data
.
---
Is there some issue here between the latest versions of apache and php?
--
Chip
[EMAIL PROTECTED]
www.wiegand.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
affair. I just got in the habbit of having them email
me the .doc and then I convert it to html myself. Takes all of 5 minutes or so and it
clean code.
--
Chip
At 01:51 PM 2/4/2002 +0800, Jack wrote:
Dear all
I had made a news input page for one of the HR Manger to input the
news
.
--
Chip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
On Tuesday 04 December 2001 12:30 am, Manuel Lemos wrote:
Hello,
Chip wrote:
On Monday 03 December 2001 11:02 pm, Robert Samuel White wrote:
I wish to take some information out of a database and create a text
file with the information, nicely formatted. Does any one know
left them to be printed the way the individuals
printer wants to print them, after all, you also can't control how the
margins will appear, etc.
--
chip
-Original Message-
From: Manuel Lemos [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 05, 2001 7:20 AM
To: [EMAIL PROTECTED
into this also, some time back. All the responses I got
then were it's not possible to cover all types of printers and OS's available
with just a certain escape sequence or other code.
If you get a better answer, would you please copy me on it?
--
Chip
[EMAIL PROTECTED]
--
PHP General Mailing List
Got it! Turns out to be one of those obvious left-it-out errors that happens
when staring at the monitor too long. One other guy helped point this out
off-list. I'm at home now and don't recall his name, the emails being at work.
Thanks to all,
Chip
On Friday 30 November 2001 12:09 pm, Fred
This is interesting. I did my testing in Opera 5.05 and it fails to display
the page correctly. I then opened Netscape 6.2 and it works fine. Must be a
problem with Opera. I also set Opera to identify itself as Netscape and it
still failed to load the page.
Thanks for the assistance.
Chip
, password );
mysql_select_db ( database , $db );
$sql = INSERT INTO table_name(ip,browser,received)
VALUES('$ip','$browser',now()) ;
$results = mysql_query ( $sql);
?
h1Howdy/h1
/body/html
TIA,
Chip
--
PHP General Mailing List (http://www.php.net
other machines and
have never come across this error.
What am I missing that is causing this problem?
--
Chip W.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail
On Monday 19 November 2001 15:54, David Robley wrote:
On Tue, 20 Nov 2001 01:11, Chip wrote:
I am setting up a new system for a friend and am getting the following
error when running ./configure -
/usr/libexec/elf/ld: cannot find -lgd.
error code 1
This machine is a default install
adding the script to several hundred seperate
pages.
--
Chip W.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
I just installed the FreeBSD port for PHPMyAdmin and was reading the docs on
the php wizard site but cannot figure out how to actually access the
interface. Is it through a particular port like webmin? Can some clue me in
please?
--
Chip W.
--
PHP General Mailing List (http://www.php.net
for php3, still no good. I don't
know what to try next.
I'm sure it's easier than I make it out to be, but I don't know how to make a
php3 program work on a php4 system, and the docs don't cover this.
--
Chip
On Sat, 27 Oct 2001, Chip wrote:
I just installed the FreeBSD port for PHPMyAdmin
, but that didn't do the trick.
Thanks for the help,
--
Chip W.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
to all
the months, in seperate calendar pages.
--
Chip W.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
.
Is there an equivelant bit of code to do this printer shortcut with php?
--
Chip Wiegand
Computer Services
www.simradusa.com
[EMAIL PROTECTED]
Simrad, Inc
Lynnwood, WA
425-712-1138
There is no reason anyone would want a computer in their home.
--Ken Olson, president, chairman and founder of Digital Equipment Corp
Thanks for all the reponses. I know that php is server-side only, and that
certain things
like mouse-overs, are client-side, wasn't sure about the printer function
though. I could
have assumed it was, but I try not to assume anything, but always ask to
make sure.
Regards,
Chip
Mike Eheler
I got a form that a user fills out. When they hit submit they are
transfered to a PHP page that verifies their data. If a problem is found
(They forgot to enter an e-mail address) the PHP sends them back to the
original form with the field they forgot to fill out highlighted in red.
well all of the entries are passed via post or get to your form handler
(obviously). So just pass them back when you re-call the form.
then put in
input type=text name=firstname value=?=$firstname? in the form
or something like that anyway.
- seb
-Original Message-
From: Chip Landwehr
ariable1=hellovariable2=goodbye);}
etc etc
- seb
-Original Message-
From: Chip Landwehr [mailto:[EMAIL PROTECTED]]
Sent: 21 October 2001 21:03
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Form Question
I got that but the passing back I'm having a problem with. This is waht I
got:
I got a form (form.php) that recalls itself when you hit submit to verify
all the fields. If all the fields are good, I need it to automatically post
to a new page. Anyway to do this?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
--
From: Chip Landwehr [mailto:[EMAIL PROTECTED]]
Sent: Sunday, October 21, 2001 8:29 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Submit
I got a form (form.php) that recalls itself when you hit submit to verify
all the fields. If all the fields are good, I need it to automatically
post
to a
lol NP--actually I am using sessions-Will I have to declare each form
variable as a session variable to do this?
Jack Dempsey [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
sorry chip, i'm so used to using sessions, i just kind of assumed y
lol!
True, so true...
Richard S. Crawford [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Can you imagine the trouble you'd get into if you could?
At 09:47 PM 10/19/2001, Chip Landwehr wrote:
Is there any way to do this in PHP4?
Sliante,
Richard S.
Is there a PHP IRC channel?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
as it being sent to a person in a well formatted message.
This is all done with test pages, which I can now move over to my production
site, then after all that is working (there are 5 online forms), I will work
on getting the data from the forms into a mysql database.
Regards,
--
Chip
On Wednesday
I'm preparing to write a DB app using PHP as the programming interface. I
need to be able to lock records at certain points. I was wondering if the
following is possible using PHP.
1. I want to use the GET_LOCK(str, timeout) function to lock records based
on the record ID. Can GET_LOCK be
Well here is the situation.
1. Jack opens record A to change an entry.
2. Jill opens record A to change an entry.
3. Jack finishes his changes and saves the data.
4. Jill finishes her changes and saves the data.
Jill just over wrote whatever Jack did. The only method I could think of to
Well, if you only update the fields that changed then who cares? The
fields that Jill changes are going to overwrites Jack's changes anyway.
Locking the record and having Jack finish before Jill can start isn't
going to change the end result which would be that Jill's changes are
going to
So once a user logs into a MySQL Server via PHP, if they don't logout, they
stay logged in forever???
Rasmus Lerdorf [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
A. Browser Closed Before Finishing Edit:
From what I have read Get_Lock
When you write a php script to access a database,edit records, etc., is the
entire thing 1 giant PHP page or a bunch of different ones? If it can be
written both ways, which is the better way to do it?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
with it.
Just out of curiosity,
--
Chip W.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
with over two hundred pages.
What is the parameter for the current page? I tried php_self but that didn't work
properly (it returned Dec 31 1969).
--
Chip Wiegand
Simrad, Inc
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
So, just what am I doing wrong?
--
Chip
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 11, 2001 1:01 PM
To: [EMAIL PROTECTED]
Subject: [PHP] date/time of current page
I want to put, into a footer include file, the last modified date
' + document.lastmodified + ' some other text.');
/script
Surely it can be done in PHP, which doesn't, of course, depend on whether
or not the visitor has some options disabled or enabled in their browser.
--
Chip
-Original Message-
From: Jack Dempsey [mailto:[EMAIL PROTECTED]]
Sent: Tuesday
Thankyou, that works fine.
--
Chip
Jack Dempsey [EMAIL PROTECTED] on 09/12/2001 12:03:20 AM
Internet mail from:
To: [EMAIL PROTECTED]
cc: [EMAIL PROTECTED]
Subject: RE: [PHP] date/time of current page
I'm not sure what you mean, but here is what I have tried -
try this:
? echo
and pray the people responsible are found and brought to justice.
God bless you, and if you don't happen to believe in God, or any god -
Regards
--
Chip Wiegand
On Tuesday 11 September 2001 09:26, Alexander Skwar wrote:
So sprach »[EMAIL PROTECTED]« am 2001-09-11 um 08:55:49 -0600 :
We need
;
}
?
/table
?
nav();
?
/body
/html
--
Thanks for any help you all can provide,
Chip Wiegand
Computer Services
www.simradusa.com
[EMAIL PROTECTED]
Simrad, Inc
Lynnwood, WA
425-712-1138
I'm building a PHP app for use on our intranet - all MS (Clients will be 95,
NT, or 2000).
Is there a way to retrieve the clients username when they access app (i.e.
the username they used to access the network)?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail:
Martin Marconcini wrote:
LOL :) I didn't ... perhaps I used an old version...
Must've been an old version, I've been using it for close to a year and
haven't
had it crash nearly as much as expected for a winblows app (at work on
winnt4).
Wish there was a *nix port of it.
--
Chip
Regards
Joseph Blythe wrote:
Try PHP Coder Pro! http://www.phpide.de
Too bad it's a winblows-only app. :-(
Chip
Regards,
Joseph.
-Original Message-
From: Bob Clingan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 25 July 2001 9:18 AM
To: [EMAIL PROTECTED]
Subject: [PHP] WSIWYG Editor
a text editor with
syntax
highlighting, can't get a fancy gui editor to work nearly as fast as that.
--
Chip
-Original Message-
From: chip [mailto:chip]On Behalf Of Chip
Sent: Wednesday, 25 July 2001 12:57 PM
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] WSIWYG Editor using PHP?
Joseph
that will
work in any of my 3 php books or online.
--
Regards,
Chip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
permission to view its data., SQL
state S1000 in SQLConnect in C:\Inetpub\wwwroot/seating/sharondb.php on line
36
Any ideas? I am supplying the correct username and password...
Thanks
Chip Hankley
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
...
Chip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
lue fields, but that
didn't work either.
My goal is to have the above list allow multiple choices that are passed to the
next page,
and so on through about 6 pages to the final page. Even better yet would be a
text box where
the end-user could specify a quantity of brochures, for multiple choices
ot; name="AP9[]"AP9MK3br /
input type="checkbox" name="TP[]"Tiller/Wheelpilotsbr /
input type="checkbox" name="WP[]"WP5000br /
br /br /
input type = submit
/form
/body
/html
Chip Wiegand
Computer Service
---
The last won't work right because of the if statements.
How do I get it to print all the results? I tried adding
and between the if statements, but that doesn't work, as
I expected, I don't see anything in my php books that will
help with this bit. I want to be able to pick items from
74 matches
Mail list logo