Jump to content

takeiteasy

Members
  • Posts

    32
  • Joined

  • Last visited

    Never

About takeiteasy

  • Birthday 10/25/1987

Contact Methods

  • Website URL
    http://

Profile Information

  • Gender
    Not Telling

takeiteasy's Achievements

Member

Member (2/5)

0

Reputation

  1. Thanks obsidian for your help, but is there a code that will count the number of words while u type in the textbox? that means we do not need to click the count word button n we'll know the number of words.
  2. hmm...so can u all help me on the javascript coding? thanks alot!
  3. Thanks chigley for your help, but i'm quite new to php...so i dont really know how to adapt my current code with the 1 u gave me..can u pls guide me. thanks!!
  4. Hi all! i need some help here, hope some of u can help! Can someone help me with generating the number of word counts for the following code? That means when i type the words in the textbox, another textbox will show the number of words typed. i'm using php code. Information <b>(max of 50 words):</b> <tr> <td class="td_normal" colspan="2"> <input class="td_normal" type="text" size="50" name="content2" '; if ($FormXEmployerObj) $str.='value="'.$FormXEmployerObj->get(content2).'"'; $str.='> <br> Current Word Count:<tr> <td class="td_normal" colspan="2"> <input class="td_normal" type="text" size="2" name="content3"'; if ($FormXEmployerObj) $str.='value="'.$FormXEmployerObj->get(content3).'"'; $str.='> </td> </tr> Thanks!!
  5. Can i ask what are the differences between PHP 4 and PHP5? and Which is the commonly used version of PHP? TIA!
  6. Hi all, Just want to ask if there's any codes that when clicked on a link, a small popup window will appear? Thanks alot!
  7. oh. i get it. thanks alot!  ;)
  8. can u further explain on how this code works?thanks
  9. Hi there, Just want to ask if there's any PHP code that can display the data which has just been stored in the database? thanks
  10. hi all, Just wanted to ask if there's any code which will auto restore back the settings of the link color whenever user opens the page.. Like for example, my current code is [code] a:link {text-decoration: none; color: #ffffff; cursor:crosshair} a:visited {text-decoration: none; color: #0000CC; cursor:crosshair} a:active {text-decoration: underline; color: #444444; cursor:crosshair} a:hover {text-decoration: underline; color: #6699FF; cursor:crosshair} [/code] The very first time i open the page, the color is #ffffff, after i visited the links, the visited links become #0000CC. Then the second time i visit the page, the links are still in #0000CC color. But what i wanted is the links to be back to #ffffff color everytime i visit the page again. Has this got to do with the codes? or because of my computer? it has the windows function which it will save the datas which i have entered before.
  11. hi there, i need someone to help me out here, currently, my navigation menu is made up of a few links. I wanted to display a different color for the link which the user is currently viewing, so as to differentiate or to let the user know which part he is in currently. Is there any such of codes?Can give me a sample code? my current code: [code] a:link {text-decoration: none; color: #ffffff; cursor:crosshair} a:visited {text-decoration: none; color: #0000CC; cursor:crosshair} a:active {text-decoration: underline; color: #444444; cursor:crosshair} a:hover {text-decoration: underline; color: #6699FF; cursor:crosshair} [/code]
  12. Hi all, can i ask if there's a code for data validation like for example, i have this [code]Amt. Paid: SG$  <input type = 'text' name='amtpaid' size='10' maxlength='10'>[/code] and in my database, the type is Varchar(10). Currently, it can store any kinds of character, but what i wanted is only numbers and decimals to be stored into the database. So is there any code or way that the system will check if it is only numbers and decimals den it can be added to the database, if not a prompt to inform the user that only numbers can be proceed. TIA!
  13. Thanks alpine for replying. I've tried your solution, and it worked! Thanks alot!! and btw, i can't put quotes within $_POST if i do so, it will have this error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING , when i removed the quotes, everything worked fine..
  14. I have a problem with the search function here, when i entered a valid workerName which is in the database called archive, it returned Record Found. But when i entered an invalid workerName, it also display Record Found. I think my code doesn't check with my database if there's simliar workerName, just display Record Found whenever i press Submit. Can someone help to see where my code goes wrong? TIA! [code] <form method='post' action='<? echo $_SERVER[PHP_SELF]; ?>'> <? if (isset($_POST['submit'])){ $searchresults = mysql_query("SELECT * FROM archive WHERE workerName LIKE '%$_POST[search]%'", $db_connection) or die(mysql_error()); } if ($searchresults == true) { echo " Record Found"; } ?> <TABLE width='770' border='0' align='center' cellpadding='0' cellSpacing='0' style='border:1px solid #9FD2EC'>      <TBODY>        <TR>          <TD height='30'  align='center' valign='middle'> Search By Worker/Passenger Name:<input type='text' name='search' size='20'> <input type='submit' name='submit' value='Submit'> </td> </table> </form> [/code]
  15. oh! thank you so much wildteen88!! This really helps me alot!!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.