52,566 Archived Topics
Remove Filter ![]() | |
I want to use query strings into include function, like include('where.php?id=1'); and echo $_REQUEST['id'] in where.php; but gives error. [CODE]Warning: include(where.php?id=1) [function.include]: failed to open stream: No error in C:\xampp\htdocs\3g\include.php on line 2 Warning: include() [function.include]: Failed opening 'where.php?id=1' for inclusion (include_path='.;\xampp\php\PEAR') in C:\xampp\htdocs\3g\include.php on line 2[/CODE] If yes, then … Web Development php | |
Hi, I really need help with this. I read from various sources but they are complicated and I do not understand them at all. Is anyone kind enough to help how do I go about it? Web Development php | |
Hello, I am a new php learner. So far I have learn what is variable and how it's decelerated and functions and it's use. If, for, while, do while, and Array statement. But I have only php Bible Book. I need more ref. book about php. Please give me some … Web Development php | |
Hello I'm currently using GridView.Sort("Column", ASC") It works perfectly and sorts my gridview, however once I get to 10 or higher the sort order stops working and it goes. 1,10,2,3,4,5,6,7,9. Here is my code would anyone care to explain why it does this? [CODE] DataSet ds = new DataSet(); ds.ReadXml(Server.MapPath(@"xml\" … | |
how to upload multile file using enctype=multipart the form contains some basic txt inforamtion and 5 imge to upload to server .i am having problem ......give me some idea Web Development java-jsp | |
juz,i got a project online shopping, i have to use JSP/Servlet.I am familiar with jsp/servlet and database connectivity.It is my life's first project so i am very confuse.what should i do? Project minimum Requirement: Normal User can login,Sign up,add to cart, add to wishlist,no two purchase should add two time. … Web Development java-jsp | |
Dear friends, I have created a html page with dynamic select boxes and included the below line in the form [COLOR="red"]<form action="sqlpage.php"target="_blank" method="post">[/COLOR]. The mentioned sqlpage.php contains some php code which connects to MySQL DB and search for queries and displays the results on a webpage. But when i run … | |
how to create a web link to ASP.NET from windows application Web Development asp.net | |
I've two Drop Down List Box in a form and need to change the 2nd dropdown lists value on selection of 1st dropdownlist. I've following code [CODE]<asp:AccessDataSource ID="AccessDataSource1" runat="server" DataFile="c:\dbase.mdb" SelectCommand="SELECT [CcompCode], [compname] FROM [mymain]"> </asp:AccessDataSource> Company Name<asp:DropDownList ID="DropDownList1" runat="server" DataSourceID="AccessDataSource1" DataTextField="compname" DataValueField="CcompCode" onselectedindexchanged="DropDownList1_SelectedIndexChanged"> </asp:DropDownList> <br /> Financial Year<asp:DropDownList ID="DropDownList2" … Web Development asp.net | |
Hello, I'm looking for someone who can help me fix and clean up a PHP email verification form that I can't get fixed with my lite knowledge of PHP. Web Development php | |
Hi. I'm not sure if this is possible with PHP or not... I want to be able to have a user enter a phone number, and then the site will call the number with a message. For instance, it'll call them with their confirmation code. Is this possible? Thanks! Web Development php smartphone | |
Hi, I've not been successful looking for a solution to my problem. What I need is to password protect a directory. I could use htaccess, but the user doesn't want a pop-up login window. He wants to start on a page with a form with the username and password fields. … Web Development apache file-system php | |
after typing in the "Your message:" field and clicking the "Send e-mail", my page refreshes and gives me the error message "Your message field is required." it's as if what i'm typing in the message field gets discarded. also if i type something in "Send to:" and "Subject:" fields and … Web Development php | |
Is there a way avoid the appearance of notice msgs in PHP (in the executed page)? If yes, what's the method? Web Development php | |
[CODE] function getAjax() { var XmlHttp; //Creating object of XMLHTTP in IE try { XmlHttp = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try { XmlHttp = new ActiveXObject("Microsoft.XMLHTTP"); } catch (oc) { XmlHttp = null; } } //Creating object of XMLHTTP in Browers other than IE if (!XmlHttp && typeof … Web Development javascript javascript-jquery session ![]() | |
I am trying to download a selected FTP file from an FTP site in ASP.Net and VB.Net. Earlier I was having problems that the box wasnt registering my selection being made, but now it is. However, when I go to download the file I get an error message that says: … | |
hi, i am developing a website of reading newspapers and magazines..in a page where it shows 6 different newspapers in grid view in horizontal view in tablet, same page when twisted vertically should show only 4 in grid view.... how this can be done...any ideas please Regards, Praveen Web Development php smartphone tablet | |
hi, i need copy a local folders and files to a ftp server for example i call this: copy ( $ftpserver, $user, $password , local path + file ); or copy ( $ftpserver, $user, $password , local path / folders / folder + file ); the script must see all … Web Development php ![]() | |
Hello guys, I am using php mail form where visitors contact with the registered site members. Searching for a solution to avoid unwanted spam messages. Is there a way to put in code which deny sending messages from custom mail ids? Thanks in advance. Using this post to great thank … ![]() | |
Hi I've written this code (that works) to inserts registration details into an Access 2010 DB from an aspx registration page. How do I check for duplicates Email before inserting a new record into the DB Dim strConn As String = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\InetPub\WWWRoot\BushHouseGibraltar\Bush.accdb;Persist Security Info=False;" Dim MySQL As String = … Web Development asp.net microsoft-access open-source | |
hi, i want to alert (javascript dialog) after user clicks the submit button, then process it with php and then show the alert after the body has reloaded (same body after post, just calling the same page. the easy thing to be done, but i'm going mad with it, is … Web Development first-post javascript php | |
Hi Guys! I was wondering if anyone could shed some light on this problem. I recently changed my login forms ugly default submit button to and image. The problem being that the image is submitting the form but I'm not getting the results I hoped for. It isn't logging me … ![]() | |
Hi I was created one web application. In which i am using the ajax control asyncfileupload file uploader in update panel. Upload file correctly but when i refresh the page then double this file is uploaded.. how to fix this problem in asp.net? please help me how to postback the … Web Development asp.net file-system | |
Hello I'm currently trying to get my GridView to update all rows at the same time. The gridview takes data from an .XML file - I can use the 'onRowEditing' to update a single row at a time - however I want it to be able to update all rows … | |
Hi I am trying to get the values from dropdown list but everytime it selects the default value asp code: [CODE]<asp:TemplateField HeaderText="Customer Id" sortexpression="cust_id"> <EditItemTemplate> <asp:DropDownList ID="ddl1" runat ="server" OnLoad="ddl1_load" ></asp:DropDownList> </EditItemTemplate> <ItemTemplate> <asp:Label ID="lblc" runat="server" CssClass="label" Text='<%#Eval("cust_id")%>'></asp:Label> </ItemTemplate> <HeaderStyle BorderStyle="Inset" Font-Bold="True" Font-Underline="True" ForeColor="Teal" /> </asp:TemplateField> [/CODE] code behind: [CODE]Protected … Web Development asp.net | |
Below is my javascript validation file which i hv imported in my php form. the problem is the kind of pattern(or function in the javascript file below) i m using in case of name address and username they r validating correctly but they r not including the spaces in the … Web Development php | |
Hi, I am using c#. I have a problem of finding the difference between 2 dates in terms of year,month and day. For example Finding the difference of 2 dates(mm/dd/yy). date1=12/3/2010 date2=3/5/2011 I used the following code [ICODE] int year=date2.Year-date1.Year; int month=date2.Month-date1.Month; int day=date2.Day-date1.Day; [/ICODE] The output I am getting … Web Development asp.net | |
Hello friends. I have a webpage (my.aspx). In that page i have some controls inside div tag and some controls outside div tag. Now i want the html source of those controls which are [B]inside[/B] div tag using JAVASCRIPT. How can i do this. I got the code with which … | |
| |
hi guys, Can you help me. How can I delete the uploaded photo ?? if I click the delete button message box appear and asking if I am sure to delete the photo, if I choose the Ok button the image was still there. How can I remove that?? what … Web Development asp.net | |
how to view messages with profile image .anyone help me my profile view page [CODE] <?php require("connect.php"); $username=$_SESSION['MM_Username']; $query=mysql_query("SELECT *FROM members WHERE username='$username'"); if(mysql_num_rows($query)==0) die("User not found!!!!"); else { $row=mysql_fetch_assoc($query); $location=$row['avatar']; echo "<img src='$location' width='100' height='100'>"; } ?> [/CODE] My message page [CODE] <?php require "database.php"; $userfinal=$_SESSION['MM_Username']; // get the … ![]() | |
Hello I'm trying to include a dropdownlist in my gridview and then bind data to that dropdownlist. I have come across an error: [quote] error CS0103: The name 'sortOrderDropDown2' does not exist in the current context at System.Web.Compilation.AssemblyBuilder.Compile() [/quote] Now i'm not sure why I get this error as my … Web Development asp.net | |
I have a code that gives me a unix time ie)1277851200 How would i be able to convert that to x minutes x seconds and so on. (real time) | |
I want to print a particular <td> only in php/javascript need suggestions Web Development php | |
Hi there, I was wondering if anyone can resolve my problem. Just to give you a heads up. I have a page with many input fields like textboxes, select etc. All these input fields are on one line in a table row. The number of rows depends on the amount … Web Development html-css javascript php | |
Hello guys, i need some idea or someone to give me right directions how to make something like this: if user want's to insert a proxy site in database he got to backlink from proxy site to my proxy list. that's made at atproxy and centurian.com/submit.php i hope you can … Web Development php | |
Hello Am trying to implement something similar to this page, [url]http://www.k-optisports.ch/fr/optic/team.html[/url], whereby hovering on an image changes it to display the user's details. anyone can pls help me with finding a tutorial or pre-built gallery using such type of effect? Web Development image javascript javascript-jquery | |
Dear All, I am working on an existing web application trying to integrate reports. The application was developed with the 2.0 Framework. I converted it to 3.5 since I could not use the ReportViewer with the 2.0. Trouble I get a lot of errors. What can I do? Does anybody … | |
Hey, I created a simple user register script which later stores the data in a mysql database. What I did initially was that a small code would count the number of rows in the database and then automatically increase the variable by 1 to set the user id. For example … | |
Hy all i want to display data in table format... as like below result. column1 column2 column3 1 2 sdg 3 4 dfg 4 6 gfdsg 6 7 ffdsg the following snap of my code is take the column title dynamically [CODE] <c:forEach items="${emplistlist}" var="demos"> <TD><c:out value="${demos.columnam1}" /></TD> </c:forEach> [/CODE] … | |
hi all, I am quite new to J2EE . I want to connect mysql database which one will be best jsp or servlet.... the thing is we need to establish connection each time. Insted of that just one Java class will do that and the other classes call the method … Web Development java-jsp | |
I'm trying to create a simple members only section. With the following code, I'm able to log in and get redirected to a page (that simply says: "hello") if the login is correct. If I then copy the URL from the page to which I was redirected, open up IE, … Web Development html-css php session web-browser | |
Hi, I just want to know if it is possible to have a fading notification using asp.net?? like in outlook and facebook if there is incoming message or notifications for you. Thanks | |
hi all; can anyone tell me where can i find a good example for this; i have this whole code [CODE]<?php $name = $_POST['name']; $sender = $_POST['e_mail']; $phone = $_POST['phone']; $subject = $_POST['subject']; $message = $_POST['message']; $email = $_POST['email']; // Insert data into hotelinfo table $sql="INSERT INTO mailRecord(name, sender, phone, … Web Development email javascript php | |
hi have the next code[CODE] <?php $search="ala salsa portocala nueve vacas"; $where="texto ala salsa nueve texto portocala verde nueve"; $search = explode(" ",$search); $old_kw = array($search['0'], $search['1'], $search['2'], $search['3']); $new_kw = array('<b>'.$search['0'].'</b>', '<b>'.$search['1'].'</b>', '<b>'.$search['2'].'</b>', '<b>'.$search['3'].'</b>'); $where = str_replace($old_kw, $new_kw, $where); echo $where; ?> [/CODE] because i just started to learn … Web Development php ![]() | |
Hi all , I have collected php shell scripts on various sites on web. However the only script which works is this : $ php helloWorld.php [CODE] <?php $var = "honey"; print "hello $var"; echo "world"; ?> [/CODE] Any other script which has different commands doesn't work on the system … Web Development php | |
Some simple php code; [code=php] $dir = '../images/'; $file = $_GET['name']; // Last, First M. "nickname" $f = $dir.$file; list($width, $height, $type, $attr) = getimagesize($f); echo $f."<br />"; echo "width ".$width."<br />"; echo "<img src='$f' $attr title='getimagesize example' />"; [/code] while the last echo line displays the image correctly (and … Web Development file-system php ![]() | |
How to show image from database and price of that image using param sql query? | |
Hi, Anyone please help out. By using select query i am getting this following output. [B] itemname idno name price A B01 sa1 10 B B01 sa1 40 C B01 sa1 50 D B01 sa1 100 [/B] But i don't want this(as above one) type of display in my browser. … | |
I want to create a dropdown menu in my main menu. It should look like this: [URL="http://www.freeimagehosting.net/uploads/73ebcb47c3.jpg"]LINK to the photo[/URL] But I don't know how to get it work, that it should count the links (categories) inside the menu. If its more than 6, than it should put the 7th, … Web Development html-css javascript php |
The End.