17,029 Solved Topics
Remove Filter ![]() | |
Hi all - I'm hoping someone here can help me with this as I have been trying to figure it out for the past 48 hours and have made little progress. I have two table in my database. The Primary Key (Serial) in tblTitles is the Foreign Key(Serial) in tblQuotes. … Web Development php | |
I have this ArrayList that consist of list of structure and I would like to use the content of the ArrayList as the return type for the function bellow. Can anyone help please. [code] public struct DeviceSchedules { public string StartDate; public string EndDate; public string Interval; public string DeviceTimeZone; … Web Development asp.net | |
I am trying to write a code to get IP of a computer. I have written the following code : <?php $ip=@$REMOTE_ADDR; echo "<font face='Verdana' size='3'><b>IP Address= $ip</b>"; ?> But the output I am getting is : IP Address= 127.0.0.1 i.e the common IP for all machines, what is the … Web Development php | |
hi i am not able to update my table.plz do tell me the bug in my code..... when update link is clicked in the first page..the table should get updated [B][COLOR="Green"]page 1[/COLOR][/B] $link=mysql_connect($hostname, $username, $password); mysql_select_db($dbid) or die("unable to connect"); $x = $_GET['name']; $result=mysql_query("SELECT * FROM table1 where name='$x'") or … | |
Hello everybody, I want to write an email to some one by php function... I mean Mail(....) What may I write in the headers to send this message safety to another one... I mean by using the ([COLOR="red"]Cc[/COLOR]) Or ([COLOR="red"]BCc[/COLOR]). So that is a querstion.... I have another question: Can … | |
Hi I am using 2 dropdownlists such that corresponding to the item selected in the 1st dropdownlist only the related items will appear in the 2nd dropdownlist. The problem is that the 2nd dropdownlist is never populated. My code is: Sub popdropdownlist1() Dim myConnection1 As New SqlConnection(ConfigurationSettings.AppSettings("connectionString1")) Const strSQLC As … Web Development asp.net | |
I am having problem with my loping. I don't know if I have chosen the correct approach. GOAL: I need to insert into a table event types for a specific date range. The calendar the event type is displayed on is divided into 15 minutes time intervals A group consist … Web Development linked-list php unix | |
I am trying out the process of uploading a file from a browser to the IIS 5 server. I have installed the MS Posting Acceptor (cpshost.dll) and the file exists in the C:/InetPub/Scripts folder. I restarted IIS after the installation. The Code for Posting the file is [CODE]<FORM EncType="multipart/form-data" ACTION="http://localhost/Scripts/cpshost.dll?PUBLISH? … Web Development asp file-system | |
The following code snippet works in IE, but not Firefox 2.0.0.10. The parts that access text boxes work great. I can see the selectedIndex's value for the two drop-downs, but cannot retrieve the text of the selected item for either drop-down. Specifically, the first alert displays the value of the … Web Development javascript | |
Hi, I am very new to PHP, teaching myself at the moment. I am using online tutorials to teach myself, so I am at their mercy of what information they provide. I have found some decent scripts, but they don't show me how to link them together. I am trying … Web Development php | |
Working on a function that prints out all database rows that end with _n where n is single digit number 1 - 9 first and then prints rows that do not end in _n. So far I have been trying to use this code [CODE=php] $theQuery="SELECT * FROM tableContent" while($row=mysql_query($theQuery)) … Web Development php | |
Hi, I'm fairly new at php and I'm trying to understand how to upload a maximum of 5 images. The images would be uploaded to a common directory. My plan is to save the pathname to a database for later retrieval. Please help. Thanks. | |
hi i want to check the uname from the database and the session variable... please tell how to write if condition <? $link=mysql_connect($hostname, $username, $password); mysql_select_db($dbid) or die("unable to connect"); echo "<table width='60%'>"; $result=mysql_query("SELECT jobid,jobtitle,cname,uname FROM please"); print "<tr><td>jobtitle </td> <td>cname</td></tr>"; if ($result[3] == $_SESSION[uname]) { for ($i = 0; … | |
Is it possible to include the character < in a regular expression? I don't seem to be able to find a reference to it anywhere and am unable to build a regex with just this one character. | |
Browsing an aspx page results with the following error: [I]The page cannot be displayed The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings. [/I] When I checked the Event Viewer, I get "Fatal … Web Development asp web-browser | |
Hello everbody, Despite some serious googling, viewing previous posts here and consulting the php manual, I am still unable to validate my user input. If I can get one simple form to validate, I will be able to adapt the script accordingly to any other, so any help you can … | |
[B]Warning[/B]: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in [B]/home/content/r/a/e/raeyshe/html/fanlisting/admin.php[/B] on line [B]36[/B] [code]<? // select all unapproved members $result = mysql_query ("SELECT * FROM $table WHERE apr!='y'"); [COLOR=darkred][B]if ($row = mysql_fetch_array($result)) { [/B][/COLOR] do { // display all unapproved members ?>[/code] Line 36 is in bold, … | |
hi how to get my database values to my textbox.... i want to update my database content.in order to do that i want to display the existing content in a textbox so that the user can change the content and click update to update the content in the db. Web Development php | |
It's been forever and a day since I used frames. I'm sure I have it all plugged in right, but I've never used JavaScript w/ frames. Do I have the links coded properly in the following: [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtmll/DTD/xhtmll-transitional.dtd"> <!--leftFrame.html--> <html> <head> <title />Left … Web Development javascript | |
So basically this is what I have. In the database, there is a table called LocalTalent. Inside this table there are Two Fields, one is the LTName, and the other is the LTID. Now when my client adds a new talent category, I want this to automatically affect the page … Web Development asp.net | |
hi to all... giving support to my projects now i came with another problem.. when i trying to pass the values to popup am using request.form in the popup will it work?? it is not working for me.. coz will not post the form for popup... my code is here … Web Development asp | |
hi All jobtitle will be displayed in a table with hyperlink.when the jobtitle is clicked.it should fetch description,email etc from the database and display it. please tell me how to link the pages based on the tobtitle or id....when the hyperlink is clicked it is not displaying the data from … | |
I didn't know where else to put this thread *sorry if it's in the wrong forum* I want to go an a hiatus, and I found this .htaccess tutorial where you can redirect users from an old file or directory to a new file or directory... I was wondering if … Web Development | |
Hi can somebody help me i am new to developing. ADD the new record to the existing database table at the end of all rows.Something like registration form details. <%@page import="java.sql.*" %> <% String fisname=request.getParameter("firstname"); String lstname=request.getParameter("lastname"); String sex=request.getParameter("gender"); try { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connection con=DriverManager.getConnection("jdbc:odbc:Bharath"); Statement st=con.createStatement(); DataInputStream din=new DataInputStream(System.in); while(rs.afterlast()) … Web Development java-jsp | |
Hello, I am getting an error message saying clock is undefined, I am not sure why, here is my code: [CODE=JavaScript] <script type ="text/javascript"> var theDays = new Array("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"); var theMonths = new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", … Web Development javascript | |
hi in this coding i want to specify the table width and border..i tried with css and html both are not working..please tell me how to display the table <html> <head></head> <link rel="stylesheet" type="text/css" href="test.css" /> <body> <?php $hostname = "localhost"; $username = "splendor_lydia"; $password = "jesus"; $dbid = "splendor_samp"; … | |
Hello folks, I was wondering if anyone had any experience with php configured with pdflib. I am trying to create a new pdf by loading an already existing pdf and overlaying some information where the fields would be on the existing pdf. I have been trying to figure this out … | |
hi i want to know whether my coding is correct because data is not getting inserted in my sql table,but it is displaying the "data inserted" message<html> <head></head> <body> <?php $uname1= $_POST['uname1']; $cname=$_POST['cname']; $caddr=$_POST['caddr']; $mid=$_POST['mid']; $skills=$_POST['skills']; $degree=$_POST['degree']; $indtype=$_POST['indtype']; $desc=$_POST['desc']; $req=$_POST['req']; $yoe=$_POST['yoe']; $sal2=$_POST['sal2']; $search=$_POST['search']; $hostname = "localhost"; $username = "uname"; $password … | |
hi, i am using freehypespace.com.i want to know abt database connection.i want to insert data from my textbox to database.....thanks .lydia Web Development php | |
I would like to "hide" everything encompassed in a particular <p> tag that is 'named' by a variable(created a php script that reads from the db and echo's a users details in a <p> that has the name of the 'member number' via a variable - user. (yes it sounds … Web Development javascript | |
So I have some PHP code that takes text from a mysql table and prints it to the screen with formatting. Problem is the spaces keep getting truncated when its formatted. Like: [QUOTE] I like cookies. They are tasty. [/QUOTE] would come out as: [QUOTE] I like cookies. They are … | |
I'm trying to create a page that has a button at the end with a check box before it. Unless the check box is checked, it shouldn't carry through with the link. I absolutely cannot get it to work. I've been toying around with it for over a half hour … Web Development javascript | |
How do I insert a link to another page to the pressing of a button? I'm assuming it would be via the onclick event, but can't seem to get it accomplished in a manner which will actually work. Web Development javascript | |
Where do you put the links when you have 5 different banner ads that rotate on a fixed amount of time? It's obviously not around the <img> tag in the body, because that links all five banners to that one single URL.... Web Development javascript | |
I am having a problem with my datalist and repeaters. Below is the code. For some reason, when it searches the database and returns results, it counts the correct number of results, but only displays the correct number minus one. So if it returns 3 results, it only displays 2, … | |
I've been told this isn't possible which leads me to the following problem. I have a series of events stored in a database and at the moment I pull the info out and display each one on a new line using a while loop. What I'd like to do now … Web Development php | |
I'm trying to write a little wrapper for executing MySQL statements, and I've run into a wall trying to use [inlinecode]mysqli_bind_param[/inlinecode] without knowing the number of variables I'm binding. Here's what I've got: [code=php] /** * Note: * . execSQL is variadic, just like bind_param * . prepareTypeStr is another … | |
I needed to paginate my article section at my site so that i wont have 20 paragraphs page, now when I tried this on LOCALHOST i encountered no problem at all. But when I uploaded it on my server, the pagination doesn't work. I think the problem here is about … Web Development php | |
I have a Navigation Menu at the top of my site that when on some pages you click a link the refreshes the page it looses all images and add one extra link ASP.NET (VB) View it here (Click on the reset button to cause it) [URL]http://www.taylorsnet.co.uk/MembersArea/Join.aspx[/URL] Any Ideas | |
Hi, This clamshell menu code works fine in IE and Safari, but level 3 does not work in Firefox. When I click on 3-Level Menu - Level 2, the menu closes. Clicking on 3-Level Menu - Level 1 again shows the level 3 items were indeed opened. The 2-level menu … Web Development javascript | |
hi, how to validate email id in php...please send some code....lydia | |
Hi to all am new to asp and am parcipating a project on asp in our company... here i got one prob that passing the parameter thru onclick.. i tried a lot but nothing materialize.. i have 5 buttons here.. for all buttons same function that i have to submit … | |
Can anyone see it..I can't find it [code] <% RequestDispatcher dispatcher = request.getRequestDispatcher("/jsp/ErrorPage.jsp"); UserDataVO userData = null; String username = request.getParameter("username"); String password = request.getParameter("password"); boolean loginOkay = false; boolean trialOkay = true; boolean pageError = false; boolean hasBlanks = false; String menuType = null; String adminServer=request.getServerName(); String javaAdminServer=request.getServerName(); if … | |
Dear all, I have rectangle that I split to 4 columns and put lines and I fill in each column with textbox ------------------------------------------------------------------------------------------------------------------------------ | Col1 | Col2 | Col3 | Col4 | ------------------------------------------------------------------------------------------------------------------------------- Example : Col1 => Currency Col2 => Amount Col3 => Value date Col4 => Due date sometimes, … Web Development asp.net | |
Hi this might sound like a simple question to most but it is something that i have been trying for quiet a while. I have a table in mysql, which contains a name of a football match, date, time , and one of the variables is a link address to … ![]() | |
Hi, I am getting Error 302 "Object moved to here" from Spiders and from msn.com Click [URL="http://search.msn.co.uk/results.aspx?q=www.taylorsnet.co.uk&geovar=en-US&FORM=REDIR"]Cached Page[/URL] Can any body explain? The page contains one Response.Redirect(URL, True) in code but it if in a button It also contains five SQL Select statments Is this caused by ASP.NET, Me or … | |
I looked at tons of previous threads, and didn't find anything to help with my specific need. I have a page where I want to swap a large image using navigation AND pass text related to that image to the area underneath. ([url]http://vinegar-works.com/casestudies.html)[/url]. I used layers to show and hide … Web Development image javascript | |
Hi i am new to asp.net. i am preparing an asp.net application which is of like this it will have a webpage,which consists of multiple tabs when i click on each tab it will display different information in the same webpage. my problem is how to create a multiple tab … | |
Hi all, its me again..I'm a newbie in javascript. I'm having trouble with the bold style in my javascript. It works fine in IE but not in firefox. Here's a code snippet of what I did. var anchoryou = new Array(3); anchoryou[0] = document.getElementById('First'); anchoryou[1] = document.getElementById('Second'); anchoryou[2] = document.getElementById('Third'); … Web Development javascript | |
![]() | i forgot how to split urls :) [code=php] $url = "http://www.myhost.com/1,1,1,10.html"; [/code] i m trying to get 1,1,1,10.html n assign each value before commas to variables any ideas?? Web Development php ![]() |
The End.