52,566 Archived Topics
Remove Filter ![]() | |
My project requires that I have several arrays defined in javascript such as: var d1 = new Array(2,17,18,19,20); var d2 = new Array(2,18,19,20); var d3 = new Array(2,18,21,19,20); var d4 = new Array(2); var d5 = new Array(2,18,19,20); var d6 = new Array(2,18,21,19,20); etc I have a `<select>` element which … Web Development javascript | |
Hi! I have this problem on my website. When i move to the randomize section of my page it loads slow. It's ment to fetch alot of images, but it loads pretty slow, also the window freezes until the jQuery code in done running. I don't know how to explain … Web Development javascript javascript-jquery | |
How do i insert this into my sql database? I have tried a few things like putting the array bracks on the upload file. when i do this it saves the image location but doesnt upload the image. This is my upload snippet for ($i=0;$i<4;$i++) { if($_FILES['userfile']['name'][$i]) { $uploadfile = … Web Development file-system image mysql php | |
Hi there, I am running a few test and trying to practice a bit with javascript I have come up with a script which is meant to swap images but it is producing errors. I had tried to debug with firebug but it is not going well at all and … Web Development javascript | |
Really really need help with this one! I need to convert from php to mysql so that it reads language information from mysql, i made mysql table already but I just don't know how to change from php to mysql <?php session_start(); header('Cache-control: private'); if(isSet($_GET['lang'])) { $lang = $_GET['lang']; $_SESSION['lang'] … ![]() | |
<?php include('./phplot.php'); $graph =& new PHPlot(); $example_data = array( array('a',3), array('b',5), array('c',7), array('d',8), array('e',2), array('f',6), array('g',7) ); $graph->SetDataValues($example_data); $graph->DrawGraph(); ?> When ever I run this program I get an error ! `The image "http://localhost/test.php" cannot be displayed because it contains errors.` I also have GD library enabled! What is the … | |
Hi all I would like to display several charts on a webpage. I have designed a class that would draw each chart using GD and based on data set by a public method. Unfortunately instead of charts being drawn I get an error message: The image ... cannot be displayed … Web Development file-stream image php | |
Hi. I'm a newbie in php, and I recently bought a book called PHP and MySQL Web Development by Luke Wlling and Laura Thomson. I was able to make an order form in Chapter 1, but in Chapter 2, I have to process orders so that every time I fill … | |
hi, i found below online 00 11,16 * * * /home/ramesh/bin/incremental-backup i understand that it does 00 – 0th Minute (Top of the hour) 11,16 – 11 AM and 4 PM * – Every day * – Every month * – Every day of the week but what i need … Web Development php | |
Hi I am trying to allow users to update records in a MySql database through php forms. One problem I am having is with a drop down field for dates. I want to echo the date already in the database so that the drop down menus is set to that … | |
Hello all, I have an interesting bug in a calculator I have written. I've snipped the code done to something to get an idea of the calculator. So, if I clilck on Imperial, I can't seem to put input into my text boxes. However, if I press my TAB button … Web Development html-css javascript | |
Hi All, I am having contsantly getting the following error: PHP Fatal error: Out of memory (allocated 4295491584) (tried to allocate 8589934593 bytes) the line its complaining about is as following hilighted in bold: [code]<?php $link = @sybase_connect('****', '***', '****') or die("Could not connect !"); echo "Connected successfully"; $sql = … Web Development php | |
Hello all, I'm trying to get a calculation to appear in a DIV, in HTML. The calculation shows fine with the HTML, but my problem is that the result is showing straight away. I want it to display 5 seconds after the calculation is done (it's done in jquery). What … Web Development html-css javascript javascript-jquery | |
on body load it is getting value of function tryt2(l) but iwant that on body load it get both function value and onclick i want to play animation.gif while getting data from 001.php but after getting data img will be removed plz tell me ASAP <html> <head> <script type="text/javascript"> var … Web Development javascript | |
hi all.. i have a problem. Actually i want to view respond select by MAX(tran_id)...don't know why when i run this code, i do not get the max/ last respond.. it return to me the first respond..for the tran_id it view the max id but not for respond..here the script..hope … Web Development php | |
![]() | So I have not found a real answer to this yet. If you know asp.net you know what I mean. I need to make nested template for my website so that it remains consistant through out and certain sections change on different pages. How can I do this? Whats the … Web Development php |
I am hoping this is in the right spot. We have an issue that I have not been able to track down for some time, hoping someone can give me an idea or point me in the right direction. To summarize: Occasionally, a computer in our network will cause our … Web Development asp.net client-server web-server windows-server | |
#What do u think is wrong in this code???# ##no textbox is being affected :(## For Each ctrl As Control In Panel1.Controls If ctrl Is GetType(TextBox) Then CType(ctrl, TextBox).Text = "" End If Next | |
Please give advice on itt . also want if date invalid it should same page plus .use whatever break do not excute more code inside button click event if date is not valid protected void btn_ok_Click(object sender, EventArgs e) { //DateTime dt = new DateTime(); //dt = Convert.ToDateTime(tb_age.Text);//"2011-12-30" //TimeSpan ts … Web Development asp.net | |
Ello, Firstly let me preface this with the fact that I'm absolutely hopeless at ASP.net. I know the basics, but that's it. Right, I'm trying to fix a property site coded in ASP.net. On the property landing page, there is a small gallery of thumbnail images below a larger one … | |
Hello Daniweb! I'm an amateur programmer who's learned quite a bit from online references, and usually searching eventually reveals the problem but I'm stuck! I've overcome many obstacles when creating a custom button on the Ajax Editor control, namespace issues, registring the controls properly etc. I resist the temptation to … Web Development asp.net file-system image javascript | |
I want to allow registered members to upload files to the file system I have two mysql tables members for registered users and a table files to have a trace which member uploaded which file. now, I only would like to allow the upload of PDF's to the file system. … | |
Hi folks! I got a little problem with my assignment. The idea is to create online bookstore. As far didn't have much troubles with the project, until now. Problem occures when I'm trying to update/delete an entry to mySql. if you take a look at line 93 - there is … | |
I want to ask something. I don't understand how to get same data from table at only one time. Here are the example Like table name product_data and there are atleast six field. in data field the date look like this product Date 23-04-2012 23-04-2012 23-04-2012 23-04-2012 23-04-2012 23-04-2012 18-04-2012 … Web Development php ![]() | |
<?php include("include/dbc.php"); include("include/connect.php"); session_start(); $error="style='display:none;'"; $submitcheck=$_POST['submit']; if($submitcheck==1) { if($_POST){ $user_name=addslashes($_POST['user_name']); $password=addslashes($_POST['password']); $query1=mysql_query("SELECT * FROM tbl_login WHERE user_name = '$user_name' and password='$password' and user_level='1'"); $query2=mysql_query("SELECT * FROM tbl_login WHERE user_name = '$user_name' and password='$password' and user_level='2'"); $query3=mysql_query("SELECT * FROM tbl_login WHERE user_name = '$user_name' and password='$password' and user_level='3'"); $query4=mysql_query("SELECT * FROM … ![]() | |
Hello everyone I created one canvas and draw one line on it I want to move this line using mouse on the canvas How to move line on canvas because using draggable function it cant move so pls help me. Web Development html-css javascript | |
Hi, I have an array and I want to check if the student id exists in it or not **without** looping the array. I tried `in_array` and `array_key_exists` but they didn't work. If **001122334** exist in array below then **echo exist**. Thanks in advnace Array ( [0] => Array ( … Web Development php | |
can anybody tell me, **how to protect website design with copyright ?** Web Development xml | |
I would like to find out if my code is correct. It doesn't look right to me. The code is in response to part of an assignment which asks 3 things: 1. Create Model Class file "booksmodel.php" i.e. "BooksModel". 2. Add public method called save_books() to model class. 3. Accept … Web Development php | |
I am looking to use mod_rewrite to remove the file extension of the files on my site. I am aware of how to make use of the mod but I was curious as to a couple of things when passing variables to a script. Such as if I have a … Web Development php | |
Hi everyone, I have a strange thing happening when I update my form. On the form there are a number of input fields, item cost,item name, item description. If I update the item cost, this updates without any problems, but it also updates the item description, duplicating the description. The … Web Development php | |
hi how can i have it setup where a user can only send 2 gifts a day on my website? many thanks Web Development php ![]() | |
Hi - I'm very new here (1st post). I read the introductory docs, and looked at the categories, but I didn't see a specific place for posting code for review/critique. My apologies if this is not the appropriate place to do that... Here is some code I am hoping to … Web Development ruby | |
Hi, I have knowledge of php,javascript,html,& mysql for creating websites. I want to create a mobile website. Need suggestions. Web Development php | |
As stated on the title above, I'm creating a login system using php and mysql. Ok, I'm wondering if it is possible that I can utilize it as window login system .. That means.. window Login system using web application. Which also means, When I first boot up and before … Web Development php web-browser ![]() | |
hai , I need to get the monthnames between 2 dates such as 01-04-2012 & 30-03-2013 . Can you help me to get it. Thanks in advance, sreevidya Web Development asp.net | |
I need to make a contact form on a website that will send comments to an email. I have designed the html file but i'm not sure where to beggin with adding the file or code that will support this function. So far i have learnt that it can be … Web Development html-css javascript | |
Hi All, I am designing a web page using JSP / JDBC / JavaScript and apache tomcat 5.5. There seems to have a major issue after few page request. Initially, all pages respond was excellent but after few ( 10 - 15 ) requests, the respond time drops to minutes … | |
Hi! I have started learn about Query and PHP, and i don't know what to do next. I have made table with query help i can show in table records from my Database, so far i have well, but next what i want to do is every record in table … | |
Hi people I have coded a data-based website in asp.net, and want to run it on a lighttpd webserver using debian as the host os I am wondering how to set up mono and allow my Databases to be read and written to I have read through this: http://www.mono-project.com/FastCGI_Lighttpd and … ![]() | |
Hey guys, I have a problem with searching for a string within a string. Here's the code I have at the moment: $query = mysql_query("SELECT * FROM information_schema.TABLES WHERE TABLE_SCHEMA = '".$db."'") or die(mysql_error()); while($table = mysql_fetch_array($query)){ $checktbl = $table['TABLE_NAME']; foreach($_POST['fields'] as $f){ $f = substr($f,strpos($f, '.')); if($checktbl == $f){ … Web Development php ![]() | |
Now i have every thing working, the pagination is a bit fine, only when i click next to go to page 2 or 3, nothing is being shown on the page, the browser shows that i am on the page2 but no data is beeing shown, now when i force … Web Development php | |
Hello, I am trying to include a Contact Form in my website. I'm using WAMPserver and Free SMTP Server to test it. The problem is, everytime I click in my button of Send Mail, this error appears in my browser: *Warning: mail() [function.mail]: failed to connect to mailserver at "localhost" … | |
I am trying to write an MVC application. I am rather new to MVC and I am taking the project over from someone else whom started writing it. This is what I am trying to do. I have some html documents that are located within my application. When a user … Web Development asp asp.net software-architecture | |
hello this is my problem  how can do that in php ? <html> <FORM> <TABLE BORDER="0"> <TR><TD> facbook account :</TD> <TD><INPUT TYPE="text" NAME="facbook account" MAXLENGTH="50"><TD><INPUT TYPE="SUBMIT" NAME="save1" VALUE="save"></TD></TR> </FORM> </html> thanks Web Development php | |
Hello, I'm trying to set up a website where user can upload files to which should be readable by everybody. Logged users should be able to comment on the files and rate the files. I'm new to MySql and quite new to PHP so it has taken me already lots … | |
i get an error "org.apache.jasper.JasperException: An exception occurred processing JSP page /index.jsp at line 18" i think my exception code is wrong. i don't know how to return an empty string when the user doesn't enter any number and clicks "continue". any suggestions <%@ page import="java.io.*"%><%@ page import="java.util.*"%><?xml version="1.0" encoding="UTF-8"?> … | |
Hi friend! I want to get the code which helps daniweb to show the preview of every site/link it gets. For example let me give a link [here](http://www.google.com) whenever i hover my cursor to that link,it shows me a preview of that site. Can you give me the code which … Web Development javascript open-source seo | |
![]() | Hey everyone, Parsing RSS is not my strong point and I am making a news feed for a client and they want me to use the Yahoo News RSS feed. I am using the following code. <?php $url = "http://news.yahoo.com/rss/europe"; $xml = simplexml_load_file( $url ); ?> <h3 id="ln">Latest News</h3> <?php … |
The End.