Recent content by NumNoum

  1. N

    How many bytes should be reserved for 100-symbol text string (html text put

    into the db)? Space->&nbsp ; etc.? So, you want to save a text (input type="text" name="message" maxlength="100") to the server's database column "message" with varchar(???) type. First of all, such symbols as \ will be saved as \. That means it should be not less that varchar(200). Moreover...
  2. N

    html table question about pictures inside of it... What's the best way to center them?

    You have table with 3 columns on the html page. The middle column can NOT change its parameters (because it works for most of information that is displayed, align="left" for that column). But, here is a situation, when 3 pictures should be displayed at that column. The pictures should be in the...
  3. N

    html table simple question: table (table+empty row+table) vs (table + <br/>+table)?

    Let me explain it using another words. What code is better: #1 <table> <tr> <td> <table> <tr> <td> 1 </td> <td> 2 </td> </tr> <tr> <td> 3 </td> <td> 4 </td> </tr> </table> </td> </tr> <tr> <td> * </td> </tr> <tr> <td> <table> <tr> <td> 5 </td> <td> 6 </td> </tr> <tr> <td> 7 </td> <td> 8 </td>...
  4. N

    html table simple question about column width: should I type width="50" at every <td>?

    You have 3x2 table: <table> <tr> <td width="50"> </td> <td width="40"> </td> </tr> <tr> <td width="??"> </td> <td width="??"> </td> </tr> <tr> <td width="??"> </td> <td width="??"> </td> </tr> </table> The question is: Do you recommend to put "50" and "40" instead of "??"s ? Thank you.
  5. N

    Question about js+css syntax: both css + js are at one specfunc.js included to

    php. file: is it good or bad? Question about js+css syntax: both css + js are at one specfunc.js included to php. file: is it good or bad? The question is about some css code and javascript code that both are included to php file as: include 'specfunc.js'; So, specfunc.js' looks like...
  6. N

    Does it make sense? html question about <div></div>?

    <div id="id1"> <div id="id2" class="col"> ... some html code here ... </div> ... some html code here ... <div id="id3" class="col"> ... some html code here ... </div> </div> Can such a construction as a part of html-page be correct and make sense? Please experts only. Thank you.
  7. N

    html div question: how to display as a text the same value as @ <input

    type="text" > on change event? How to display <input type="text" > value on the html-page as a simple html text that is taken from <input type="text" > ? The value of the displayed text should be updated immediately once you started typing something at <input type="text" > ? Should we use...
  8. N

    Problems passing PHP text var as a second var to Javascript Function?

    Test #1. This works fine: $txt0="RRR"; echo ' <a href="?f=3" id="nu'.$var0.'" onclick="func1('.$id0.', '.$id0.');">'; Test #2. This does NOT work, "Done, but with errors on page": $txt0="RRR"; echo ' <a href="?f=3" id="nu'.$var0.'" onclick="func1('.$id0.', '.$txt0.');">'; THE IMPORTANT THING...
  9. N

    html+php: how to check whether a string contains letters (from ANY

    alphabet) and numbers and spaces only? html+php: how to check whether a string contains letters (from ANY alphabet, not just A-Za-z) and numbers and spaces and dashes and commas and . only. I'm talking about using of a preg_match function. I've heard something about \w\s or something like that...
  10. N

    html+php: how to check whether a string contains letters (from ANY

    alphabet) and numbers and spaces only? html+php: how to check whether a string contains letters (from ANY alphabet, not just A-Za-z) and numbers and spaces and dashes and commas and . only. I'm talking about using of a preg_match function. I've heard something about \w\s or something like that...
  11. N

    html+php: how to check whether a string contains letters (from ANY

    alphabet) and numbers and spaces only? html+php: how to check whether a string contains letters (from ANY alphabet, not just A-Za-z) and numbers and spaces and dashes and commas and . only. I'm talking about using of a preg_match function. I've heard something about \w\s or something like that...
  12. N

    How to show/hide html-text (not a link) when u check the checkbox?

    How to show/hide html-text (not a link) when u check the checkbox? Thank you.
  13. N

    How to show/hide html-text (not a link) when u check the checkbox?

    How to show/hide html-text (not a link) when u check the checkbox? Thank you.
  14. N

    php: how to know from what web-site user came to my site?

    If the user came from http://www.google.com/search/super+site to mysite, how to get "http://www.google.com/search/super+site"? I can't find that reserved variable or I've found it but it doesn't dislay anything because I test it on the local machine. Thank you. Thank you.
  15. N

    what's the behavior of the apache+php server for users when u upload/update files?

    IF the value of the file is no more than 100KB, what's gonna happen? Nothing? What can user see when he browses the web-site? Will he see the message "The page cannot be displayed" or something like that? Or any special message? Or, just probably his web-page will have no entered data from...
Back
Top