Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more

Go Back   Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more > Web Programming > PHP Development
User Name
Password

Reply
 
LinkBack Thread Tools Display Modes
Old 06-08-2009, 08:00 PM   #1 (permalink)
fieldmedics
Junior Member
 
Join Date: Jul 2008
Posts: 3
Default PHP Code question

I operate an EMS Job Website and had someone build a database for me. When posting a job to our website;

http://www.fieldmedicsjobs.com/forms/postjob.htm

In the text area to describe the job I guess the employers are just cut and pasting from another document. I get all kinds of crazy symbols when its posted to the site; example

A dispatcher’s responsibility

and

• Experience in ambulance dispatching.
• Knowledge of medical terminology.
• Experience with customer service.

I am assuming they were suposeed to be bullets but not sure, as for the first example I have no idea what caused it.

I am not very good with PHP yet so what I have come up with so far is just to disable the HTML in the text area

I have found this code <textarea onchange="this.disabled = true"></textarea>

But it does not seem to work. Where ever I put it it knocks out my drop down menu for my States in the form.

Can anyone help me or tell me what I should do or what I am doing wrong?
fieldmedics is offline   Reply With Quote
Sponsored Links
Old 06-09-2009, 08:08 AM   #2 (permalink)
by_ganja
Junior Member
 
Join Date: May 2008
Posts: 2
Default Re: PHP Code question

ilginç? çözemedim ama açıklarım
__________________
kadınca | diyet | webtasarım | vbulletin
by_ganja is offline   Reply With Quote
Old 06-15-2009, 04:32 PM   #3 (permalink)
Pachel
Junior Member
 
Join Date: Jun 2009
Posts: 12
Default Re: PHP Code question

for disabeling a textbox or that you could use php to let it check something lets say you have a form

<?php
if($_POST['submit'])
{
$check = "disabled";
}
?>
<form method="post">
<input <? echo $check; ?> type="text"><br>
<input type="submit" name="submit" value="send">
</form>
Pachel is offline   Reply With Quote
Old 06-17-2009, 06:53 AM   #4 (permalink)
Ronnette Petra
Member
 
Join Date: May 2009
Posts: 104
Default Re: PHP Code question

If it's a named variable in an html form, it should be available from the http post operation. Or you could pass it as an argument in the php cgi call
__________________
high interest savings
Ronnette Petra is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules

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

Points Per Thread View:
Points Per Thread:
Points Per Reply:



» Sponsors

» Links

» Affiliates
Web Hosting
Online Backup Reviews
Marketing Find
Merchant Select
SiteMap Builder
Host Compare

» Links

» Sports Network
Paintball Forum
Football Forum
Hockey Forum
Golf Forum
Boxing Forum
Lacrosse Forum
Baseball Forum
SnowBoarding Forum
Soccer Forum
MMA Forum


All times are GMT -4. The time now is 08:24 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.0.0 RC8
Webmaster Forums