17,029 Solved Topics
Remove Filter ![]() | |
[code=php] <table align="left" style="width: 764px"> <tr> <td> <?php $con =mysql_connect("localhost","root",""); mysql_select_db("administration",$con); $list=mysql_query("SELECT * FROM cycles"); echo "<table border=1>"; echo "<tr>" ; echo "<td align=center style='color:red'>CID</td>"; echo "<td align=center style='color:green'>Brand</td>"; echo "<td align=center style='color:red'>Type</td>"; echo "<td align=center style='color:green'>Style</td>"; echo "<td align=center style='color:red'>Model</td>"; echo "<td align=center style='color:green'>Gear No</td>"; echo "<td align=center style='color:red'>Frame</td>"; … Web Development php | |
HI every one I have problem with IIS AND LAN ( local area network) so When test my asp.net page localhost it works fine But I test my asp.net page through the LAN network it means other PC testing it doesn't work I check like this --> [url]http://192.168.0.20/Lib_student/welcome.aspx[/url] but 404 … | |
hiii,,i m a new member of daniweb and new to programming also.. well i have a simple login page in my website,, currently i am using standard username and password,,,but i would like to have the username and password checked from a table in the database,, i am using asp.net … | |
hii,,i am using asp.net 2005 and sql server 2005.i hav a insert page thr which i can insert details to a table in the database,,thrs a column called sme_id in the table.....what i want is when a user inserts the sme_id from the webpage,it should check from the table whether … Web Development asp.net | |
Hello friends.... I an unknown to XML. Is XML is used for Page formatting or as a stylesheet creater etc..... What this code is doing.................. [Code] var screenDocPath = Server.MapPath("screens/"+call+".xslt")//***APP VARIABLE var screenDoc = Server.CreateObject("Msxml2.DOMDocument") screenDoc.async = false screenDoc.load(screenDocPath) <%=dataDoc.transformNode(screenDoc)%> [/code] Web Development xml | |
Hi I have a asp page for Update. i need to update it look only. I formated it. But not getting look. In that page XML data is used. I have no knowledge about XML. Is this line making any design changes? <%=dataDoc.transformNode(screenDoc)%> Please tell me..... :( | |
i have three "buttons". when each is pressed i want to 1.) detect if it is not hidden, if so, return (do nothing). 2.) detect if another button is not hidden, if so i want it to hide that button and continue to the third. 3.) i want it to … Web Development javascript | |
Hi, I have a long list of options( 60 option) where user can selecte none or all of them. the code is like that [CODE] <selecte name="list"> <option value="1">option</option> ... </selecte> [/CODE] and I have to display it again as a list ( <li></li> ), my question is what the … | |
Hi I have a website of poetry, what I would like is for users to be able to leave comments on the poems they've read, I already have a system for voting on a poem but I thought it might be nice to be able to leave a small comment. … Web Development php | |
I wish to insert an [B]swf[/B] files in ASP.Net, how can I do it? What is the code in ASP.Net? Web Development asp.net | |
i have been trying to find a way to do it, but i can't seem to think of one. i need to do this: [CODE=javascript]var animElements = document.getElementById("resizercontainer").getElementsByTagName("p") for(var i=0; i<animElements.length; i++) { animElements[i].onmouseover = widthChange; animElements[i].onmouseout = widthRestore; } function widthChange() { if (!this.currentWidth) this.currentWidth = 150; doWidthChangeMem(this,this.currentWidth,170,10,10,0.333); } … Web Development javascript | |
Hi i have a form which holds several Inputs of type text, now when im clicking on a check box it run a js script which gets each Input text element and colors its background with a color something like this [code=javascript] var filed=document.getElementById("one"); filed.style.backgroundColor='red'; filed=document.getElementById("two"); filed.style.backgroundColor='red'; ... .. . … Web Development javascript | |
![]() | I am making a website and I do not want it to have any URL extensions on it. For instance, when all links are clicked on instead of going to blah.com/bleh, the page goes to blah.com. How would I achieve this using php? With hidden forms? I will post an … Web Development php |
In my website, i want to accept photos from users(through HTML page) and save them to database(MS SQL) Can you please tell me, how can i do so? Also tell me how to retrieve those photos back from database to HTML page or JSP. Thank you. | |
I'm having trouble with finding a checkbox control on a page. I have a repeater that creates a list of items with checkboxes (so I can activate/deactivate them). The checkboxes are named as follows in the html source: ctl00$ContentPlaceHolder1$ActivateLevelZero$rptItems$ct100$chkIsActive ctl00$ContentPlaceHolder1$ActivateLevelZero$rptItems$ct101$chkIsActive ctl00$ContentPlaceHolder1$ActivateLevelZero$rptItems$ct102$chkIsActive etc... When I try to access them in the … Web Development asp.net | |
[code=php] <?php session_start(); session_unset('YourVisitID'); session_destroy(); header("location:index.php"); ?> [/code] I've use the code above to destroy my session after login, but instead of destroying it, It creates another session called 'PHPSESID'. I'm using XAMPP localhost. Please advise.* * page redirection works fine | |
Hello all, I have a form that contains checkboxes to update a database with either "Yes" or "No" based on the user selection. The check boxes are in an array with the values set to a "LinkID" example: [code=php] <?php //find the user's assigned links $rowlink=$row_rsUpdate['LinkID']; mysql_select_db($database_mambo, $mambo); $query_rsAssignedLinks = … Web Development php | |
[code=php] <?php // connection to MySQL server mysql_connect('localhost','root',''); mysql_select_db('administration'); if (isset($_POST['submit'])) { $loginUsername=$_POST['username']; $loginPassword=$_POST['password']; $MM_redirectLoginSuccess = "validated.php"; $MM_redirectLoginFailed = "admin.php"; $MM_redirecttoReferrer = true; mysql_select_db('administration'); if(empty($_POST['username']) && empty($_POST['password'])) { die('<div class="error_up">Both field was blank</div> <br><br><div class="footer_padding"> © Copyright Cycle Tracks <span>®</span></div> '); } if(empty($_POST['username'])) { die('<div class="error_up">Username field was blank</div> <br><br><div … Web Development html-css javascript php xml | |
Hello Friends I ran into a syntax error updating a form, I have added a comment to the line below, Please could anyone tell me what I did wrong!!!! [code]<cfquery name="update student" datasource="#Request.super#"> UPDATE student SET studentfirstname='#Trim(Form.studentfirstname)#',. studentlastname='#Trim(Form.studentlastname)#',. address='#Trim(Form.address)#',. city='#Trim(Form.city)#',. state='#Trim(Form.state)#',. studentage='#Trim(Form.studentage)#',. studentclass='#Trim(Form.studentclass)#',. studentstartdate='#Trim(Form.studentstartdate)#',. studentgraduationdate='#Trim(Form.studentgraduationdate)#',. comments= <cfif Len(Trim(Form.comments)) GT 0> … Web Development coldfusion | |
Hi, I have a DetailsView on my page that connects to a SQL server D/B and shows its data.However, It is not visible on my page when I launch my browser. Any ideas or past experience with this? Thanks for reading. Web Development asp.net | |
Hi i am developing a voting system. i want to show the result as in image. plz help me. [ATTACH]5243[/ATTACH] i am blanck. Can't think how to achive this... Web Development asp | |
Here are the tables in my database. [code] music ( id int(11) NOT NULL auto_increment, catid int(11) default NULL, song_title varchar(255) default NULL, artist varchar(75) default NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1; [/code] Category [code] category ( catid int(11) NOT NULL auto_increment, name varchar(30) default NULL, PRIMARY … Web Development php | |
Hi i m trying to get the values from database and put it into the select options.. i m using code- [code] <?php $con = mysql_connect("localhost","cdccpl","d123"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("cdccpl_aus", $con); $result = mysql_query("SELECT * FROM bak_bill_cust"); while( $row = mysql_fetch_array( $result ) … Web Development php | |
Good day all! I have been working on a project that requires me to to the following: Select a user from a list, on submit go to next page. The next page contains the session variable $id of the selected user. On this page, I am assigning menu permissions. I … | |
Hi All, I'm a complete novice when it comes to ASP, so please bear with me. I have a GridView bound to an Access Table that has no sorting on it (which is as it should be) and a Combo Box bound to the same table that is sorted on … Web Development asp | |
Hello Every time i input the character [B]'[/B] and [B]%[/B] in the textfield it generate an error in my query. [B]The error:[/B] Syntax error in query expression 'Title LIKE '%' %%';'. [B]My code:[/B] [CODE=asp]adoList.Open "SELECT * FROM qryOPAC WHERE Title LIKE '%" & varExp & "%';",CoNN,3,3[/CODE] tnx in advance.. Web Development asp | |
I dont clean the unnecessary namespaces that .net automatically generates. Is there any problem with that? Web Development asp.net | |
Hi all, I am looking for an ASP.Net 2.0 training (online/dvd/cd) - any recomendations? I am in the UK and have some ASP.Net experience. I am not looking for a class to attend, or lectures etc. I am looking for something I can complete either online or from a DVD … | |
hiii,,,i m using asp.net 2005 and sql server 2005 i m using gridview and sql datasource,,whn i debug the application i get ths error:::: ________________________________________ Format of the initialization string does not conform to specification starting at index 0. ___________________________________________________ can ne1 help me out with ths error,, thnks in … | |
I wish to put an image/icon beside the website address everytime a user visits my page. How can I do this in ASP.Net? Web Development asp.net | |
[code=php] <?php # Script 9.1 - login.php // Send NOTHING to the Web browser prior to the setcookie() lines! // Check if the form has been submitted. if (isset($_POST['submitted'])) { require_once ('mysql_connect.php'); // Connect to the db. $errors = array(); // Initialize error array. // Check for an email address. … Web Development php session web-browser | |
[code=php] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>Cycle Tracks Portal</title> <style type="text/css" media="all">@import "images/style.css"; </style> <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="rss/" /> <?php $date = ('l dS \of F Y'); ?> </head> <body> <div class="content"> <div class="topmenu"> <div class="date_"> <?php echo $date; ?> </div> </div> [/code] … | |
I need to use a Web conferencing system that does not require a download. I tried using one that uses Java but several of my clients had problems because their JVM was not compatible or they did not have a JVM installed. Is there a Web conferencing system with no … Web Development javascript | |
[code=php] $query = "SELECT username, password FROM adminprofile WHERE username='$u' AND password=SHA('$p')"; [/code] Just wanted to know what is the function of [COLOR="Green"]SHA[/COLOR] in the code above. I took this from a book and they don't have an explanation for that particular part. Please help. Web Development php | |
It's quite possible that this is impossible.. but here goes... I have some personnel data that is being reported in a table and in that table I have a field that holds a person's "title". Let's say the returned "title" results are "President", "Vice President", "Assistant To The President" and … Web Development php | |
So, I bought this script that's a bit buggy. I'm not sure if this is the only problem, but I'm getting T-String error in line 16 . If anyone could see what I'm missing, I'd really appreciate it. I'm very, very new with php... in fact I've only started to … Web Development php | |
already put the validation..it will prompt user the errors..but it query into database also how can i solved it?? [code] <table width="1000" height="95" border="1"> <tr> <td bgcolor="#0000FF"> </td> </tr> </table> <?php include("connect.php"); //this is your validation in the form,put it here.... if (empty($_POST['name'])) { $errors[] = 'Please enter a name'; } … Web Development php | |
Thanks in advance for checking out my problem. Here is a fictional version of the scenario I am trying to achieve - let's say you are searching for a Department of Motor Vehicles office closest to you. So you go to a website and you plug in your zip code. … Web Development asp.net | |
how would one go about loading up sql data into an asp.net (without using dataview, formview, detailsview etc)? any ideas? have my table marked up already and connection strings just need to know how to put the two together. Thanks for your time | |
Hi there I'm new to php and MySQL and I'm busy trying to build a page that when the administrator selects an item from a drop-down list, that has been populated from a database, it populates multiple text fields with the appropriate information from the database. For example, if the … Web Development php web-server | |
Hello all, in my ASP application i need to upload 6 images. for that i used u function. But the problem is it is operating well only for 1 image upload. And not for remaining 5. Can any one know about this why this is happening. Thanking You. Web Development asp image operating-system | |
Any help would be greatly appreciated. Goals: 1: Send a username / password based on a username and not someone remembering their email address. 2: If it's possible to send an encrypted key, which would be a link to pass_update.php which would make the user change their password. This is … Web Development php | |
First of all, please forgive my immature code.. I am a beginner and this is my first one. Could some body take a look at this and tell me why the data in my table is not populating? Thanks in advance for your time. The problem I am having is … Web Development php | |
There is a another-site such as : [url]http://his-site.com[/url] there is a form on [url]http://his-site.com/submit_something.do[/url] To access this page we need to go through login from [url]http://his-site.com/login.do[/url] Now i have my site - [url]http://my-site.com/[/url] i do have the login information for his-site i need to auto-login and access the form page … Web Development php | |
Yes it's should be simple.Can anyone tell me why this won't right a string in the flippin body? Thanks [code] <!-- Document : computer_object Created on : Feb 23, 2008, 11:47:50 PM Author : James Howerton --> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>computer_object</title> <meta http-equiv="Content-Type" content="text/html; … Web Development javascript | |
Okay, here goes. Learning PHP and am having trouble building a program that would let a client insert inventory in the database without having any knowledge of MySQL or PHP. Here is what I have so far: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; … Web Development php | |
First of all, I've just joined, so Hi to everybody. I'm also just starting to learn php, I have what I thought would be something simple but I keep getting this error Parse error: syntax error, unexpected T_STRING in /home/sites/poem-n-verse.co.uk/public_html/votes/process.php on line 8 Here is the code that I'm trying, … Web Development php |
The End.