By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,822 Members | 1,424 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,822 IT Pros & Developers. It's quick & easy.

Prevent carraige returns

P: n/a
Hi,
Can anybody help, I would like to prevent a carraige return from submitting
a form, is there a way of doing this using a PHP script?

Cheers,

Sandy, new to PHP
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
PHP is server side. It cannot affect the behaviour of a client once the page
is loaded, as your goal seeks to do. In short, no, you cannot do this with
PHP.

Fred Bloggs wrote:
Hi,
Can anybody help, I would like to prevent a carraige return from
submitting a form, is there a way of doing this using a PHP script?

Cheers,

Sandy, new to PHP

Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.