52,566 Archived Topics
Remove Filter ![]() | |
Hi all. I am having a weird problem with PHP sessions. I create a session but when I click a link inside my site, other session is created. To test it I copy this code below and tried to run in same environment (WAMP at localhost). The same behavior was … | |
I have a couple of div tags inside a form, inside those tags, there are input elements, i would like to know if there is a way to loop over all the input elements that are inside the div tags. This has to be dynamic as i will not know … Web Development javascript | |
Hi, I want to store video name in database and videos in one folder.This can be achieved by fileupload. How to retrieve videos from database and display on windows media player depending upon the query? | |
I am a programmer with not more than 2 months experience and facing a very difficult chellange. I want to read an online page in my aspx page to get the data on that page. is it possible to read a page not developed by me. Any one can help … Web Development asp.net | |
The first thing at the start of every page is "session_start()". Next, each page has the following code. The 'loggedIn' session variable was initialized to 0 with a require_once call of another script. When you log in, the page that did the check will show the login is successful, but … | |
[B]Hi all of you , I just want to ask which programming language used in paypal website also its possible to make like this website in php ??? thanks all [/B] Web Development php | |
Hey people, Cheers for checkin this, its a pretty simple concept but theres a bug which is annoying me, any feedback is appreciated. Ive got a script which is used to assign username and password form inputs default values of "Username (E-mail)" and "Password" The problem is, the script changes … Web Development javascript | |
I have a javascript function and then below it I have some html. In the html I want to be able to document.write() a variable from that function above. Is this possible?? Basically if I have function x() with some variable declared inside of it, I want to be able … Web Development javascript | |
Hello Forum , I am working on Windows XP SP3 ,I want to configure my PHP server accessible for our entire LAN cz I want to post and retrieve information to/ from my database being on any machine in our LAN. What configuration can I make? Web Development php windows-server | |
Hi, all I'm a newbe in php My question is simple, but after 10 hours on the comp,I've got jammed Please help on the correct syntax of echo ("<a href... $ID[1]="Best Song" $url[1]="http://localhost/cat_music/BS.php" echo ("<a href='\".$url[1].'\">".$id[1]."</a>"); doesn't work Installed PHP 5.2.5 TIA Web Development php | |
is there any way to get a form name from a page that the post or get variables sent from ? for example : $_POST['name'] , $_POST['password'] .. What would it be if you wanted the form name to be sent ? Web Development php | |
Hello All, I have a chat friend online who said to me that if I don't know java or .Net then my web design will not make me money. I know how to program in php, asp html etc and willing to learn more as knowledge has no age limit. … | |
I have a form that inputs data to a database. All is working fine, but what I'd like to do is when it gets to the [code] $result = mysql_query($query) or die ("Error in query: $query. ".mysql_error()); [/code] instead of the mysql_error, I want to display my own error with … | |
am tring get value from msaccses database with wher condition but am not get. pls give me an idea to overcome this problum. and pls..help to get data from table based on the dropdownlist vaues wich is in html page. using jsp, jdbc.......pls..... [code=JSP]<%@ page import="java.sql.*" %> <%@page contentType="text/html" %> … Web Development java-jsp | |
Hello friends, I faced a problem in sending email through servlet. I have downloaded mail.jar and activation.jar. All is running perfect but error is coming. javax.mail.MessagingException: [EOF] [code] import java.io.*; import java.net.*; import java.util.*; import java.sql.*; import javax.mail.*; import javax.mail.internet.*; import javax.servlet.*; import javax.servlet.http.*; /** * * @author Administrator */ … | |
pls any one will guid, how to work jsp, servlets and ejb at Jboss4.0.2 pls..............if possible sugest be any url.............supoted for this..........pls. it's an argent.............pls Web Development java-jsp | |
Hi All I am working on an e-commerce site using VB.Net and currently stuck on trying to display my products on the storefront. I am using a GridView control to present records of products from an access database. The GridView is showing the records as they are in the Database … | |
How can I get live feeds(stock prices) from a stock exchange and attach the display in my website?? Web Development php | |
hi [CODE] if (confirm ("are u sure "); { <?php mysql_query("INSERT INTO student ('id','name') VALUES ('1','osama'); ?> window.location='home.php';[/CODE] even if i chose cancel value will add to my data base why ?? Web Development php | |
[CODE]$time_diff = time() - $sent; $time_diff = intval($time_diff / 60); if($sent_mail < 30) { // in here is a page built will php which contains its own if statements }elseif ($time_dif >= 1) { mysql_query("Truncate table time"); mysql_query("Truncate table email_count"); echo '<META HTTP-EQUIV="Refresh" Content="0; URL=maillists.php">'; //should load page user wanted … Web Development php | |
I would like to know from anyone who has seen or done someting on [B]airline reservation online[/B](web based application). i thought of using c#.net, but i really dont know where to start from or what program will be good for the implementation. Web Development asp.net | |
can anybody will give me sample code example of session in asp.net | |
Hi, I was new to c# and asp.net .I want to create a simple login page using ASP.net with c# code behind.I had 2 textboxs(username and id) and 1 button control.I stored all the username and id in MS ACCESS database.Database name "user.mdb" and table name "table1" (only 2 fields … Web Development asp.net | |
hi, i have used gridview in asp.net 2005 wit c#.i need to update my datas.in tat i hv placed dropdownlist,checkbox controls.but its not updating the datas.when i edit the row,we have dropdownlist but not tat database value.so when i edit the row the database value should be in dropdown list.when … Web Development asp.net | |
I clearly explained my prob... My task is to upload the resumes in server..and displyed dem as link in a list box..i finished tat..if a user clicks tat link open/save dialog is open as default..but i don wann tat open/save dialog. ex: sundar_c++.doc santos_c++.doc If the user click the above … Web Development php | |
whatever the resolution of the screen , how to fix or set the screen resolution for example to 800 by 600 in asp.net Web Development asp.net ![]() | |
Hello - I'm new to inserting checkbox arrays into mysql tables. After scouring the web for two days I've found a solution using 'foreach', and it is inserting the data into the table correctly however I'm getting the following Error Notice. "Notice: Array to String conversion on page blah.php on … Web Development php | |
I am trying to open another page from an image. I can open the page on a different window by doing this: [icode]onclick="Response.Redirect(cci_info\cci\features\create_CCI\WebForm1.aspx);" [/icode] But I don't want to open another window, rather I need the image button to open a page in the same window. Thanks for the help. … Web Development asp | |
i have images in database. i want to show in grid view in different columns.can i do it.also want allow paging property to true. Web Development asp.net | |
I'm trying to create a menu that only drops down when moused-over and collapses again on mouseout. It seems to be working fine except for one thing. When the page loads, it's automatically expanded in all five sections. Once the top image is moused over, it collapses and works properly. … Web Development audio html-css javascript video | |
Hi, I want to make a site which compares prices of a product from different brands.I wanted have something like By Category, By Brand, By Store, Best Deal, Gift Deal.Do I need to create different tables?or is it enough if I create 1 table?Can you please tell me how to … Web Development php | |
Hey everyone, I'm making a login system (in an attempt to advance my PHP knowledge). I've successfully made a system which registers the user (and uses md5 on their password), and also a login page which queries the database on the login info they supply (with the supplied password also … Web Development php | |
Hi. im a beginner in php, following is my site [url]http://www.peipians.com/[/url] i want you people to check it help me by suggesting any modifications... plzzzz :) Web Development php | |
During the execution of a package listener, I am trying to call a web page with embedded query strings to execute a task in .cfm... The code below is a snippet from the original code to simplify the discover of the error. I have been struggling to get this simple … Web Development java-jsp | |
I have a horizontal menu. I want there to be space to the left of first item like there is to the right of last item. How would I do that? Web Development asp.net | |
I'm not sure why but my form is not sending the info. I'm able to get the email but all the fields are blank. When I submit the form I get my echo message. Any help is great, thanks. Form: [CODE] <form action="sell_process.php" method="post"> <table width="100%" cellpadding="2" cellspacing="2"> <tr> <td … Web Development php | |
I Have visited a dozen of websites and registered with them but still none of them has helped me with my problem. I got a php script that i created that sends the results to a specific email address but the problem is that the attachments are not still working … Web Development html-css javascript php | |
I have problem with page navigation.My problem is that am getting all the records in one page. $rowsPerPage = 10; I have 30 records, all are showed in one page...not the 10 records.Here is my code. [code] <?php include ('conn.php'); // how many rows to show per page $rowsPerPage = … Web Development php | |
hi friends, i need your help in my project. i need to group my dropdownlist data. can anyone help me to get "optgroup" functioning in asp.net 1.0 using vb.net | |
how to link css stylesheet file which is stored in database in asp.net please give me complete example | |
Hi all I have a checkboxes form. How can I get the results displayed (in a new window lets say) when submiting it? Thank you P.S. I care about getting results displayed part. | |
Hi, I wanted to display data which is in my db.The format of displaying must be in a div, in that div 3 columns & each column must have 10 rows.Am using this: [code] while($data = mysql_fetch_array($result)) { echo $query; echo ' <tr> <td colspan="3" > <a href="'.$data['MedName'].'" >' . … Web Development php | |
Hey everyone, I have a question that I'm hoping someone, anyone, can answer... ...I want to create a drop-down menu with the values 1, 2, 3, 4, 5,..., n in it - and I want to be able to select one of those options from the drop down menu and … Web Development javascript | |
Does anybody know javascript function to call WebService I have a webservice written in .NET2.0 and I want to call the webservice by JAvascript function and store the data got from the function on local comp by opening save dialog box in javascript itself Do anybody have any idea? Web Development asp asp.net javascript | |
Hi: I'm not sure that this problem has a solution but here goes. I am retrieving a list of names from a database and displaying them on a web page. The list would have the form: Doe, John Smith, Harry Jones, Dan I want each name to be a hyperlink … | |
[code=PHP]<?PHP @session_start(); $userId=$_SESSION['userId']; if(!session_is_registered("userId")) { echo "<Script language=\"javascript\">window.location=\"index.php\"</script>"; } if(session_is_registered("userId")) { $userId=$_SESSION["userId"]; } ?> <?PHP require_once('conn.php'); $status=""; if($_SERVER["REQUEST_METHOD"]=='POST') { $username=$_POST['username']; $userpassword=$_POST['userpassword']; $qury="select * from login where username='$username' and userpassword='$userpassword'"; echo($qury); $res=mysql_query($qury) or die ("can not process the query".mysql_error()); $count=mysql_num_rows($res); if($count>0){ while($row=mysql_fetch_array($res)){ $userId=$row['userId']; $username=$row['username']; } session_start(); $_SESSION['userId']=$userId; $_SESSION['username']=$username; echo "<Script language=\"javascript\">window.location=\"APS.php\"</script>"; … Web Development javascript php | |
Hello again, I previously asked a question about how to seperate text in a form. I understand how to do that now (thanks KKeith29), but my question now is this: How do I use the data entered in the form for the variable I want to perform the substr on? … Web Development php | |
Here is my problem... I am developing a portion of my website to sell my floor plans online. I have an access database linked to a Datalist that displays a thumbnail elevation and some basic info about that plan. What I am having problems with is once a person clicks … Web Development asp.net visual-basic visual-studio | |
Hello, mysq_query($query) returns a valid result set. However, [CODE] function query($query) { return mysql_query($query); } [/CODE] returns a 1. Why does this happen? Is there a way around it? Thanks in advance. |
The End.