17,029 Solved Topics
Remove Filter ![]() | |
hi all, i had a page where there are three text boxes.username,password,allocatedmemory. Now when i placed an invalid number in allocated memory after submit button click it wil display a popup as invalid.so after clicking ok button,i need the value present in allocated memory to be cleared and cursor should … Web Development php | |
I have one problem with php and mysql. I have 3 tables (Users, User_status and Analysis) and want to display users and profit in a php table order by profit. So I wrote this code: [CODE]$tipster = mysql_query("SELECT Analysis.Profit, Users.Username, User_status.id FROM Analysis, Users INNER JOIN User.status ON Users.User_status_name=User_status.user_status WHERE … | |
Hello, I store Date in my database ( in sqlserver 2008 my datatype for this field is Date) however when i display the date in front end (ASP.NET C#) i get Date along with Time 12:00 AM as a default time. I dont want Time to be displayed in my … Web Development asp.net | |
Hi I am trying to write a script that puts a Horizontal Line between MySQL query results but doesn't show up after the last row. eg: First Line ---------------- Second Line ---------------- Third Line I'm using PHP, MySQL and JavaScript AJAX. Don't know if that's relevant for this instance or … | |
hello again!well...I'm developing a Content Management System and I have a form where the user write a text then i'll store this text in my database and i'll write it on a page using the "echo",I store the text with the html tags like: <p> blablabla</p>.but the user doesn't know … Web Development php | |
Hi everyone, basicly I have a CSV file which uses ^ as a delimiter. I have a textarea which is populated by the contents of the CSV file, and after editing it the user is redirected to the edit page. For some reason, everytime I save the file there is … Web Development file-system php | |
hi all does anybody here knows a good safe way to work with sql stored function with zend framework? i can do so with prepared statement but i'm sure that there is safer way to do so... i'm using postgreSql but i don't think that there's any different. thanks! Web Development php postgresql sql | |
I am trying to make a function that gets the name of a user from their user id. The function needs to search a database for the matching id. However, when I try the function i get the following error: [B]Warning: mysqli_real_escape_string() expects parameter 1 to be mysqli, null given … | |
Hello experts, I have a web application in ASP.Net (C#) and SQL Server 2005. In the application the end user can enter the customer record. When one end user use the application and enter customer record it works fine. But whenever more then one end user try to enter record … Web Development asp asp.net web-server | |
Hello friends, I have a gridview which has 4 columns. In the first column i have Name. In the second i have School Name ( This is a Drop down list which is Disabled on Page Load) In the third i have Template filed wherein i have put an Button … Web Development asp.net | |
I have a table in SQL sever .How to create a dynamic dropdownlist using the entries in that table in such a manner that i am able to use the corresponding values to that entry that are given in the table? | |
Hello All, I'm trying to modify some code for an auction site but my lack of PHP knowledge is preventing me from doing so. I bought an "Essential Guide To CSS, AJAX,& PHP" book and have been doing the PHP exercises at the W3 site, but it seems that it'll … Web Development open-source php | |
Hey, Here is the situation: I have a gallery of images that are being displayed with javascript that requires the image files to be saved as img1, img2, img3, etc. I am currently trying to write the php code that keeps track of the number of image files and allows … Web Development php ![]() | |
I can do this in Objective-C: [CODE]newNotewUTF8 = (NSString *)CFURLCreateStringByAddingPercentEscapes(NULL, (CFStringRef)oldNote, NULL, (CFStringRef)@"!*'\"();:@&=+$,/?%#[]% ", kCFStringEncodingUTF8 ); [/CODE] Ex: oldNote looks like this: This is a note newNotewUTF8 comes out like this: This%20is%20a%20note And it works out fine. I can receive the above Note in a url: "http://www.siteurl.com/input.php?note=This%20is%20a%20note" in my PHP … Web Development objective-c php | |
I am looking for something that I can edit the code of a page online. I want something like [URL="http://notepad-plus.sourceforge.net/uk/site.htm"]Notepad++[/URL] but in the browser. I preferably want something with similar features of Notepad++ like tag highlighting, colored code. Stuff like that. Does someone know of anything like that? It also … Web Development html-css | |
i am trying to create a new subject and redirecting the page to the home page after the subject is created which is(content.php). The code succesfully created the object but the page redirecting that i try to make is failed and my browser came out with this error message : … Web Development php | |
[CODE]<table width="95%" border="1" align="center" CELLPADDING="2" CELLSPACING="0" bordercolor="<?PHP print "$BorderColour"; ?>"> <tr valign="middle" class="tableheadsx"> <td width="91" height="29" align="left" class="welcomexx"><strong>Date</strong></td> <td width="136" height="29" align="left" class="welcomexx"><strong>Distributor's ID </strong></td> <td width="136" height="29" align="left" class="welcomexx"><strong>Customer's Name </strong></td> <td width="140" height="29" align="left" class="welcomexx"><strong>Total Paid(Naira) </strong></td> <td width="157" height="29" align="left" class="welcomexx"><strong>Total Paid(Dollar)</strong></td> </tr> <?php $rowShine = 1;?> … Web Development php | |
Hi I am working on Project. I want value from MySQL DB in Second input field on input of code in first input field. Is it possible? Web Development php | |
Hi, I just started a free trial with a new webhost as my current one is useless. I have always had my website working on the old webhost fine. I have a folder called sessions outside the public_html folder so it cannot be accessed in a browser and not accessed … | |
Hey all! I've been working on a website but have been having a bit of trouble with dynamic linking using php. I've tried (and failed) with different methods to get it working but i need the help of some very talented coders :) I currently have a webpage which extracts … Web Development php | |
What is the method of passing user inputs to database in Joomal or where the places handling the user inputs to send to the database. eg: localhost\Joomla\components\com_user\views\register in this directory have a module for handle new user registration. I need to know how joomla carry the user input values for … Web Development php | |
Hi Friends, I want to search a table with 25 columns using multiptle fields, i.e. Multiple column search Please help me with the query, i have tried using AND but no luck Field to search 1.Date 2.Name 3.Surname 4.Fathername 5.MotherName Rgrds Sachin ![]() | |
I have a need to do this: Receive a URL that looks something like this: [url]http://www.somesite.com/[/url][something]?title=ABCTitle&name=ABCName Then the [something] takes the key/value pairs and redirects them to: [url]http://www.someOTHERsite.com/?title=ABCTitle&name=ABCName[/url] Basically I want to take the data after the '?' and send it on to another site. What would the code look … Web Development php | |
I'm pretty new to JavaScript. I'm trying to define my custom errors, but it doesn't seems to be working [CODE] function MyError(msg){ this.message = msg this.name = "My Error" } window.onload = function(){ try{ throw new MyError("Test Message"); } catch(e) { alert(e.name + ": " + e.message); } } [/CODE] … Web Development javascript | |
I have an image rotator that uses nested intervals. The outer one switches the images, and the inner one preforms the fade. The problem is is that the display is not updated during the interval function, and so, the fade is not displayed; the new image just appears- no fade. … Web Development display javascript | |
I have created a class Vacancy which has some variables : public $salary; public $id; ... I am looping through the result of a query and creating a vacancy for each match Then I adding the vacancy to an array. [icode] $tempVacancy=new Vacancy(); $tempVacancy->salary = mysql_result($result,$i,"salary"); $tempVacancy->id =mysql_result($result, $i, "yid"); … Web Development php | |
hello every one, i have a problem to execute the second SQL query, its working fine on my local machine and when i uploaded it to the server but suddenly stoped functioning and keep showing error on the numRows after the query in line 213, any suggestion will be appreciated[code]<?php … | |
Basically what I'm doing is an if.then.else and depending on a value in the DB it's supposed to load one page or another. Right now I have it kluged together with a submit button but I'd like it to load automatically. This PHP script sits alone with no HTML output, … Web Development php | |
Hi all I'm trying to learn php by myself I got as far as creating my first data base and table using the following code: [code=php]$con = mysql_connect("localhost","root",""); if (!$con) { die('Could not conect: '.mysql_error()); } //Create database if (mysql_query("CREATE DATABASE FATBYTES",$con)) { echo "Database created"; } else { echo … | |
I have written code for adding and removing dynamic rows.i am using same file for both ADD and MODIFY operations.this page is working for ADD operation. lets say for MODIFY operation one employee has added 3 rows and i need to display those rows and user can edit thoese rows … Web Development javascript | |
Hello I was helping a fellow daniwebber and I noticed that I have no idea if it is possible and how the syntax works for it. Any help appreciated. example of how I think it works. [CODE] function retTrue(){ return true; } //code in if if(retTrue()){ //do some php } … Web Development php | |
Hi, I would like to pass data to dialog box where the page in background is faded out. A good example is when I click 'LOG IN' on DANIWEB, I get a dialog box with username and password fields and the rest of the screen is in gray. Can someone … Web Development javascript | |
Hi guys, We have a custom-written online invoicing system, written in PHP. Right now, it generates an HTML invoice (with CSS etc) and sends that to the clients as an HTML mail, but since a lot of mail clients regard it as spam, disable functionality and images, or just completely … | |
Hello, Can i make one picture for all my website, please ? like Google: [url]http://www.google.com/images/srpr/nav_logo13.png[/url] Thanks. | |
Hello friends, I have a stupid problem, I can't find example or tutorial "How to embed mpp in HTML", so... Can anyone give me an example or code for this ? Thanks. | |
I'm pulling my hair out trying to find a checkbox check-all toggle script that will pass an array of selected to my server side PHP script. I really want a master checkbox that serves as a select-all/deselect-all control. I've looked at countless examples online, and the closest I can find … Web Development javascript | |
Hi Everyone, i have a query regarding checkboxes. i have got a 'check all' checkbox on my form but what i need is to uncheck all if the check all is not checked This is the check all script [CODE]function checkAll(field) { for (i = 0; i < field.length; i++) … Web Development php | |
hi, in the below code i have made a variable $htmll, in my php file.In dat var i have stored the html code,in dat html code im writing some php code which in unable to execute....Kindly help me out to resolve it. Thanx.... [code=php] <?php $htmll=' <table align="centre" border="1" cellpadding="0" … ![]() | |
So when I plan to set up a register form on my site I need to know how to automatically assign an ID to the user once they press the 'Register' button. I guess I would be using this type of table setup; Table name: Users ID int 11 Email … Web Development php | |
I create my code on my own machine and tested it on my own machine and everything worked perfectly fine but as soon as I uploaded it to my server it seems to have stopped working. None of the code has been changed except for the database user, pass and … | |
Hello. I'm wondering if anyone has knowledge or a code that will refresh a script without a full page load. Just a widget/box on a site. What I have is a script which displays random posts in wordpress. Just calls 5 posts from the database with a simple random call. … Web Development javascript php wordpress ![]() | |
Hey, Building a hotel booking system as a college project, And as I do not want to go through the building a calendar that shows dates that are already booked, aww can be bothered. ok the max number of days of stay allowed are 7, now I have thought of … Web Development coldfusion | |
Hi, i am having a problem with a form where a user can enter there birthday when they register. In the database it does not show up, it only shows the default value 0000-00-00. I am using month, date and year in the form and i am wondering is there … Web Development php | |
hi guys! i need ur help because im noob at web programming.well.. i would like to insert formatted text (html) in the mysql database and retrive it to a page. do i have to save text with all tags? what is the best way to do that? example: i hav … | |
Hi, Yesterday I downloadet and installed wamp, it worked quite fine most of it. I could put it on Offline and online mode if I wanted to, but when I tested my php page on the localhost by typing [url]http://localhost/index.php[/url] in the adress bar it would get directed to wamp's … Web Development php ![]() | |
When values are entered into 2 TextBox's(textbox1 & textbox2) they are multiplied with one another and the answer is displayd in a Label(label1), I need to add all the labels and display it in another label, this has to be don without buttons. When the TextBox's change this function is … Web Development javascript | |
I using the value pass from url to open a new page but there are some mistakes, but I cannot find them here is my all files to do that: [COLOR="Red"]main.asp[/COLOR] [CODE] <%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%> <!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"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> … | |
Is there a way, in Javascript, to get a list of files in a folder (on a server) that I can dynamically load into an array that I can work with when a page loads? Web Development javascript | |
I'm wondering is it possible to echo out an entire media player, such as windows media player,in a similar method to echoing out all other tags such as tables and divs? The code i want to echo out, only if certain variables dictate, is this: [CODE]<OBJECT id='mediaPlayer' width="300" height="250" classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95' … Web Development microsoft-windows php ![]() |
The End.