Clean and clear code
| From: | Siim Einfeldt aka Itpunk | Date: | Mon, 23 Oct 2000 22:55:19 +0000 |
| Subject: | Clean and clear code | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-21808@lists.php.net to get a copy of this message | ||
hey all,
I just discovered...or actually I`ve always known it, but now I saw it as
a problem for me, my codes are terrible. Right now I`m mainly talking
about the programming stuff like php, not so much about html...or..still
php&html together. I have quite much to do and sometimes even simple
things seem hard. My codes are terrible - indents, too few linebreaks,
etc. And the structure of all it is pretty bad as well. Hard to understand
where and what have been done. So if anyone knows any good sites that talk
longer about organizing/stuctructures/indents/etc, I`d like to see
them. Maybe there`s some courses or maybe someone has time and will to
write down a few pages him-/herself. I would appreciate it.
And second thing...if anyone knows javascript well, I`m still looking for
a code, which would:
* take the value of a input field before submitting the
form
* pass the value of it on with some link
Eg:<INPUT TYPE="text" name="thename">
<a href="javascript:openwin()">Open</A>
I need to get the value of the input field to send it to a page,which will
be opened throught the javascript function openwin() (this just opens a
little window).
Thanks,
Siim Einfeldt
itpunk@itpunk.com