PHP Code question - Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more
Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more
Go Back   Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more > Webmaster Tech > Programming > PHP Development

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 06-08-2009, 09:00 PM   #1 (permalink)
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, 09:08 AM   #2 (permalink)
Junior Member
 
Join Date: May 2008
Posts: 2
Default Re: PHP Code question

ilginç? çözemedim ama açıklarım
by_ganja is offline   Reply With Quote
Old 06-15-2009, 05:32 PM   #3 (permalink)
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, 07:53 AM   #4 (permalink)
Member
 
Join Date: May 2009
Posts: 108
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
Ronnette Petra is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

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



» 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 03:11 PM.


Powered by vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2
Webmaster Forums
Web Hosting | Chicago Web Hosting | Web Hosting