Jump to content

pulpfiction

Members
  • Posts

    1,210
  • Joined

  • Last visited

Everything posted by pulpfiction

  1. There are few changes needed..... one in the echo statement in the while loop.... while($row = mysql_fetch_assoc($result)) { $data = $row['data']; echo ("$data"); }change it towhile($row = mysql_fetch_assoc($result)) { echo $row['data']; }check this link, it should help.....http://us2.php.net/mysql_fetch_assoc
  2. im so sorry, missed the table name completly..... it should be $query = "SELECT data FROM tblname WHERE name LIKE 'gg' ";
  3. Guess its the $query, You dont have to user LIKE, its better to use "=" if you know the "name" for sure..... $query = "SELECT data WHERE name = 'gg' ";
  4. Tried that in IE and seems to be working fine, not sure about other browsers.....
  5. This should work fine...... function call followed by the set focus.<body onload="functionname();document.getElementById("mytextarea").focus();">
  6. Why dont you try looking in http://www.openwebdesign.org/ or http://www.oswd.org/ for some designs.....
  7. The name in the href should match the ID of the element in the bottom of the page....<body><a href="#bottom">Bottom of page</a><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><div id="bottom">bottom of page</div></body>
  8. http://www.w3schools.com/aspnet/aspnet_vsasp.asphttp://www.tutorial-web.com/asp.net/
  9. oh so close.... You almost got it all correct, just for these two incorrect ones .... give it another try and fix these two..dhtml = Dynamic Hyper Text Markup Languagexsl = eXtensible Stylesheet Language
  10. I didnt know what "ROFL" meant, and google gave me the answer now, but for "IJHAC", no sensible result at all....
  11. according to the w3schools example, you are missing "ismap" in your code...<img src="fname.png"ismap width="146" height="126">
  12. Here's a easy sample code..http://www.codeproject.com/aspnet/EasyHit.asp
  13. check out the "sneak preview" in the page.... Is this something you are looking for?http://alistapart.com/articles/horizdropdowns
  14. Browser IE 6. After the "quote" scrolls down, a thin white line appears on the right side of the image.....
  15. Try this....<script type="text/javascript" language="javascript">var now = new Date();var tzo=(new Date().getTimezoneOffset()/60)*(-1);document.write(tzo);</script>
  16. Window.open is used to create a popup page....sample belowhttp://msdn.microsoft.com/library/default....hods/open_0.asphttp://www.javascript-coder.com/window-pop...ndow-open.phtml
  17. Table:UserID PollID AnswerPollID is for different voting questions. it has to be unique for each question.Since you want restrict the user, when every user submits the vote check the userid and pollid and decide......
  18. pulpfiction

    Signatures

    Heard of Charles Babbage as the father of computers.... Also guess "Alan Turing" is considered as an other father of computersEDIT: Oh just found that Alan Turing is the father of "modern" computers.....
  19. This might help....http://www.vbexplorer.com/VBExplorer/vb_fe...ner_ADO_DAO.asp
  20. There are 2 ways to pass values entered in various fields from one form to another...1. POST method: [send data]<form id="frm" runat="server" method="POST" action="nextpage.aspx">...................<input type="text" runat="server" id="TXT1" size="20">Retrieve data in nextpage.aspx.vbdim str as string = Request.Form("TXT1")2. GET method[send data]<form id="frm" runat="server" method="GET" action="nextpage.aspx">...................<input type="text" runat="server" id="TXT1" size="20">Retrieve data in nextpage.aspx.vbdim str as string = Request.querystring("TXT1")This method passes values in the URL.
  21. Didnt see any mouseover effect on (3) images in the portfolio page.... (IE 6)
  22. If the user who can vote will be a registered member of your website, then we can restrict by getting the unique user id and storing it in a database along with the survey or poll id which he already voted....If not [anybody can vote] then some ways are by getting user's IP and storing in DB....or creating cookies and checking them. This has few problems as user can work around and vote multiple times... not fool-proof.....
  23. To make this even simple...http://www.google.com/search?hl=en&q=Free+hit+Counter
×
×
  • Create New...