17,029 Solved Topics
Remove Filter ![]() | |
dear all, I would like to know how to structure and SQL query to query between months ranges Something along the lines of: SELECT * FROM table WHERE datetime BETWEEN xx/xx/xx AND xx/xx/xx I have a table with the following date field entry named datetime: 07-05-2009 Which I am assuming … Web Development php | |
Hello, I am using visual web developer 2008 I am trying to display an image in a table with a master page. But my image is being displayed during designtime but not displayed during run time. I used the coding below. [CODE] <form id="form1" runat="server"> <div> <table style="width: 100%; height: … Web Development asp.net web-server | |
i have a function like i have quote issue with the function. I have to use this object in javascript code due to some reasons i cant use double quotes two times. i have to use single quotes around parameter as well. what should i do. please suggest. [CODE] <script … Web Development php | |
I have a product image that is 4 images 'sewn together' [url]http://www.flickr.com/photos/28033561@N03/3504394261/[/url] I am going to set a div called ProductImage and then have the background of the div set to this image, but with only the top image showing. I then want to have a button for 'more views' … Web Development javascript | |
Hi There, I need help badly on the div tags. I dont have much knowledge on div tags I have a div tag in my code and it should be show when there is an inactivity. Its working fine, until today I found a bug. When I scroll my browser … Web Development javascript session | |
Hi, I am trying to display the users email address when they login to there account on there profile page.. I have successfully done this for there username as i use $_COOKIE to display the users name with the DB. Problem is i am not sure how to do it … | |
I have a script which upload image to the server and resize them when uploading)) the script give a max width=200px also max height=200px))for i uploaded image.. i would like if some one can help me modify it,in such away that if Only width must be Max=200px but for height … | |
hii!!! i have two forms, the edit and the add transaction form.. In the add transaction form, the user has to attatch a file for which i use <input type=file id="path" > and the path is saved in the database.. now when the user edits the form, i cannot get … Web Development javascript | |
[code=javascript] function read() { var numbers = new Array(); for (i = 0; i < field.length; i++) numbers[i] = document.test.checkboxName.value; var counter=0; //Let's print out the elements of the array. for (counter=0; counter<numbers.length; counter++) document.write(numbers[counter] + "<br>"); } [/code] I want to read the values of the checkboxs and store … Web Development display javascript | |
alright im having so problems with my floating divs containers i am using three columns in my html part of my website and i have a wrapper around the three columns known as page and the columns are float left in css so they can be perfect aligned left to … | |
Hi, Somebody please help me, i am going mad out of my mind, for the past 4 hours or so some silly little problem has ratteled my brain and i cannot fix it. Basically, user registers on site, they get there activation email, click on link and the below script … Web Development php | |
[code]<%@ page import="java.sql.*" %> <%@ page import="java.io.*" %> <%@ page language="java" session="true" %> <html> <body> <% //Getting the text values from create login page String lid = request.getParameter("loginid"); String lpin = request.getParameter("loginpin"); String loginid = lid.trim(); String loginpin = lpin.trim(); [COLOR="red"]out.println(loginid); out.println(loginpin);[/COLOR] // Connect to Database to retrive all the … | |
Hi, I have tried to find out on this, but I cannot be sure. Anyone knows for certain fopen and file_get_contents (or any similar functions) will generate an entry in the target domain's website traffic stats? I know this could be traffic analyser specific, so for a start, will it … Web Development php | |
My static variable got initialized [B]everytime[/B] the function is called. Here's my code(simplied), thanks. - [code]<script> function validate() { return true; } </script> <?php vote(); Function vote () { static $testvar = 1; echo $testvar; if ($testvar == 1) { $testvar++; echo $testvar; } } echo '<td><input type="image" width=50% src="pix/camera.gif" … Web Development php | |
Hello Friends, I have created a form which has by default 4 rows and 4 columns. Once the user click on More(which as bottom of the table) one more row will be added to the form. When the user click on submit their information will be submitted. Every student will … Web Development php | |
Hi, Thanks for looking. I have a contact form and everything else is checked against validation apart from the textarea. For some reason i cannot get textarea validation to work using php. I have tried: [CODE] if (strlen($_POST['query'] == 0 ) ) { echo "<p>You have not entered anything in … | |
Hi, I have an input text box that I want to change the type from text to password and I wrote code that works in Firefox but not in IE any suggestions? Here is the code(cut down a little for easier reading): [CODE] <form class="formstyle"> [INDENT]<input name="password" type="text" value="Enter Password" … Web Development javascript | |
Hi, I cannot find the solution for this example. It is to do with Static declerations. Help please. Error : "Fatal error: Non-static method ExecuteSql::executeSql() cannot be called statically, assuming $this from incompatible context " Thanks [code] <?php class DBconnection { private $host="localhost"; private $user="root"; private $username=null; private $password=null; private … | |
Hello, I have a little question. Lets say I have string: string g="ZOMGGGG"; and a Boolean var: bool S; so in C# if I write S=g.contains("GGGG"); and I get true if it contains else false. How do I use that in JavaScript? Thank You! JC Web Development javascript | |
Hi guys, I m trying to store an image in a string, so that later i can put that in a label. But i m getting errors: wat i m trying is [code]string imgFailureIcon="<img src="images/erroricon.jpg" width="20px" height="20px">" ;[/code] the error is ; expected. Please help me out | |
Basically I am just trying to figure out how I can display customer records for the user who is logged in. I am sure this is very simple just not 100% sure how. I have a form that the user submits new customers and it stores the userid for the … Web Development asp.net sql web-server | |
I am trying to do a simple MySQL query using my db class, but for some reason I am having issues with getting the query through using my db class. If I hard code the db call bypassing the class, it works fine. Here is the class: [CODE=php]<?php //////////////////////////////////////////////////////////////////////////////////////// // … | |
Hiya, I am still developing my website and just wanted to ask whether I am on the right track to ensuring my website coding, database connection, etc is safe. My public directory obviously has the main pages in which the members will visit. For example .... log_in.php is located in … Web Development php | |
this is dynamic rows code.when i click remove(-) any row i need to get respective checkbox id; for example when i delete row3 i need to get checkbox id as houseCheck3;when i delete row2 i need to get checkbox id as houseCheck2; once i get the id of that checkbox … Web Development javascript | |
I am attempting to configure a datasource in an AJAX web page from an existing postgreSQL database that resides on our server. I have done this many times with MySQL, no problem. When I finish the configuration for the PostgreSQL Database in the "Add Connection" wizard of Visual studio 2008, … Web Development asp.net postgresql visual-studio web-server | |
Dear members, I am after some help with a script I am trying to write/use! I am currently re-designing a website for an animal charity for which they would like to add a section in the members area where people can upload their own photos of their animals/pets. I have … | |
i have 4 input box of credit card number and 2 boxes of credit card expire date month and year and one for the card holder name i have some code but is it ok or i have to do some thing else [CODE=LANGUAGE]<?php $connection = mysql_connect("localhost","root","password") or die("error connect"); … | |
Anyone knows what I'm doing wrong here? I am getting supplied argument is not a valid MySQL result resource in line 34 [CODE=php]<?php //Connect to database server $conn=mysql_connect("mywebsite", "user", "pass"); if (!$conn) { die('Could not connect: ' . mysql_error()); } mysql_select_db("data", $conn); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" … Web Development php | |
Hi, could someone tell me what the correct syntax is to check is a user exists in my database. I got a login page and when user enters username and password i need it to check if they exist obviously in database and if so re-direct them to the page … Web Development php | |
Some strange errors occurring in my asp.net website. I was using the MS ApplicationBlocks.data.dll to connect o my SQL database. Once I started testing my website on IIS as opposed to the ASP.NET development server, I started getting connection pool errors. So, like anyone would, I searched for every instance … Web Development asp.net | |
I am trying to use [URL="http://www.dynamicdrive.com/dynamicindex17/ddaccordion.htm"]Accordion Content script v1.7[/URL] from DynamicDrive.com on some pages. I have set up a [URL="http://www.f1d.com/test_expand_div.html"]test page[/URL] to show the error messages. I have changed the doctype of the page several times, including the exact one they use on the sample/instruction page on DD, but no … Web Development javascript | |
Hello, I am having some trouble with my registration form. For some reason when i launch my registration for wheter it be on localhost or webhost nothing is displaying on the page. I get no errors or anything and i cannot detect what is wrong with the script i made. … Web Development php | |
Hi, I wonder if someone could help me please. I basically made a registration form and need to insert the data into the database. I am not sure how i use the MySQL functions to do this, I created a db connection file and included it on registration page but … | |
I just started researching this and am not sure if it is possible so I do not have any code yet but thought I'd see what you all thought. I have several images that I want to link from different pages but I also want to have the ability to … Web Development javascript | |
Hi, I have a problem with a scrollbar, once in a while when I try scrolling up or down it jumps to the recent position of the scroll. You can see the problem on: [url]http://radiojazz.dk/udsendelser.aspx[/url] And then try to scroll abit and see that it jumps. Does anybody know how … | |
I'm working on a php application and when setting it up for the first time it writes a file (system_info.php) to the server that stores several details of the system it is being installed in. If the server is not writable I would like to print this configuration on a … Web Development php | |
hi i need to change the url from [code] www.domainname.com/page.php?i=1&sid=7[/code] to [code]www.domainname.com/page/i=1&sid=7[/code] Web Development php | |
Hi Guys! I have a url like [url]www.mysite.com/index.php?req=login[/url] I want it like that [url]www.mysite.com/login[/url] I want to hide php extension from that. Please reply. Thank you Take care. Web Development php | |
first off let me explain what is going on. i am creating a site that uses a shared DB and every customer that we have will have there own table. they can have other login's which will within there company table (employee logins). How would you go about and check … Web Development php | |
I've got a *very* simple form, one field. I want a person to be able to go in and update a single number. (example: '10 are signed up of 100 entries' - with 10 being the form number) I only want the most recent number to show up, not the … Web Development asp | |
I have three ASP.Net applications and I want them to share their user status (Anonymous, LoggedIn). For this I use a custom Membership provider which lets me manage my users database effectively. But... How can I authenticate a user in one of this applications AND let the other two applications … Web Development asp.net | |
Hi, I have a web page. In that there is a toggle button to show or hide advanced search options. Below that there is a "IFrame A"(Table). IFrame A conatins "IFrame B" (Table Contents). Based on the toggle switch status, i want to update "IFrame A" size without refreshing the … Web Development javascript | |
[CODE] else { ##User isn't registering, check verify code and change activation code to null, status to activated on success mysql_connect("localhost", sssssss, passs) or die(mysql_error()); mysql_select_db("sssss") or die(mysql_error()); $queryString = $_SERVER['QUERY_STRING']; $query = "SELECT * FROM users"; $result = mysql_query($query) or die(mysql_error()); /* Your script is always falling into this … Web Development php | |
Hi guys, I think I may have complicated matters for myself with this one. I'm making an image gallery, which is built based on a hierarchy. I have no problem outputting the images directly in their specific category. The problem I'm having is I'm trying to call 1 thumbnail from … Web Development data-structure display php | |
I am new in php. i need sample projects+Adminside with full sourceā¦..projects like [url]http://demo.tsmarketinggroup.com/southcoastme/admin[/url] User name: admin Password: admin Please help me, Web Development php | |
ok i m trying to delete folder with all contents ... the contents r all files..its not working...plz help [CODE] <? $mydir = "d:/lucky"; $d = dir($mydir); while($entry = $d->readfile()) { if ($entry!= "." && $entry!= "..") { unlink($entry); } } $d->close(); rmdir($mydir); ?> [/CODE] Web Development php | |
dear all, I want to make a digital library goverment regulation which related to export import activity in my aoffice. The problem is: I dont know how to upload the .pdf file to local server and provide the link to acess it automatically, Please help me..:( | |
If you send two asynchronous requests in quick succession I presume this involves two different instances of the XMLHttpRequest. Are you supposed to allocate a different onsteadystatechange function to each different instance of XMLHttpRequest (which seems a bit awkward). I have tried to use a single "pipe-like" function and then … Web Development javascript xml | |
![]() | i really dunno what i miss or what's wrong with my codes. it would only work when you hit the "Post" button on the second try. i think it has something to do with my GUI, coz if i would just test the form named "fields" the javascript would work. … Web Development gui html-css javascript ![]() |
Hi, I have to zoom a div. an image is placed as div background using css. while doing zoom in, what i did is increased width and height of div by 25px, but image which placed as div background is not streching. Also, when i zoom it, the text placed … Web Development javascript |
The End.