Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Directory Submission Service   I Sell Pagerank   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 03-12-2004, 02:52 PM   #1 (permalink)
Inactive
 
Pipeline-Webdesign's Avatar
 
Join Date: 02-11-04
Location: Corpus Christi, TX
Posts: 901
iTrader: 0 / 0%
Latest Blog:
None

Pipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the roughPipeline-Webdesign is a jewel in the rough
Send a message via AIM to Pipeline-Webdesign Send a message via MSN to Pipeline-Webdesign Send a message via Yahoo to Pipeline-Webdesign
NEW QUESTION for PHP!!!

visit http://www.richlinetechnical.com/request_quote.htm and scroll down to the check boxes. i don't know the code to email all the ones that are checked... it'll only submit one. what is the code that i need to put in my php file to allow this... this is what i have currently

this is what i have where i declare the variables
[code:1:188ea0fbfb]$service = stripslashes($_POST['Service']);[/code:1:188ea0fbfb]

this is what i have where i print for the email
[code:1:188ea0fbfb]$message .= "Services requesting: $service\n\n";[/code:1:188ea0fbfb]
Pipeline-Webdesign is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 03-12-2004, 04:34 PM   #2 (permalink)
Possible Terrorist
 
kwvarga's Avatar
 
Join Date: 10-13-03
Location: Tuscaloosa, AL or Atlanta
Posts: 4,904
iTrader: 0 / 0%
Latest Blog:
A+ Certification

kwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web pro
Send a message via AIM to kwvarga
Each need to be like individual radio boxes I believe.. thats how I would do it..
$message = "Services Requesting: ";
if ($_POST['serviceNetworking']) {
$message .= "Networking - ";
}
...


comprendo?
__________________
Kyle Varga
"m3lt/theSpear"
student, web designer/coder, future IT consultant
Experience: PHP/MySQL, Java, C++, MS-SQL
kwvarga is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-13-2004, 08:29 AM   #3 (permalink)
Inactive
 
Join Date: 02-04-04
Posts: 14
iTrader: 0 / 0%
Latest Blog:
None

bob9999 is liked by many
Re: NEW QUESTION for PHP!!!

Each checkbox has to have a unique name & be tested individually:

if($_POST['cb_service_doc_managemement'] == "Document Management"}{
$message[] = ("Document Management was selected");
}

# join $message array here

If you have a lot of checkboxes you can get fancy & put the names & values in an array, you only have 6 so it's probably not worth it.

I hope this helps,

Bob

Quote:
Originally Posted by RichlineTechnical
visit http://www.richlinetechnical.com/request_quote.htm and scroll down to the check boxes. i don't know the code to email all the ones that are checked... it'll only submit one. what is the code that i need to put in my php file to allow this... this is what i have currently

this is what i have where i declare the variables
[code:1:fb56971c14]$service = stripslashes($_POST['Service']);[/code:1:fb56971c14]

this is what i have where i print for the email
[code:1:fb56971c14]$message .= "Services requesting: $service\n\n";[/code:1:fb56971c14]
bob9999 is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
CD Question Linda in NY Computers & Internet 17 01-04-2007 11:29 AM
Question about question marks? clipse Coding Forum 18 03-15-2006 03:21 PM
vB Skinning Question. CSS Question. JuggoPop Coding Forum 10 02-28-2006 01:44 PM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 09:45 PM.
© Copyright 2008 V7 Inc