52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for gabrielcastillo

Im using this script to disable and enable input box. When I check the box, the input is enabled, but when I uncheck the box the input is still enabled. Not sure how to fix this. $(document).ready(function(){ $(".ncjhs_student").attr("disabled",true); $(".send_records").attr("disabled",true); $("#send_records").click(function(){ $(".send_records").removeAttr("disabled"); }); $("#ncjhs_student").click(function(){ $(".send_records").removeAttr("disabled"); }); });

Web Development
Member Avatar for gabrielcastillo
0
155
Member Avatar for Inny

I want to Show Videos inside an Image of theater curtains, image should float ABOVE the videos. Cant work out why it wont work, I have. [CODE]<style type="text/css"> #tablist{ padding: 3px 0; margin:0; font: bold 12px Verdana; } #tablist li{ list-style: none; margin: 0; width:130px; } #tablist li a{ padding: …

Web Development image javascript legal
Member Avatar for lotsakandy
0
353
Member Avatar for dany12

Hello I need to setup a virtual host for my zend aplication I managed to link all my zend framework with php and windows I am using wamp 2.2d and I am having a problem with the virtual host NameVirtualHost 127.0.0.1:80 <VirtualHost 127.0.0.1:80> ServerAdmin webmaster@localhost DocumentRoot "c:/wamp/www" ServerName localhost ServerAlias …

Web Development php
Member Avatar for dany12
0
120
Member Avatar for beanboy

hi, i managed to upload files from client to server hard disk using apache commons. how could iretrieve files to client from server again? plz gimme an idea of implementation thx beanboy.

Web Development apache client-server java-jsp
Member Avatar for imdeadsoul
0
1K
Member Avatar for Pravinrasal

I want to display image from database to my htnl form but it id not displayed. Image copied from database to local c:\file_upload folder but from this folder i want to display in img src in html form .project doesn't give any error but image not displayed on html form. …

Web Development image java-jsp
Member Avatar for imdeadsoul
0
284
Member Avatar for apanimesh061

What should be the regular expression for thid code ??? `<span style="text-align:justify;">Stepping out of the Shadows:M6 Once touched... Marisa Somerville has changed. Now a confi dent, groomed, successful businesswoman, in some ways she's nothing like the scared wife of an abusive husband that Rafe Peveril survived a plane crash with …

Web Development php regex
Member Avatar for apanimesh061
0
297
Member Avatar for gilgil2

Hi, I am trying to query a MySql database based on which search fields are filled in and ignoring those that aren't. I have only got as far as the first part and it isn't working, could anyone tell me why? It doesn't seem to be finding anything in the …

Web Development mysql php
Member Avatar for diafol
0
143
Member Avatar for meko22

Hi there, I would like to make an email form that would select all the emails from a MySQL db and then send that message to all addresses. I got this script but was unable to get it working. Any help would be great. [code] <?php //Connect to database mysql_connect("localhost","user","password") …

Web Development email mysql php
Member Avatar for shahidsidd
0
8K
Member Avatar for muralibobby2015

hello, i want to display social icons on images like facebook. is there any way to embedd? Thanks

Web Development php
Member Avatar for Coloradojaguar
0
93
Member Avatar for kukula

Hi there, during developing website for my father's company ( [website](http://www.pgum-sill.pl/nowa_strona/index.html) ) I find out that I have problem with personalization of different lists. In this case I wanted to make a floating menu like thise one here: [Floating Menu](https://d2o0t5hpnwv4c1.cloudfront.net/018_Floating_Menu/demo/dhtml_float_menu_final_nettut.html) (this page is from this [Tutorial](http://net.tutsplus.com/tutorials/html-css-techniques/creating-a-floating-html-menu-using-jquery-and-css/)) At the pages above …

Member Avatar for fobos
0
346
Member Avatar for joshmac

I am not sure if this makes sense, but in an application I've working on, there are two users. One is an admin with an admin role/capabilities and the other is a member with a member role/capabilities. Now, when I log in as the admin, there is no issue. When …

Web Development php session
Member Avatar for fobos
0
121
Member Avatar for meghasinghal29

hi, actualy i want to bring values from servlet to the dropdown of jsp. in my servlet i fetch the values from the database into the variable and now i want to list thosevalues in the dropdown of jsp page. please provide me the syntax for that.

Web Development java-jsp
Member Avatar for Philippe.Lahaie
0
119
Member Avatar for rhyll07

Hello, need help from experts in jsp/servlet.. i have a program in jsp that needs to upload a file and save this in desired folder and send the filename to database.. and its working properly.. my problem is.. i dont know how to save the additional input text in database.. …

Web Development apache file-system java-jsp
Member Avatar for Philippe.Lahaie
0
288
Member Avatar for programmer12

I am trying to build a script (PHP email attachment) that works for all mailing Systems (Gmail, Yahoo, Outlook etc) The codes below work perfectly for Hotmail, but Gmail and others dont come through. What should i do to the codes below to fix this issue. Thanks!

Web Development email php
Member Avatar for programmer12
0
305
Member Avatar for Wolxhound90

Hey guys, I've got a problem with a form that I've made. Basically the form loads a number of textboxes based on how many columns are in a table. I don't have any problems doingthat, but on the next page I'm trying to put the textbox values into a string …

Web Development first-post php
Member Avatar for Wolxhound90
0
95
Member Avatar for dschuett

I am working on a live feed that pulls records from a database. Firebug shows the JSON being returned as the following: {"newPosts":"<li><span id='message_33'>This is a Test.\nLet me know if it works.<\/span><p class='time' id='time_33'>Apr 14th, 2012 10:13:57 AM<\/p><\/li>","newID":"33"} I have checked the JSON's validity at JSONLint.com, and it IS in …

Member Avatar for pritaeas
0
191
Member Avatar for dips255

i have placed a text box with onclick and onblur event. onclick shows contents(links) of a div tag below it and onblur hides the div basically it was a jquery based drop down menu but due to some problem I need to avoid jquery. Now the problem happens when a …

Web Development javascript
Member Avatar for dips255
0
143
Member Avatar for shar88

Hi there, I'm bit rusty in PHP, I'm curently doing an PHP assignment where a user can select and save listed images/data/values into their own collection I have inputted all the data and printed out in a repeat region with recordset paging. I'm confused how am i suppose to save …

Web Development php
Member Avatar for simplypixie
0
451
Member Avatar for Reidmere

Hi, I'm trying to figure out how to create a random integer, that I can ALSO control by using links, which I'm setting as buttons. In short, I've been programming an MP3 Player. Currently, I have "$playing" set as a random integer, but I want links to increase by 1, …

Web Development php
Member Avatar for Reidmere
0
215
Member Avatar for Jfunch

What I have right now is the category name is put up in the url like so subcategory.php?id=Drivers that way i can use that get variable to query the database and list all the entried from that database on the page. What I need to do though is limit how …

Web Development php
Member Avatar for LethargicCoder
0
202
Member Avatar for breakzzzz20

i have a form and checkloginstudents.php,,but my problem,i can't display the details of a user after login,, this is my form: <form id="form1" name="form1" method="post" action="check_login_students.php"> <label>Name <input name="username" type="text" id="textfield" /> </label> <label>Password <input type="password" name="password" id="textfield2" style="margin-top:5px;" /> </label> <label> <input type="submit" name="button" id="button" value="Submit" /> </label> </form> …

Web Development display mysql php session
Member Avatar for diafol
0
7K
Member Avatar for joshmac

I need beta testers for my new project management system. It is not your typical pm, but it is a simple and lightweight system with social skills. It you are willing to download and test it out thoroughly, please visit: http://projectpress.org/messages Any help with any aspect of testing is greatly …

Web Development php
Member Avatar for joshmac
0
113
Member Avatar for Amaina

Hi I am working on a project in CSS and xhtml but when i tested the layout on different browsers i identified a problem in positioning of elements. To be precise, the navigation bar renders well in firefox 11 for ubuntu canonical 1.0 but seems not to work in IE, …

Web Development html-css ubuntu
0
125
Member Avatar for Dani

CodeIgniter's highlight_phrase() function, in the Text Helper library, looks like this: /** * Phrase Highlighter * * Highlights a phrase within a text string * * @access public * @param string the text string * @param string the phrase you'd like to highlight * @param string the openging tag to …

Web Development php
Member Avatar for Dani
0
379
Member Avatar for rotten69

Hey everyone, Recently, I have developed a website for my project and was using a 10-inch laptop during the development time. It looked fantastic on a 10-inch screen. However, I faced a problem with the width (CSS properties needed to be changed) of navigation bar on the top when I …

Web Development html-css javascript
Member Avatar for ctaylo21
0
105
Member Avatar for mrabrar09

<html> <body> <%@page import="java.sql.*"%> <form method="post" action="csea.jsp"> <table border="1"> <tr><th>Reg No</th><th>Name</th><th>Present/Absent</th></tr> <% String pa = request.getParameter("pa"); try { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connection con = DriverManager.getConnection("jdbc:odbc:Student"); Statement st = con.createStatement(); ResultSet rs = st.executeQuery("select * from student_details"); while (rs.next()) { %> <tr><th><%=rs.getString("reg_no")%></th><th><%=rs.getString("s_name")%></th> <th><input type="text" name="pa"/></th> </tr> <% } st.executeUpdate("update csea set pa='"+pa+"'"); con.close(); …

Member Avatar for Philippe.Lahaie
0
166
Member Avatar for sowh4t

So my code is simple html, I need it to select value when submit and if value= that number, submits something like: "Your number is 1"(without refreshing the page). Thanks a million! <form action=""> <select name="list"> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> </select> <input type="button" value="Submit!" …

Web Development javascript
Member Avatar for rajesh1158
0
2K
Member Avatar for rajesh1158

I'm getting user's profile picture along with their name from database and populating them in a div inside an anchor tag. The <a> tag is used so that we can click on any result and it takes to that user's profile page. I tried many codes to traverse the search …

Web Development javascript
Member Avatar for rajesh1158
0
127
Member Avatar for oksam

In our webiste, After user signup, we send an email with acitivation link to their email address. We are using PHP mail() to send a simple email. Until this point, we have checked with yahoomail, gmail, hotmail.. it works fine. But yesterday, we were checking with the microsoft outlook. No …

Web Development email php
Member Avatar for fobos
0
630
Member Avatar for fcvolunteer

I had my wordpress site up and running just fine but when I visited it recently I got the following error: > *Your PHP installation appears to be missing the MySQL extension which is required by WordPress.* I contacted the person who set up my database and was told > …

Web Development mysql php wordpress
Member Avatar for fcvolunteer
0
279
Member Avatar for veledrom

Hi, I'm receiving an error message but cannot solve the problem. Please give us a hand. Line 49 is -> `$record_set = $this->db_conn->query($sql);` Thanks in advance `Fatal error: Call to a member function query() on a non-object in C:\wamp\www\oop_singleton_pattern\class.db.php on line 49` <?php class DatabaseClass { CONST HOST = 'localhost'; …

Web Development php
Member Avatar for veledrom
0
112
Member Avatar for smartadolf

am total newbie to programming, apart from knowing SQL, the thing is i have been given a MYSQL database containing various information about kids diseases and a web interface written in php to create reports from the database that can be accessed via the interface. there are almost 25 different …

Web Development mysql php sql
Member Avatar for smartadolf
0
172
Member Avatar for tubesnube

Hi, wondering can I get some help here please as this is incredibly frustrating. I have a database that contains files and I want to be able to search those files by putting in a ID number. In my databse my doc_id is the primary key, and I want the …

Web Development mysql php seo
Member Avatar for tubesnube
0
302
Member Avatar for jateshs1007

I am beginner, so please help me with these problem i am suffering I). I have a coding in ASP.net i want to display list of information from my database (MS Sql 2008 R2) to a table. My database contain: Name Email Address Phone I want this to be displayed …

Web Development asp.net database-design
Member Avatar for Skeldave
0
136
Member Avatar for Pravinrasal

I used high chart in java-script .In high chart my graph is displayed very well but when I click on "show graph" button it doesn't show directly graph first I want to click on inspect element in firebug then after that graph will be displayed . What is the problem …

Web Development javascript
Member Avatar for pritaeas
0
88
Member Avatar for pygmalion

hi i have the following complication. i have created a form which contains a drop-down list and a submit-button, which streams the file selected in the list. recently, i have been asked to add a download option, and the logical step would be to add a 'download'-submit button as well, …

Web Development file-stream php
Member Avatar for gopi17
0
860
Member Avatar for DaveyMoyes

Hi Everyone, I am looking to protect a webpage in my website. What I would like to do is check if the webpage has been accessed from a pre determined url. For example: Mywebsite.com/webpage.php should only be accessed from predetermined.com/url?id=var I have been doing some digging around and found the …

Web Development php
Member Avatar for diafol
0
232
Member Avatar for stevo356

Hi All, I'm having a problem with a query - which is based on conditional user inputs. In all circumstances, the outputted query ALWAYS works in phpmyadmin returning rows where applicable, but not always in php. No errors are displayed, with error reporting set at E_ALL, and mysql_error hasn't been …

Web Development mysql php
Member Avatar for pritaeas
0
254
Member Avatar for cacofonix

Hi All, In my server ther are so many session files are under /tmp files. I want to delete all the session files which is no more active in automated way. I came to know that i need to change some garbage collection configuraions in php.ini file . These are …

Web Development php session
Member Avatar for cacofonix
0
132
Member Avatar for Wolxhound90

Hey guys, So, I have a connections php file which contains info such as the host, username, password and database to be accessed. I'm wondering if there is anyway to make the database value to be changed later on in the website. When first logging into the website they choose …

Web Development mysql php
Member Avatar for Wolxhound90
0
143
Member Avatar for jateshs1007

I have a making a grid view from code behind but the error occurs My code is: string str = ConfigurationManager.ConnectionStrings["SQLConn"].ConnectionString; protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { GetData(); } } public void GetData() { SqlDataSource ds = new SqlDataSource(); ds.ConnectionString = str; ds.SelectCommand = "SELECT * …

Web Development asp.net
Member Avatar for jateshs1007
0
743
Member Avatar for knowill

How function can I use for search substr in str?

Web Development php seo
Member Avatar for knowill
0
105
Member Avatar for epson121

Hello everyone. I'm having a problem with my cookie. What I'm trying to do is this: When user logs in and checks the "remember me" checkpoint, i want to save his username to $_COOKIE['user']. [] For that I am checking whether the $rem variable is set. If this is not …

Web Development php
Member Avatar for epson121
0
5K
Member Avatar for Red Dragon

Hi, i'm just trying to make a simple 'contact us' form which emails me with the contents of each form field, here's what i have: HTML -------- <form action="contact.php" method="post" name="contact"> *Full Name<br /> <input name="name" type="text" /><br /><br /> *Email:<br /> <input name="email" type="email" /><br /><br /> *Message:<br /> …

Web Development email html-css php
Member Avatar for Red Dragon
0
390
Member Avatar for anand01

Hi all, when I use equals method is not working when i tried to check password from database and from textfeild both the values are same but eqals method shows error my code is if(strPasswordNew.equals(passwordManager.getPassword())) My complete code for rreference String strPasswordOld=request.getParameter("oldpassword"); String strPasswordNew=(request.getParameter("newpassword")).trim(); String strPasswordNew1=(request.getParameter("newpassword1")).trim(); if(strPasswordNew.length()!=0 && strPasswordNew.equals(strPasswordNew1)){ dataManager.getConnection(); …

Web Development cms java-jsp session
Member Avatar for maria99051
0
152
Member Avatar for muralibobby2015

Hello, I am getting response as xml from curl request. so i am sending these into an array. but after execution of code i am getting this warning 1)Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 1: parser error : Start tag expected, '<' not found in C:\wamp\www\newlivebackup\admin\subscribers.php on line 65 2)Warning: simplexml_load_string() …

Web Development php xml
Member Avatar for veedeoo
0
1K
Member Avatar for nchy13

everything is workin except window.location .can any one suggest reason for it. thank you in anticipation <?php session_start(); $_SESSION["visiting"]=$_GET['userid']; echo $_SESSION["visiting"]." ".$_GET['userid']; ?> <script type="text/javscript"> window.location="http://localhost/fi.php"; </script>

Web Development javascript php
Member Avatar for rajesh1158
0
136
Member Avatar for phplover

Hi, When a user registers on my site there status is 0 (not active) ... meaning they not activated there account via email. When they register i also store the DATETIME they registered, i store it in MySQL using MySQL DATETIME and using `NOW()` in my INSERT query on registration. …

Web Development cpanel mysql oop php
Member Avatar for phplover
0
3K
Member Avatar for bavenbabu

I had a file named start.php in my D:\Wamp folder.I need to upload the file and enter the full path ie D:\Wamp\start.php into my database.I did the code.But I am not getting the full file path in my database the Code is as follows: <tr> <td width="71">Select a file <span …

Web Development file-system php
Member Avatar for bavenbabu
0
241
Member Avatar for saadi06

Hi, I am having a problem in making a query. I have a table in which dates are saved in varchar format and I want to compare these dates in my search query. I want to take two input dates from the user i.e. starting date and ending date and …

Web Development php
Member Avatar for diafol
0
1K

The End.