52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sibbs06

Is it possible to disable my submit button when my javascript timer has finished and has showed its end message. This is my form <form id="MakeBid" action="MakeBid.php" method="POST"> <input type="hidden" name="propertyID" value ="1"/> <div>Bid Now <input type="text" name="pricesoldfor"/></div> <input type="submit" value="Submit" /> </form> The java script message will be Auction …

Web Development javascript
Member Avatar for sibbs06
0
218
Member Avatar for lazo87

Hello peeps! I've got an issue which I am trying to sort out. I am trying to build a website where ppl can search for car's sell and buy. I got stack where I had to make the search option on the website, so I started looking on google where …

Web Development mysql php seo
Member Avatar for lazo87
0
220
Member Avatar for Tackey

I keep on getting this warning message Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\xampp\test\checkPosts.php on line 12 <html> <p><a href = "postArt.php"> Post Article </a></p> <p><a href = "editArticle.php"> Edit Article </a></p> <p><a href = "viewAllPosts.php"> View All Article </a></p> <p><a href = "Logout.php"> Logout …

Web Development mysql php
Member Avatar for Nimrod7676
0
159
Member Avatar for Dani

This has been frustrating me for about 20 minutes already and I don't want to spend much more time on it, so any help would be much appreciated. The editor that we use which syntax highlights Markdown text has has bug in which it highlights text as code when it …

Web Development javascript regex
Member Avatar for Dani
0
770
Member Avatar for ZER09

hello everyone Can someone explain to me about this two syntax of php the => and ->, i dont have any idea what this is. I already googled it but didnt find anythig. Actually I tried to look the source code of joomla and found this two syntax. I will …

Web Development php
Member Avatar for ZER09
0
102
Member Avatar for ethar

hi, Am a new in php,i have php page with mcq questions, when the user starts with the Q.No 1 the timer should start ,and I want to turn off the page after the completion of the timer. Can any one please help me out to do this . Thank …

Web Development php
Member Avatar for ethar
0
198
Member Avatar for joshmac

Since md5 will be deprecated at some point (if it isn't already), and will soon pass away, I thought I should think about of another way of securing passwords. I've been thinking about phpass for a while and decided to jump in feet first. I am pretty sure that I …

Web Development php session
Member Avatar for joshmac
0
195
Member Avatar for nchy13

i am ensuring on both pages i have first of all called session_start(); on one page i declared $_SESSION["username"]=$username; the link of another page is on this page. and another page i tried to print it by echo $_SESSION["username"]; but it showed nothing. i am using php 5.4 with apache …

Web Development apache php
Member Avatar for nchy13
0
197
Member Avatar for eltonpiko

Hi i need a little advice i need to build a website where user login and get some sort of form where they can order their meal form a list for every day in a month. how can i achive this? the admin must be able to view ecah user …

Web Development php
Member Avatar for eltonpiko
0
145
Member Avatar for ashiiiish

<?php $noticeid=$_POST['nid']; $uname=$_SESSION['user']; include('db_connect.php'); $sql="SELECT * FROM notice WHERE nid='$noticeid'"; $data=mysql_query($sql); $d = mysql_fetch_assoc($data); $notice=$d['notice']; echo $notice; ?> When I am retrieving data its saying : Notice: Undefined index: nid in C:\xampp\htdocs\sm\viewnotice.php on line 53 Wheres i am passing the varibale from previous page and its reflecting in browser too. …

Web Development php
Member Avatar for rajesh1158
0
125
Member Avatar for adityamadhira

Hi I want to clear back button history in browser after log out in php Thanks in advance

Web Development php
Member Avatar for rajesh1158
0
112
Member Avatar for Traps

I'm trying to create a jUnit test for my EJB's and if my app just contains a few beans everything's all good but as soon as I incorporate JPA and entity-classes my jUnit test blows up. My test fails at ejbContainer = javax.ejb.embeddable.EJBContainer.createEJBContainer(); and the stack trace says the following: …

Web Development api java java-jsp java-netbeans
Member Avatar for Traps
0
488
Member Avatar for katheeja

helo i want to count values from database in c# please help me?

Web Development asp.net
Member Avatar for jijo cleetus
0
82
Member Avatar for nickg21

Hey everyone, Basically everything im trying to do is summed up in the subject line. I have a "DatePicker" control on my site, that when a date is selected, is displayed in the textbox as "April 12, 2012" or whatever the subsequent date may be. However, when I save this …

Web Development asp.net
Member Avatar for jijo cleetus
0
120
Member Avatar for robertcraiguk

Hi, I have been trying for the last few days to figure out how to send a particular user to their own specific URL. For example, all users will use the same login.php page but when User A logs in they will be redirected to A.php and if User B …

Web Development php
Member Avatar for Biiim
0
218
Member Avatar for mmonclair

I'm stumped on a query filter I'm trying to put together. Here's what I need it to do: 1. Run a query that populates a table with order information to be gathered for regular invoices. 2. A user can filter date ranges, location, client and payment status. The options in …

Web Development coldfusion postgresql
Member Avatar for mmonclair
0
264
Member Avatar for Venom Rush

Hi all Is it possible to continue running a script after encountering a maximum_execution_time error? If so, how would I go about doing this? EDIT: My script is processing an xml feed that contains approximately 9000 images. I'm resizing the images and saving them to the server and the max_execution_time …

Web Development php
Member Avatar for pritaeas
0
191
Member Avatar for phplover

Hello, Can someoneone tell me when you `prepare()` a statement (in my case an update statement) and then `execute()` it, i then check using `rowCount()` after the update query (see code below) if `rowCount() > 0` if it is then a match was found and update took place, but i …

Web Development mysql php
Member Avatar for phplover
0
204
Member Avatar for Thevenin

Hi all, first of all I want to tell you that I am studying Ajax and the following code could have errors or something else. I am trying to recreate the following HTML form with Ajax: <div class="table_test"> <form name="f1" target="uploader" action="upload.php" method="POST" enctype="multipart/form-data" > <ul> <li class="title">Image Name</li> <li …

Web Development html-css javascript
Member Avatar for Thevenin
0
220
Member Avatar for jelly46

Hello This is brilliant and good to work with, there is one issue i have if someone can help please. I have used example 4 baucase it visually does exactly what i need, however there is one little problem i cant solve. I copied the div and now have 2 …

Member Avatar for jelly46
0
228
Member Avatar for archie.herbias

is it possible not to include the account password for the user that will send the email. i tried not to put password but it does not work. the email that can send only is the one that is set. please help. this is the code: <%@ page import="java.io.*,java.util.*,javax.mail.*"%> <%@ …

0
100
Member Avatar for Bugaya

I am trying to use JQuery Full Calendar along with Spring MVC. I have made a demo like [that][1]. Target: I need to send the UPDATED calendar's data,after I enter my events, to the controller to handle it. Issue: I've succeded to re-send the calendar I've inistialzed to the controller. …

Member Avatar for Bugaya
0
466
Member Avatar for ashiiiish

<?php $tname=$_POST['tname']; $uname=$_SESSION['user']; include('db_connect.php'); $sql="SELECT marks FROM marks WHERE uname='$uname' && tname='$tname'"; $data=mysql_query($sql); $marks=$data['marks']; echo $marks; echo $uname; echo $tname; ?> When I am trying to retrieve data marks is not retrived its displaying as "Marks" Please help

Web Development php
Member Avatar for niranga
0
80
Member Avatar for eshwari_ramaiah

Hai.. When i try to set up SOAP environment and access RPCRouter Servlet from browser im getting the following exception.Please do help me out to solve this: ------------------------------------------------------------------------------------------------------------------------------------ type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Error …

Web Development apache xml
0
120
Member Avatar for Panathinaikos22

Hello, i want to make this site http://dotest.webege.com/main.php To show datas per pages, how all this work? How i just show 10 recrods per page, how i create dynamic pages? Any link for this, how all that work?

Web Development php
Member Avatar for cjohnweb
0
2K
Member Avatar for Albert Pinto

Hi People. I'm a newbie to javascript. I have a small issue. I have a table where I have 5 columns.. I mean 5 <td> In each <td> there are 7 links. When I click a link, a container is popped up... Its hidden at first, Now inside the container …

Web Development html-css javascript
Member Avatar for Albert Pinto
0
289
Member Avatar for Heinz Stapff

Hey Guy's, back again. Listed this one on WebDeveloper.com but couldn't quite get it solved. I couldn't upload an mp4 video file to clarify the massive HTML file to show what was going on so I'm checking to see if DaniWeb uploads the file before I post the script and …

Web Development html-css javascript
Member Avatar for Troy III
0
153
Member Avatar for mbarandao

I have a js confirmation function: function r_u_sure(message, url){ if(confirm(message)) location.href = url; } if I were calling this function with a regular href, I would use the following: <a HREF="javascript:r_u_sure('Are Sure You want to Delete or Modify Car Information?!','www.somewhere.com)"><a/> however my html link which begins the deletion process of …

Web Development javascript
Member Avatar for mbarandao
0
385
Member Avatar for nchy13

i am trying to print " in echo statement. i can't get any method other than <?php echo " " "; ?> which is definitely wrong. help me to find a way out of it. any help is appreciated.

Web Development php
Member Avatar for nchy13
0
164
Member Avatar for koricha

the web app is a simple calculator that adds and subtracts. my problem is that the add and the subtract buttons don't work i get an error message: "An error occurred at line: 19 in the jsp file: /adder.jsp Invalid character constant" <% String name = (String) session.getAttribute("name"); if (name==null) …

Web Development java java-jsp session
Member Avatar for koricha
0
434
Member Avatar for MMG35

Hi friends, I have a site, where I want to limit the number of pages being viewed. example: 1 | 2 | 3 | 4 | 5 | 5 | 7 | 8 | 9 | 10 | 11 want to reduce this to: 1 | 2 | 3 | …

Web Development php ui-ux
Member Avatar for MMG35
0
252
Member Avatar for epson121

Hello, i have a problem with displaying a picture. Picture is stored in database as mediumblob. Storing pictures in database is going ok, since i can see them in phpmyadmin. Problem is, i can't see them in browser. THe code im using for this is here: login.php --lots of code …

Web Development image php
Member Avatar for epson121
0
278
Member Avatar for maurya10

Which folder will be the root for the server

Web Development php
Member Avatar for maurya10
0
166
Member Avatar for Tristan2036

I am having the following issues setting up php probid on my virtual dedicated server. I have virtual dedictaed server at godaddy.com. It has paralles plesk 10.4.4 and Cent OS 5. Iam having the following isses 1. I cannot get the database to work correctly. I am getting access denied …

Web Development php
Member Avatar for Tristan2036
0
1K
Member Avatar for Tristan2036

I bought a copy of php probid. Everything on it looks ok. I have looked at other sites using it and obviously they got it to work, I have installed it on my local host for testing. I am using xampp 1.7.1 becuase the script require gd library and zend …

Web Development php
Member Avatar for Tristan2036
0
253
Member Avatar for ashiiiish

Hi I am have to enter marks of 50 students through a single page <table border="1"> <tr><td height="50">UserID </td><td>Name</td><td>Marks </td></tr> <?php include('db_connect.php'); $bname=$_POST['bname']; $res = mysql_query("SELECT * FROM user WHERE batch='$bname'"); while($data = mysql_fetch_array($res)) { $uname=$data['uname']; $uid=$data['uid']; echo "<tr><td>$uid </td><td>$uname</td> <td> <input type='text' size=3 name='$uname'></td></tr>"; } echo "<tr><td colspan='2'><input type='hidden' …

Web Development php
Member Avatar for diafol
0
118
Member Avatar for Kieron Thomas

Hi All, Very new to web design and PHP, but I seem to be learning along the way. I am building a HGV Drivers website for a friend of mine for his business. On the homepage I have managed to echo text for my 'Latest News' section. I would like …

Web Development php web-design
Member Avatar for MarPlo
0
6K
Member Avatar for Wolxhound90

Hey guys, So I'm trying to make a website in php. I'm just wondering, when I click on a link is there any way for the text of the link to be put into a variable. Basically the user will select the name of a database(which is a hyperlink to …

Web Development perl php
Member Avatar for Wolxhound90
0
228
Member Avatar for mrcerimo

I'm making my own website and from the website you can download some of my c++ games. on the website i have this code that writes in to a .txt file some info from the visiter like: ip, os , browser and what site did he/she visit. so ok i …

Web Development php
Member Avatar for mrcerimo
0
3K
Member Avatar for rotten69

Hey everyone, I am having trouble accessing the web pages on my online server. On my local server, I access them using this URL(localhost/mvc/users/index) But this doesn't allow me to access the pages except for the config page which is on mysite.com/mvc Any help please?

Web Development php
Member Avatar for veedeoo
0
92
Member Avatar for shafeequeom

Please give a image uploading script and displaying the uploaded images link in the same page.

Web Development file-system image php
Member Avatar for IIM
0
67
Member Avatar for ashiiiish

I am not able to set php session for starting the session I am using below code session_start(); $_SESSION['username'] = $username; For checking the session I m using <?php if (!isset($_SESSION['username'])) { header('Location: index.html'); } ?> But the session is not being set as I am not able to grep …

Web Development php session
Member Avatar for IIM
0
216
Member Avatar for patk570

I am running into an error on a javascript problem I have it display if the math problem is wrong, and an alert box that pops up, but when you hit OKAY on the alert box it still submits the form. I am wondering if there is an easy fix …

0
150
Member Avatar for KeithMon

I've created a **login script** using **PHP** that connects to a `users` table from a **MySQL** DB. It's very simple and currently is not encrypted (it will be before I take the site live...I'd love some suggestions on current password security features too). **My issue is that the username-check is …

Web Development php
Member Avatar for dschuett
0
4K
Member Avatar for katherinedamon

Hey guys , I am curently fallen in an adverse situation . I am at the end of my website and this situation occurs as follows:- I got 2 tables named "userdata" and "userresult" such that when user registers himself to the site , his information is inserted to both …

Web Development asp.net session
Member Avatar for katherinedamon
0
153
Member Avatar for dschuett

I have a form that auto-populates an "original date" field based on the previous field that is filled in. What I am looking to do is the following: Once the "original date" is auto-populated (in the format of 04/09/2012), I need the next field "new date" to automatically have a …

Web Development javascript javascript-jquery
0
141
Member Avatar for rotten69

Hey everyone, Does anyone know if there is a possible way of using an online Database without uploading the website files onto the server? Cheers,

Web Development mysql php
Member Avatar for rotten69
0
240
Member Avatar for balagod

In below code using i try to upload multiple files to remote URL. but only 1 file data only i am receiving. please help any one to resolve issue. Remotepage.php i am not getting sign,cheque file details [CODE]<?php function do_post_request($url, $postdata, $files = null) { $data = ""; $boundary = …

Web Development file-system php
Member Avatar for albivl91
0
1K
Member Avatar for studentabc

I am not able to post the new article on the website thats why i am directly contacting you if you can able to help me out with the following problems. I am student. I have a very simple assignment and I did do the assignment but the requirement is …

Web Development data-science html-css php
Member Avatar for broj1
0
2K
Member Avatar for jackbauer24

So now my son is into PHP and so I bought a book for him, Head First PHP and MySQL and my son took the code and tried it. The main page is report.html. report.html:- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" …

Web Development php
Member Avatar for diafol
0
308

The End.