Search found 7 matches

by wiredme
Mon Dec 09, 2002 11:31 pm
Forum: PHP coding => General
Topic: Adding numbers pulled out from the database..need sample.
Replies: 1
Views: 831

Re: Adding numbers pulled out from the database..need sample

look at the code below i add some variables, just print the total price try it. Here is the code I used to display the query results in a table on a page: ------------------------------------------------------------------------------------ //displaying data in a table $total=0; while ( $a_row = mysq...
by wiredme
Sun Dec 08, 2002 10:57 pm
Forum: PHP coding => General
Topic: help needed
Replies: 4
Views: 1495

I had delete your post. What i'm trying to do is take an entry from a drop down box from a previous page to my WHERE clause in a SQL statement in a different page. Dropdown box code from previous page: <?php if ($viewby=="description") { echo "<FORM NAME='SelectDescription' ACTION='PHPSearchResults...
by wiredme
Sun Dec 08, 2002 10:41 pm
Forum: PHP coding => General
Topic: What's wrong in this code? (New user registration form)
Replies: 3
Views: 1503

Thanks a lot for your help! The register_globals directive is in the PHP.INI file, located in the C:\windows directory (C:\winnt in winnt and win2k), if this was the problem... i have the same problem with this... i cannot pass variables even if register_globals =On, why is this happening... i enco...
by wiredme
Sun Dec 08, 2002 10:21 pm
Forum: PHP coding => General
Topic: Automatic disclaimer page
Replies: 0
Views: 949

Re: Automatic disclaimer page

Hi all! This is my first post. I could use some input on the following topic: On my webpage, I will show a disclaimer, that will show up on every page, until you click "I have read and understood the disclaimer". This is not too hard, as I can use cookies for this. Once a user clicked the required ...
by wiredme
Sun Dec 08, 2002 10:04 pm
Forum: PHP coding => General
Topic: quick help with "include" statement
Replies: 3
Views: 1305

Re: quick help with "include" statement

I'm fairly new to PHP and I'm trying to include a navagation menu on a site I am doing. I coded the menu.inc file and tried to include it on all my pages with this code: <?php include("menu.inc"); ?> when I visit the page, I still see the php code and not the menu. I know that php...
by wiredme
Sun Dec 08, 2002 9:49 pm
Forum: PHP coding => General
Topic: Swithching to a new file
Replies: 1
Views: 1423

Thanks for that: Yesturday I spent about three hours working out that I had white spaces after my ?> closing tags on files that I was including before redirecting :twisted: Panfull stuff, we get ourselves into with those invisible white spaces :wink: . Another question though, my server does not ex...
by wiredme
Sun Dec 08, 2002 9:13 pm
Forum: PHP coding => General
Topic: session variables error message
Replies: 2
Views: 1128

Re: session variables error message

can anyone tell me why i am getting this error this message when I try to start a session? Warning: Cannot send session cookie - headers already sent by (output started at /home/www/bullzeyecreative/CHN/cart.php:86) in /home/www/bullzeyecreative/CHN/cart.php on line 105 [/code] try this : <...