52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for cambraydesign

I have an RSS feed that is called using javascript. What I would like to happen is that the information gets displayed as html when you view source instead of the javascript. Here's the javascript: [CODE] <script type="text/javascript" onload="$('div.rssBody').vTicker();"> $(document).ready(function () { $('#ticker1').rssfeed('http://feeds.bbc.co.uk/iplayer/highlights/tv',{}, function(e) { $(e).find('.homepageupdates').vTicker(); }); }); </script> <div …

Web Development html-css javascript php
Member Avatar for cambraydesign
0
239
Member Avatar for kristo5747

I built a very simple app using a PHP form with a bit of Javascript. In my form, I have a text input which I used to run a database search. In case I have multiple values, I have a bit of code that puts a comma in between each. …

Web Development javascript
Member Avatar for Troy III
0
179
Member Avatar for toplisek

I like to set trigger on Jquery based framework. [CODE] <!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> <title>Trigger scroll</title> <script type="text/javascript" src="jquery.js"></script> </head> <body> We have found an error on your page with form. Please modify this input field.<a id="scroll" href="javascript:void(0);">Please go go to …

Web Development javascript javascript-jquery
Member Avatar for stbuchok
0
182
Member Avatar for kikiwisaka

Hi... I am creating function searching on my web with drop down list, text box and button search. The following code: [CODE] <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="true" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged"> <asp:ListItem></asp:ListItem> <asp:ListItem Value="Pelanggan Rumah"></asp:ListItem> <asp:ListItem Value="Meter Besar"></asp:ListItem> <asp:ListItem Value="Kios Air"></asp:ListItem> <asp:ListItem Value="Pipa"></asp:ListItem> <asp:ListItem Value="Pembayaran"></asp:ListItem> </asp:DropDownList> <asp:TextBox ID="CariText" runat="server" Width="100px" Height="23px" CssClass="text_boxt_search"></asp:TextBox> <asp:Button ID="Find" …

Web Development asp.net session vb.net
Member Avatar for geniusvishal
0
325
Member Avatar for danielbala

Hi.. this is code to display the datas from db to web page .. im not getting the outputphp,mysql <?php $host="localhost"; $username=""; $db_name="dbname"; . mysql_connect("$host", "$username", "$password")or die("cannot connect"); mysql_select_db("$db_name")or die("cannot select DB"); $query="SELECT * FROM database"; $result=mysql_query($query); $num=mysql_num_rows($result); mysql_close(); echo "<b><center>List Of Employees</center></b><br><br>"; $i=0; while ($i < $num) { …

Web Development mysql php
Member Avatar for pritaeas
0
134
Member Avatar for vijayram

Hi everyone, how to create slideshow, user click album .all album picture display slideshow.

Web Development php
Member Avatar for WorksForWeb
0
80
Member Avatar for degroundshaker

I am working on a website where I have 2 php pages. 1st page: addfb.php 2nd page: fbadded.php Now, "addfb.php" contains a form with a text field and a submitt button with form action method set to "fbadded.php" Now whenever I click submit button on addfb.php, instead of going to …

Web Development apache php unix
Member Avatar for pzuurveen
0
333
Member Avatar for aldm

Hi, I'm trying to use Zen_Service_Amazon api but I have a problem. When I try to run this code on localhost: [CODE] <?php require_once 'Amazon.php'; //i've gor api key and secret key from my aws account $amazon = new Zend_Service_Amazon($api_key, 'US', $secret_key); $results = $amazon->itemSearch(array( 'SearchIndex' => 'Books', 'Keywords' => …

Web Development api php
Member Avatar for pzuurveen
0
401
Member Avatar for geniusvishal

Guys plz have a look: I tried to update a particular column by using a dropdownlist while editing inside a gridview... I am getting the following Error on updating... Unable to cast object of type 'System.Web.UI.LiteralControl' to type 'System.Web.UI.WebControls.TextBox' [URL="http://s19.postimage.org/ftytfxkyb/Error2.jpg"]http://s19.postimage.org/ftytfxkyb/Error2.jpg[/URL] I am using the following code: [CODE] <asp:GridView ID="GridView1" runat="server" …

Web Development asp.net
Member Avatar for geniusvishal
0
825
Member Avatar for tarunfuture

Hello Friends i ahve a drop down in which all the values are coming from the database now i have used ajax and jquery for getting the sub categories in another dropdown and its working fine but the problem is when i am using the name of the select box …

Web Development php
Member Avatar for tarunfuture
0
158
Member Avatar for scottymex

I keep getting this error from a working script since using Mysql 5.1 This data from the formshould go to the database with table called users and also sendconfirmation email with the details on using regmail. This works on other site but have to use 5.1 for this site and …

Web Development php
Member Avatar for diafol
0
140
Member Avatar for ebadi

Hi everyone: I am new with PHP, though I can do simple coding in PHP. I would like to create category section in the main page, as in some website you see as follows: Category-1 (20) Category-2 (13) Category-3 (5) 1- I want to use the similar technique, counting files …

Web Development php
Member Avatar for diafol
0
1K
Member Avatar for aiioef

hello~ i just join in this discussion ....er i am Chinese,so my English is poor i search this problem in Google,but i can't find some useful information some people said PHP version cause this problem... i use PHP 5.3.3 but i saw PHP 5.2.1 books [CODE]<html> <title> test </title> <body> …

Web Development php
Member Avatar for mohamedasif18
0
2K
Member Avatar for geniusvishal

Guys I am having problem restoring the database from a created backup file.. Actually the situation is like this: 1> I created a backup for my database from my office 2> I mailed that database to myself so that i could use it in my home.. 3> I tried to …

Web Development asp.net
Member Avatar for geniusvishal
0
121
Member Avatar for erik216

I have just download the class "MC_TABLE" I put mc_table.php and ex.php into folder there have fpdf.php I can run script to generate pdf file in this folder But I cannot use MC_TABLE class it says Call to undefined method PDF_MC_Table::MultiCell() I don't know what problem?

Web Development pdf php
Member Avatar for erik216
0
309
Member Avatar for mingis

Hey, I've been scratching my head over this all day, would be most grateful for any help. Basically I have two links (in an unordered list). I would like each link to load a form onto the same page. I have no problem loading the HTML content and displaying the …

Web Development html-css javascript
Member Avatar for mingis
0
314
Member Avatar for rishster

Hello,I'm doing a sample quiz for students.I have 25 questions displaying 1 question per page with a next button.I also manage to count its correct answers.And if all the questions have already shown from database,it prints that there are no more questions left.But I want to keep track of the …

Web Development php
Member Avatar for diafol
0
141
Member Avatar for Benjip

I'm stumped as to why this might be happening. A website I had completed for a client over a year ago, was working fine until a couple of days ago when the web host went and moved the site onto a new server without warning any of their customers (myself …

Web Development client-server php
Member Avatar for Benjip
0
242
Member Avatar for hyphymike

Ok So Im having a problem. Im trying to get a script to do this: Take info from Database: Players [LIST] [*]playerName [*]onlinetime [/LIST] Match playerName with playerName And put that info into Database: times With the Colums: [LIST] [*]playerName [*]1-24 [*]time1-24 [*]1-23 [*]time1-23 [*]etc etc for all dates. [/LIST] …

Web Development php
Member Avatar for diafol
0
311
Member Avatar for urbanthistleuk

Hi all, My apologies if this has been asked before, but I am unable to find any help with this problem I am experiencing. I have currently developed a mysql database with a php form that allow me to fill out all fields and check boxes which works fine and …

Web Development php
Member Avatar for urbanthistleuk
0
155
Member Avatar for akulkarni

A silly question I have by mistake deleted the label control in the toolbox..how do i get it back

Web Development asp.net
Member Avatar for sufyan2011
0
96
Member Avatar for Thevenin

Hi all I'm trying to have some jQuery movement on my HTML page. I have a div that I want to move from right to left, and another one from left to right. This is what I did: [CODE] #rectone { background: #0000FF; height: 10px; width: 100px; float:right; position: absolute; …

Member Avatar for Thevenin
0
188
Member Avatar for Chub97

I seem to be having a major problem with FFMPEG on my local test server everything seems to work fine the videos encode and everything. I moved all of this onto my new Windows 2008 Web Server, which uses IIS 7 and everything works I get no errors or anything …

Web Development microsoft php web-server
Member Avatar for Chub97
0
609
Member Avatar for klemme

I am having a problem defining these constants on my localhost: [CODE] define ('BASE_URI','C:\wamp\www\shop\'); define ('BASE_URL','http://localhost/shop/htdocs/'); define ('MYSQL','BASE_URI/.mysql.inc.php'); [/CODE] How exactly do I define BASE_URL, and BASE_URL using wamp which is located i the C directory. This gives me an 500 Internal Server Error. Regards, Klemme

Web Development php
Member Avatar for klemme
0
2K
Member Avatar for danielbala

hi...... i created my login page...everything is working fine. i want to know whether we can get the login date for each users when they login.. and when they login the date shud be posted in the database?? how to implement this...

Web Development mysql php
Member Avatar for danielbala
0
148
Member Avatar for Zrakot

All - Sure could use a fresh set of eyes on the following code .... as, I can not find the following error: Parse error: syntax error, unexpected $end in /homepages/xx/xxxxxx/htdocs/mysite/folder/index.php on line 6566 Have read that a possible cause for the error message is a missing curly bracket '{' …

Web Development file-stream php session
Member Avatar for blocblue
0
208
Member Avatar for ofir0803

I began to develop a simple coupon site. my db design Contains 4 tables: users deals category city when user purchasers a coupon i connect to getway payment service. in my accont at the getway service i can see all the transaction from my site. does it's meen that i …

Web Development mysql php
Member Avatar for ofir0803
0
115
Member Avatar for cvanithakpm

hi dear daniweb friends... please help me how to run jsp and what are the procedures need to do for running jsp

Web Development java-jsp
Member Avatar for masijade
0
82
Member Avatar for PF2G

Someone can tell me what's wrong with this codes? It doesn't appear the box with errors: envia.php [CODE]<!--BEGIN box correcao--> <style type="text/css"> /* Box Style */ .success, .warning, .errormsgbox, .validation { border: 1px solid; margin: 0 auto; padding:10px 5px 10px 50px; background-repeat: no-repeat; background-position: 10px center; font-weight:bold; width:450px; } .success …

Web Development php
Member Avatar for pzuurveen
0
156
Member Avatar for jdgieschen

It's the age-old question of checkboxes. I've got this code: [CODE] <?php require "connect_to_mysql.php"; // Start the SQL string $sql = "SELECT * FROM post_sec_all_stats WHERE 1=1"; if (isset($_POST ['dura_sch'])) { $sql .= " AND "; $sql .= "DURA_SCH = '" .$_POST ['dura_sch']. "'"; } if (isset($_POST['ctrl_sch'])) { $sql .= …

Web Development php
Member Avatar for pzuurveen
0
1K
Member Avatar for newbie14

Dear All, I have a problem where I can query more then 4000 lines the problem I already drill down is here. The problem is during the generation of the lines some how it takes some time then I get a not found page error. What can I do to …

Web Development pdf php
Member Avatar for broj1
0
4K
Member Avatar for geneh23

Hey everyone, So this is sort of complicated but I will try to make things as clear as possible. I have a registration page that processes all of the information and sends an automated email to the user with their username and password and a link to activate the account …

Web Development php
Member Avatar for geneh23
0
167
Member Avatar for akulkarni

Hello, I have created a master page in asp.net. I have three pages default.aspx,default2.aspx,default3.aspx which follow the master page. I have a content holder in the master page which holds a bulleted list with display mode as link button showing image on particular bullet click. But the image is shown …

Web Development asp asp.net
Member Avatar for abdul bhai
0
188
Member Avatar for accra

[ICODE]I have a script that checks usernames and passwords and it works fine when i put in a username and password ,but when the form is empty and i submit it ,it still login the person. I made some changes to the script,its still not working.Any help. [/ICODE] [CODE]<? session_start(); …

Web Development php
Member Avatar for diafol
0
150
Member Avatar for riahc3

Hey How do I make Apache Tomcat allow to interpret PHP as well? Allowing something like: [code] protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { response.setContentType("text/html"); PrintWriter out = response.getWriter(); out.println("<html><head><meta http-equiv='pragma' content='no-cache' /><title>Hello</title></head><body>"); out.println("<?php echo 'Hello'; ?>"); out.println("</body></html>"); out.flush(); out.close(); } [/code] Thanks!

Web Development apache java-jsp php
Member Avatar for riahc3
0
150
Member Avatar for concrete

How can I add a table around my code. I am new to php and I am woring on an assignment for Uni. When I try to add the table tags the layout gets messed up. Can some please help? [CODE]<form action="gradebook3.php" method="post"> <H4>Exam and Coursework Marks and Comments for …

Web Development php
Member Avatar for diafol
0
86
Member Avatar for issaru07

i having problem doing a echo with <img> , the image do not seems to able to display although there is not error message. please advice... thanks for your help. [CODE] $pic = $row["img"]; echo "$count.)&nbsp; $title, &nbsp;$price" ; echo '<img src="site_images/$pic" border=0>'; [/CODE]

Web Development image php
Member Avatar for pzuurveen
0
284
Member Avatar for Arjun_Sarankulu

I have main page as contain the frameset In that there are three frame 1)html page as 1.html 2)which shows the chart data as chartdata.php 3)the combox box with submit button click.php I want the combox box selected value in chartdata.php Can anyone say how can i achieve the same. …

Web Development php
Member Avatar for pzuurveen
0
92
Member Avatar for crazyitalian

Hi everyone and thanks in advance for and help you can give me. I am working on my "forgot password page" forgot.php. I am trying to query the database and and get a return of 0 or 1 then echo the appropriate response. this is the code I am using …

Web Development php
Member Avatar for crazyitalian
0
139
Member Avatar for jpknoob

Hello all, afetr receiving such excellent help regarding my first ajax file, i have received an error in my code that i have not encountered before. I have created a form with input fields and when the button is clicked, three functions are run, the first is an ajax call …

Web Development javascript
Member Avatar for jpknoob
0
333
Member Avatar for jdgieschen

Hopefully I don't have to put all my code in. I have 3 separate pages of php set up. I want a user to be able to go to my website and search a bunch of criteria to find a good school for himself. There are checkboxes, radio buttons, text …

Web Development php sql
Member Avatar for jdgieschen
0
272
Member Avatar for learner guy

[CODE] function displayResult() { var damn = document.getElementById("textyar").value; document.getElementById("oneforty").innerHTML = damn; var newDIV = document.createElement('div'); newDIV.className = "tweets"; var newspan =document.createElement('span'); newspan.className = "imagespanleft"; var img = document.createElement("IMG"); img.className="image"; img.src = "tweets/me.jpg"; newDIV.innerHTML = document.getElementById('textyar').value; document.getElementById('leftmaindiv').appendChild(newDIV).appendChild(newspan).appendChild(img); } [/CODE] this is the code , i m trying to create an interface …

Web Development javascript
Member Avatar for learner guy
0
1K
Member Avatar for vibhas

hello friends i wanted to use auto populate text box based on another select box using jquery ajax and wanted to pass values of both the check boxes to a php form and insert in db my code id : [B]index.php[/B] [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html …

Web Development javascript-jquery php
Member Avatar for pzuurveen
0
153
Member Avatar for Virangya

hi, i'm develping a system which opens a jquery dialog onclick of a image. but i fuond out that when an body wrap is there (a div) an it has a style [ICODE]float:left[/ICODE]. dialog opens after the page.. how can i fix this without removing [ICODE]float:left[/ICODE]? help needed soon. thanks …

Member Avatar for Virangya
0
197
Member Avatar for HasNor

Hi all, i've a problem for getting the other attribute from active directory. What i've to do if i want to get the 'email' and 'employee ID'? Actually i've done for getting the username and password. But don't know how to get the other. Please help me...

Web Development php
Member Avatar for jaspal.indivar
0
112
Member Avatar for Melow

Hy, I need to get the full path of a file trough JS/Prototype and all i get is the name file. From what I read on the web this is a security issue and it is not allowed. But still, is there a way?

Web Development javascript
Member Avatar for Melow
0
161
Member Avatar for subrata_ushasi

Hi, I am developing an website in wampserver which was working fine but when I installed Oracle 9i ,Oracle working but wamp server sopped .I edited the httpd.conf as follows : chaged port no "Listen 80" to "#Listen 12.34.56.78:8080 Listen 8080" and restarted wamp server but didn't work then I …

Web Development oracle php
Member Avatar for cereal
0
71
Member Avatar for Egnited

I am developing a [mobile] website that needs to allow visitors to send both an [B]image[/B] (which is on my server) and a custom [B]message[/B] to a friend's email using a PHP form. I have to keep it mobile-compatible, so I can't use java, etc. Here is my form so …

Web Development email image php
Member Avatar for sanks.sanks
0
1K
Member Avatar for tarunfuture

Hello Friends How can i update the textbox values with new values when i have already values in textbox in php

Web Development php
Member Avatar for tarunfuture
0
149
Member Avatar for JukesK

bit of a coding dilemma here.. If i have a php page (list.php) that works on its own when browsed to or put in Iframe, why would it not work correctly when the contents are either <?php include("list.php") or the code put directly into the index.php page The iframe version …

Web Development php
Member Avatar for JukesK
0
154

The End.