52,566 Archived Topics
Remove Filter ![]() | |
hi there, i am coming up with a login page and i am having problem with the codes while i run the program. The error says, Invalid attempt to read when no data is present.' This errors occurs when i type [B]'gobi' [/B]as the delivery boy. The error says '[B]FirstName'[/B]. … | |
Hello Guys, I am not really sure how to ask this, but i will try my best, as much help will be apericiated. I have a saved.php page which echos all saved data that i have filled inluding customer email. I then want a email.php to have echoing all emails … | |
This does not need to be done using PHP but I cannot think of anything else that would make this possible unless manual labor as such(disecting the image and reconstructing it piece by piece)? How would this be done using PHP or any other technology? THanks, Regards X | |
Hi all, I want to send mail attatchment from SQL server. I have a Image field and i have stored word documemts in it. I am designing a form where an Email has to been sent with(attatchment) the word documents in the image field. So, i am looking for code … | |
hi all , I am new to this forum I have a simple question why getParameter() doesn't work with me . My java server page is as follow: [code=Java] import java.io.*; import javax.servlet.*; import javax.servlet.http.*; public class InputServlet extends HttpServlet { public void doGet(HttpServletRequest request,HttpServletResponse response)throws IOException, ServletException { String … Web Development java-jsp | |
Hello is it possible to create a bar chart or some sort of chart based on two coloums from mysql table i want the graph to be displayed on php when the search is carried out im not sure if this has been done before but if so what do … | |
I am doing a campus project in php regarding musical site and i have to insert ziped files of songs in the database. so, i don't know how to deal with the zip files. Therefore, help me. | |
[code]<asp:Image ID="Image2" runat="server" ImageUrl='~\\Images\\thumbnail\\<%# Eval("brand")%>\\<%# Eval("thumbnail")%>' />[/code] I tried several times with different types and didn't succeed.I want to bind two data from sqlserver database and put them in Image URL continuously. Which the brand is something like "Dell" and thumbnail is "123.jpg" What is the correct form ? Please … Web Development asp.net | |
Below is the scenario.. First Page Second Page Radio button 1 Radio button 2 Submit. I select the first Radio Button and submit and then i go to second page where i have some content. Now when i go back to first page the same radio button which i had … | |
Good Day ALL I have a UserControl that has a Dropdownlist. In the Hosting Page i have a Ultrawebgrid that gets updated based on the Selecteindexchange event the the dropdown. I have have another Control on the Left hand side that needs to be Updated on Selecteindexchange of the Drop … Web Development asp.net | |
hello, can anyone tell me how to randomly pick entries from a database using ASP.NET as front end and SQL SERVER as backend ? i have written select * from table order by rand(); but instead of picking entries randomly, it simply displays the entries in the same order as … Web Development asp.net | |
I have three drop downs -bounded with object datasources, by default each drop down shows all countries (as i changed in prerender -st=null), cites and distt. i need -When user select country only related cities should show under city dropdown. and when user select city-only distt related to city show … Web Development asp.net | |
Q) We have 4 text boxes to take input but we hav only one column in our database. How to insert the text of 4 different text boxes in to a single column of database(occupying 4 rows) one after the other. [ 4 ur understanding I m explaining the scenario: … Web Development asp.net | |
I am building a website for users that exist around the world and need to show the user's "local machine" time and timezone, not the time of the website host server. Is there a javascript function or process to determine this? Web Development javascript | |
I am building a project management website which enables users from around the world to login and automatically register their time against various work projects. I need to save their login time to the database using their "local machine" time (the time as it exists for them, not the time … Web Development php | |
I am pretty new with javascript, and I am making a page that has divs that change an image when rolled over. It works in Live View in Dreamweaver, and in Safari (couldn't test in IE because I'm on a Mac), but not in Firefox. Here's what I got in … Web Development javascript | |
Could anybody please explain to me why my TextChanged event doesn't fire? [code]protected new void Page_Load(object sender, EventArgs e) { base.Page_Load(sender, e); if (!IsPostBack) { Value.TextChanged += new EventHandler(OnValueChanged); } } protected void OnValueChanged(object sender, EventArgs e) { ViewState["IsModified"] = true; }[/code] The Value textbox is on the second page … Web Development asp.net | |
Hello, I tried to use regex to search through blablablabla[B][url]http://www.myspace.com/username[/url][/B] by using preg_match('~http://www\.myspace\.com/.+"~',$string,$match); The tilde or lack of was tripping me up... am I even close? I was just trying to extract the username at the end, before it was marked off by a double quote ("). I tried adapting … | |
![]() | Hi. I am serving the contents of the page based on the navigation anchor links. e.g. [url]http://somesite.com/index.html#home[/url] will serve the home page contents. [url]http://somesite.com/index.html#about[/url] will serve the about page contents. The contents are stored in contents.php page and are written in the below tag inside index.html [code=html] <div id=contents> <!-- … Web Development javascript php |
I have the following query: [code] <?php $query="SELECT * FROM table LIMIT 4"; $result=mysql_query($query); echo "<tr>"; for($i=1;$i<mysql_num_fields($result);$i++) { echo "<th style='height: 10px; padding: 0px;'>"; echo mysql_field_name($result, $i); echo "</th>"; } while($row=mysql_fetch_row($result)) { echo "<tr>"; for($j=1;$j<$i;$j++) { echo "<td style='height: 10px; padding: 0px;'>"; echo $row[$j]; echo "</td>"; } echo "</tr>"; } … Web Development php | |
hello guys. dont know if this is the right forum. I am trying to [B]install Joomla[/B] and at step 2 it says [B]MySql No support[/B] [B]i have mysql installed[/B] and also have dbs created. Using php, i can access connect to the db and run queries. What am i missing? … Web Development php | |
plz tell java script checks for not insert blank value in database when using fckeditor????? when i not insert any record,the script runs like enter ans but value also inserted in data base..i want not insert blank value and check also runs .... my code is that: [code=php] <script type="text/javascript"> … | |
hi every body i am trying to display the popup on datalist control when mouseover on image in datalist i want to display the popup [code=aspnet] <td style="width:100%;" valign="top"> <asp:Panel ID="PanelRight" Height="500px" BackColor="White" CssClass="" runat="server" Width="100%"> <div style="padding: 10px;" class="listlight"> <h2 class="topl_lrg"> <asp:Label ID="lblMembers" runat="server" Text="Members"></asp:Label> <asp:Label ID="lblMembersCount" runat="server"></asp:Label> </h2> … Web Development asp.net | |
Hi everybody, I am going to develop a web application by using jsp, in this application when I retrieve multiple rows from table into form as following : [code=jsp]<%Vector v1,v2; jmm.Database database = new jmm.Database(pageContext.getServletContext().getRealPath("/WEB-INF/config.txt")); database.jdbcConnect(); String sql; sql = "select question_text from tableA where type = 'Student'' "; v1=database.jdbcMultipleRowQuery(sql); … Web Development java-jsp | |
[code=php]<?php $con = mysql_connect("localhost:3306","pm" ,""); if (!$con) { die('Could not connect: ' . mysql_error()); } // some code ?>[/code] on writing the above code it is showing the following error: Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'pm'@'localhost' (using password: NO) in C:\wamp\www\p2.php on line 83 Could not connect: Access … | |
Hi all, I am using below code for check space but it generate errors. my Code:: [code]string str = TextBox1.Text; int l = str.Length; int i; for (i = 0; i < l; i++) { if (str[i] == " ") { Response.Write("Invalid"); } else { Response.Write("valid"); } }[/code] Error:: Operator … Web Development asp.net | |
Hi everyone; I have table contains question and answer columns , the answer either yes or no , I want to count the answer yes and answer no then compare the two results and if the count(answer) yes is greater than count (answer) no print yes else print no I … | |
Hi guys, I am in need of a simple friends list code. I don't know how to start it, but I have gotten an idea, maybe anyone of you can help? I have setup a database with login and password, I want to also add a Friends column. I will … Web Development php | |
hi, i need some help on inserting checkbox values into the mysql database. what sort of data type should i use for mysql to store these? for example i need to insert a few hobbies as checkbox 1.basketball 2.football 3.hockey i need to be able to perform a search and … | |
Hello, I am currently designing a site that displays photography, and am exploring the different ways in which to do this. I am trying to develop, using PHP and MYSQL, a way of having image links held in a database and then the first image in sequence to be rendered … ![]() | |
hey all i got a question where i am not sure that it will be possible. i already have my table in my data base which has values in it ex: first_property. and i made a little script which helps me grab all the names in the form that i … | |
I'm getting this error: Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' and can't figure out what's wrong. Any help? [code=php]echo '<p><label for="comment"><strong>Questions / Comments :</strong></label> (<span class="cursor" onclick="document.getElementById('comment').rows += 5;" title="Increase The Textarea">increase</span> >> <span class="cursor" onclick="document.getElementById('comment').rows -= 5;" title="Decrease The Textarea">decrease</span>)<br />'."n";[/code] Web Development php ![]() | |
Im getting this error message "Parse error: syntax error, unexpected $end" Can anyone point out this error. Thank you. [code=php]<?php function CopyrightCheck($crCheck) { $crCheck = stripslashes($crCheck); $Copyright_Notice = "Copyright © 2000-2009 YourWebsite.com (Your Script). All Rights Reserved"; if ($crCheck !== $Copyright_Notice) { return COPYRIGHT_NOT_VALID; } else { return COPYRIGHT_IS_VALID; } … Web Development php ![]() | |
hi guys i just want to perform custom paging in which at the footer of the grid view ,there must be a pager 'pervious/next with numeric' this is what i did [B]in aspx page[/B] [code=asp.net]<asp:GridView ID="TableGridView" OnPageIndexChanging="TableGridView_PageIndexChanging" runat="server" AutoGenerateColumns="False" AllowPaging="True" AllowSorting="True" > </asp:GridView> <asp:Button ID="btnConnect" runat="server" Style="z-index: 113; left: 260px; … Web Development asp.net session web-server | |
I am new for PHP language I dont know how to run PHP files on out machine so please anyone tell me how to do it thanks Web Development php ![]() | |
I have implemented a log-in routine that I thought captured SESSION variable to use through out all my PHP pages of my site. Here is the snippet of code which sets the session variables: [CODE] if($result) { if(mysql_num_rows($result) == 1) { //Login Successful session_regenerate_id(); $member = mysql_fetch_assoc($result); $_SESSION['SESS_MEMBER_ID'] = $member['id']; … ![]() | |
hi guys , i got a solution at [url]http://amitkumarmca04.blogspot.com/2009/03/custom-paging-in-grid-view-control.html[/url] but i dnt knw which code has to be written in aspx ,which has to be written in code behind and which has to be written in class file and how the how has to be written can any one help … Web Development asp.net | |
Hello Frndz i m in complete mess... i have to a table with Add/Remove rows features... it should look like this - [code]textbox1 | textbox2 | Add Button[/code] after clicking the add button Row will append and Disable the textbox with values...!!! It looks like this after clickin Add Button.. … Web Development javascript | |
hi guys, i have a php page with java script embed in it , i have 3 forms in a [B]single page [/B]... namely form1, form2, form3 . form 1 and form2 have a text box , these text boxes get input from users. Now my task is to get … Web Development javascript | |
Hi all, Been at this for a while now and finally gave in to seek help. Basically, I'm trying to setup a regular expression for a decimal. Where there's 1 to 7 integers in front of the decimal point, and 1 to 2 after the decimal point. This is what … | |
I have problem with the responseText property in Safari, Google Chrome and IE. Line 68 - the responseText is empty. This works fine in Firefox and Opera. Also i have this problem with the responseText only in the block that starts at line 61. I don't have problem with the … Web Development javascript | |
hi, there, I am coming up with a registration form. I want to know how to come up with a readonly form. Firstly, the user has to register themselves on this form, then once the user has pressed the submit button, the user will be sent to the next page, … | |
Howdy, I am quite unskilled on UI but have been tasked with looking at behavioral problems on our site. It has been observed that the app acts differently when a user clicks on a submit button with a mouse versus tabbing to it and the pressing Enter on the keyboard. … Web Development java-jsp | |
Does anyone know a way to guarantee that a copyright has not been removed from a script. An example would be this. I put a copyright notice on page one, when the page is loaded it checks with page 2 to see if the copyright is there or not. If … Web Development php | |
Hi, I have a DropDownList (filled in the rowCreated method) in a TemplateColumn in a GridViewRow. A user can add a row to select another value in the new dropdownlist created. I need to trigger a validator (I need this because this is only a small part of a site … Web Development asp.net | |
Hi all, I am making a web page in which i want to use to dates one for "FROM" field and other for "TO". But i want to for this calendar should not show backdate means it will show all dates after today but it will not show yesterday date … Web Development javascript | |
I am having a problem with a select that is showing thru an opaque div. See attached image(sorry, but this is an internal client app and I cannot show more). The blue horizontal line on top is the edge of DIV that I am displaying containing the text you see. … Web Development display javascript | |
I am trying to plot my way through coding a BCC Bulk HTML email. I can't get the code below to work and I want to also call another query to grab the emails for a BCC email. SPAM security would be helpful if it is easy enough to add … | |
Hello, Wonder if there is a way to have my Drop-Down box selections create individule single row/dual colume tables for each item that was selected from the drop-down box. An example would be: 1: I selected 3 items from my drop-down box at one time (my drop-down box allows multiple … Web Development javascript | |
i have to access an array within an array using php, and i have very little experience working with php. can anyone point me towards a good tutorial or show me an example of how to go about it? eg: [0] contians [a],[b],[c] many thanks Web Development php |
The End.