Jump to content

pulpfiction

Members
  • Posts

    1,210
  • Joined

  • Last visited

Everything posted by pulpfiction

  1. No clue....... google search gave me that link...
  2. This might help.....http://javascript.internet.com/navigation/...opdown-box.html
  3. Javascript is a client side scripting language, so inorder to connect to database you will need a server scripting language [ASP, PHP....]. so one way to handle this is to get the data from DB and store it in javascript array and then populate dropdownlist using that array....
  4. How to send e-mail through JSP:http://www.java-tips.org/java-ee-tips/java...hrough-jsp.html
  5. As you have mentioned about database, you must be using some server scripting to create the checkboxes, in that assign "ID" [from database] to "value" attribute of checkbox. then you can use javascript to get that value. assuming ID as identity you can get any information from database....<input type="checkbox" value="ID from database"........ />Code to get checkbox value using javascript http://www.webdevelopersnotes.com/tips/htm...a_checkbox.php3
  6. <input type="text" name="Using" value="windows" projectId="-214748631" folderId="-2147483608">This will not work as "projectid" and folderid are not valid attributes.... one way to pass values from the page is by using hidden textbox.<input type="hidden" name="projectid" value="-214748631" id="projectid" /><input type="hidden" name="folderid" value="-2147483608" id="flderidid" />These dont show up in the page and can values can be passed to another using POST or GET method
  7. Layout contains subtle colors and this hover green is a little too bright, at the same time white does not show the hover effect much.... but given choice between these two, liked white over green....
  8. http://www.sitepoint.com/article/scroll-smoothly-javascript
  9. I've never used brinkster before, hope there's a helpdesk you can contact about this issue...
  10. Do you need PHP script for user login??http://www.devshed.com/c/a/PHP/Creating-a-...P-Login-Script/http://php.about.com/od/finishedphp1/ss/php_login_code.htm
  11. may be one of these errors....http://support.microsoft.com/kb/306269
  12. Yes, almost every function has seperate explanation page,If you are looking at aspnet guys posted link, [for example] find "LXXVII. Mail Functions" and click it. redirects to another page.in there, it contains function "mail()" which is clickable and that redirects to [ http://www.php.net/manual/en/function.mail.php ] detailed explanation page of mail() and scroll down the page for examples....Same thing for every function...
  13. If you click on the function name then it will redirect to specific page with details about that function and examples... if you cant find there just google for "php function name" you can find a lot of examples.
  14. did you use Server.MapPath("db\anders.mdb") or the absolute path to connect successfully, [just for my clarification, im still slightly confused with "/" in server.mappath]
  15. Do you need PHP Function Listhttp://www.php.net/quickref.php
  16. In the error, asp page is looking for the database file in this location, this guess is not the correct path.'C:\Sites\content\a\n\d\andersmoen\andersmoen\db\anders.mdb'If you currect .asp page is inside "andersmoen" folder then try,Server.MapPath("db\anders.mdb")
  17. If you read the server,mappath in w3schools, then there is an explanation about using a "/" and not using it in Server.MapPath("\andersmoen\db\anders.mdb") When I tested it in localhost, If you start with a "/" then path is c:\inetpub\wwwroot and concatenates the path we mention insideabove.Incase if your page is in folder in wwwroot and if given without "/" it gives path path including that folder i.e the path of the page.c:\inetpub\wwwroot\subfolder\If without "/" it returns a path relative to the directory of the .asp file being processedso make sure you print the path and see if its correct.
  18. As the error says "The Path parameter for the MapPath method must be a virtual path. A physical path was used" you must a relative or virtual path to map to a physical path. so try changing it to......"Data Source=" & Server.MapPath("andersmoen\db\anders.mdb") & ";" &Link: http://www.w3schools.com/asp/met_mappath.asp
  19. CSS again, you can position the fieldset anywhere inside <td>http://www.w3schools.com/css/css_positioning.asp
  20. You can use CSS [inline or class] to set the height and width of <fieldsert><fieldset style="height:400px;">
  21. pulpfiction

    Get from form

    Guess its the blank space in ' hello ', so it must be 'hello'Try this,$sqlstr = "SELECT Information FROM Person WHERE Name='" . $result . "'";
  22. pulpfiction

    Get from form

    Code looks correct..... just echo the sql query and see if its correct.$sqlstr = "SELECT Information FROM Person WHERE Name='" .$result1. "'";echo $sqlstr;
  23. pulpfiction

    Get from form

    If its giving any error, post it ORCheck if query is returning some value.... If you are using the below query, it must not contain unnecessary blank spaces, I put that in the previous post to show single and double quotes.....$sqlstr = "SELECT Information FROM Person WHERE Name='" . $result . "'";
  24. pulpfiction

    Get from form

    $result = $_POST['Some_Name_Here'];$sqlstr = "SELECT Information FROM Person WHERE Name=' " . $result . " ' ";$result1 = mysql_query($sqlstr);
  25. Try to print server.MapPath("a.jpg") and see if its giving the expected destination location on the server. also check permission level in that specific folder. for more information on server.mappath http://www.w3schools.com/asp/met_mappath.asp
×
×
  • Create New...