pulpfiction
Members-
Posts
1,210 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by pulpfiction
-
No clue....... google search gave me that link...
-
This might help.....http://javascript.internet.com/navigation/...opdown-box.html
-
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....
-
How to send e-mail through JSP:http://www.java-tips.org/java-ee-tips/java...hrough-jsp.html
-
how the rerlated checked item can be displayed
pulpfiction replied to b_suneetha's topic in JavaScript
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 -
<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
-
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....
-
http://www.sitepoint.com/article/scroll-smoothly-javascript
-
Connecting to database (continued from category general)
pulpfiction replied to Anders Moen's topic in ASP
I've never used brinkster before, hope there's a helpdesk you can contact about this issue... -
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
-
Connecting to database (continued from category general)
pulpfiction replied to Anders Moen's topic in ASP
may be one of these errors....http://support.microsoft.com/kb/306269 -
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...
-
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.
-
Connecting to database (continued from category general)
pulpfiction replied to Anders Moen's topic in ASP
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] -
Do you need PHP Function Listhttp://www.php.net/quickref.php
-
Connecting to database (continued from category general)
pulpfiction replied to Anders Moen's topic in ASP
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") -
Connecting to database (continued from category general)
pulpfiction replied to Anders Moen's topic in ASP
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. -
Connecting to database (continued from category general)
pulpfiction replied to Anders Moen's topic in ASP
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 -
CSS again, you can position the fieldset anywhere inside <td>http://www.w3schools.com/css/css_positioning.asp
-
You can use CSS [inline or class] to set the height and width of <fieldsert><fieldset style="height:400px;">
-
Guess its the blank space in ' hello ', so it must be 'hello'Try this,$sqlstr = "SELECT Information FROM Person WHERE Name='" . $result . "'";
-
Code looks correct..... just echo the sql query and see if its correct.$sqlstr = "SELECT Information FROM Person WHERE Name='" .$result1. "'";echo $sqlstr;
-
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 . "'";
-
$result = $_POST['Some_Name_Here'];$sqlstr = "SELECT Information FROM Person WHERE Name=' " . $result . " ' ";$result1 = mysql_query($sqlstr);
-
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