39,316 Topics

Member Avatar for
Member Avatar for laura301019

Hi, ive a piece of code which i have to modify so that the output is modified to appear as a table. The code is to do with buying songs etc, the output is Beatles Abbey Road Come Togeher Something Revolver Taxman Yellow Submarine Eleanor Rigby Oasis Be Here Now …

Member Avatar for LastMitch
0
219
Member Avatar for jessicam93xx

I have seen this in a few posts, but i still cant seem to find the problem. Im basically trying to log in to a chat page and don't know what I'm doing wrong. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <?php //Start a session session_start(); //Setup and use …

Member Avatar for pritaeas
0
304
Member Avatar for Martin C++

Hello, I want to delete a user from database and destroy the session after he has been idle for some time, lets say 5 mins. How can I do that ? For starters, how to check if the user is idle? I need it mainly for when a user closes …

Member Avatar for pritaeas
0
210
Member Avatar for johndohmen1963

Hi hope someone can help me with the following I am creating a webpage in different language with ip2country. i use the following code COMMON.PHP session_start(); header('Cache-control: private'); // IE 6 FIX header('Content-Type: text/html; charset=UTF-8'); if(isSet($_GET['lang'])) { $lang = $_GET['lang']; // register the session and set the cookie $_SESSION['lang'] = …

Member Avatar for johndohmen1963
0
403
Member Avatar for bassanio

am looking for a php code that can link column of symptom checker like system n process data on that database....for example column one has symptom of a computer virus user selects, column two the choice he or she has selected then column three the possible attack or conddition...plis help …

Member Avatar for jkon
0
116
Member Avatar for Vingklippt

I am trying to automatically resize the iframe to fit the content. Works great in chrome, firefox and opera. Fails in Internet Explorer. Ideas? <html xmlns="http://www.w3.org/1999/xhtml"><head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Leontinas</title> <script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript"> var framefenster = document.getElementsByTagName("iFrame"); var auto_resize_timer = window.setInterval("autoresize_frames()", 20); function autoresize_frames() { for …

Member Avatar for Squidge
0
256
Member Avatar for hanan-kh

The programming page to view all the headlines and made the title link when pressed refer you to the details page, but unfortunately when the conversion page details are not shown to any details on the page <a style="color: red;" href="newspage.php?id=<?php echo $rows[0]?>"><?php echo $rows[1]?></a> the details page code ..... …

Member Avatar for hanan-kh
0
231
Member Avatar for Venter

<html> <body> <input type="text" name="cname" value="" onkeyup="shownames()"> </body> </html> Finally the thing is when ever user was input the text it should display the name from database dynamically. The user Should have capable to select the name generated from database. I'm Searching for jquery plugins if any one Knows Please …

Member Avatar for paulkd
0
161
Member Avatar for diafol

# As of 4/4/2013 # This class has now been updated and posted here: http://www.daniweb.com/web-development/php/code/451674/all-in-one-daniweb-api-class# # ORIGINAL POST # This code can be used to retrieve a forum list with various options with regard to display. This class could be extended for articles, posts, etc etc. The retrieval methods include …

Member Avatar for diafol
3
453
Member Avatar for zerotolerance

I have a piece of code: // trainer query $query = "INSERT INTO ".TBL_USERS." SET username = :username, password = :password, alliance = :alliance, avatar = :avatar, gender = :gender, usersalt = :usersalt, userid = 0, userlevel = $ulevel, email = :email, timestamp = $time, actkey = :token, ip = …

Member Avatar for jkon
0
119
Member Avatar for beginnerpals

I have a form which is like a question paper. It has multiple text fields for entering a question and related information like marks allotted for that question, complexity level, tags in that question etc. I enter all this info into my db. **Tags are the keywords in that question**. …

Member Avatar for beginnerpals
0
237
Member Avatar for SomSamui

I have the follow code. And what I like to have, is, the value from the select1 in the 2. Form, input "girl" value. But I do not know, how to do... I always have an empty value in the 2. form. <?php mysql_connect("localhost:8888", "root", "root") or die("Connection Failed"); mysql_select_db("usr_web202_9")or …

Member Avatar for SomSamui
0
234
Member Avatar for tAALz

I'm looking for something like this [Click Here](http://screencast.com/t/gTJFzquJ) Lets say I have bucket A of items: * Name * Email * Phone * City * Country * Sex I have another bucket B in which I can put the items of my choice: * Name * Email * Sex I …

Member Avatar for LastMitch
0
109
Member Avatar for Tko_1

hello i only want to reshresh a part of a page <?php include 'index.php'; ?> is this possible ? Thank you

Member Avatar for LastMitch
0
70
Member Avatar for Ctechnology24

Guys can I connect my vb.net program to my php website's database even if I already uploaded it in a web server, is the database that will be use by my PHP is the database that I made in my PC? please help me because this is the first time …

Member Avatar for LastMitch
0
158
Member Avatar for gayu82patel

I have PHP page and i am trying user can update phone number when click on EDIT button. For that i created 1 button and when user click on EDIT the button changed to SAVE and now user enter phone number and press save button. Now user click save button …

Member Avatar for masterjiraya
0
2K
Member Avatar for pritaeas

## RSS Class ## The code snippet is a PHP class for retrieving RSS feeds from the DaniWeb website. There are two exposed methods, one for retrieving the list of predefined article types, and another to get a specific RSS feed. If you pass parameters to this method, there is …

Member Avatar for pritaeas
1
542
Member Avatar for mogaka

I have a list of columns of table that holds boolean values. consider a,b,c,d,e,f,g,h as column names with **YES** or **NO** values. I want to query and list column names whose value is YES. can some write a mysql query that can list the columns. if a column has an …

Member Avatar for ajbest
0
164
Member Avatar for johndohmen1963

Hi hope someone can help me with the folowing How can i echo only the first letter of given words Example if i have: Jozef Margaretha Fransiscus i Want: J.M.F. Thanks

Member Avatar for minitauros
0
128
Member Avatar for dourvas

Hallo, I am trynig to built a poll system. i want to place it in a div of a php file. So i created a form that takes all the data that needs from 2 txt files (questions, options etc). When the user votes the vote.php executes. vote.php <?php $poll_file …

Member Avatar for dourvas
0
118
Member Avatar for cgull

I am using codeigniter 2.1.2 and Bootstrap. I am opening a form in a modal window. The form is inside a div with id status. The form has a few input fields and an upload file field. I am trying to submit the form with ajaxForm. In my controller I …

Member Avatar for cgull
0
1K
Member Avatar for unikorndesigns

Hi, I would like to know which is THE BEST platform to develop a web application which will be used by a huge amount of users. Is it PHP or ASP.NET? I am giving more importance to the application performance and security. Thanks!

Member Avatar for deceptikon
0
240
Member Avatar for notacoop

Hello I watched lots of tutorials but i can't find what i need. I have two fields `textbox1` and `textbox2` and 1 button `button1` WHen button button1 is pressed request is send to mysite.com/user.php?user=`textbox1`&password=`textbox2` ( i have the php code) and if the response is `exist` new form to be …

Member Avatar for deceptikon
0
129
Member Avatar for daniel36

I need in a project to be multi language.Can we show the html result or website content in other language from english with the help of google translat api.and how to use it in project.

Member Avatar for daniel36
0
157
Member Avatar for dudegio

Hello, I need help on how to integrate the passing of information in XML format from ASP.Net(from client) to PHP(my server). I've been searching for solution but cannot find accurate results. A sample code is very much appreciated. Thank you.

Member Avatar for pritaeas
0
570
Member Avatar for missy_mi

i wanted to do a feedback or contact us page where user can give feedback and automatically will be sent to a specific admin (example@gmail.com).. i encounter this error..i dont know what to do.. Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and …

Member Avatar for broj1
0
243
Member Avatar for josep1992

am an upcoming web developer .your articles have really helped me alot to accomplish so many things.thanks alot

Member Avatar for imBaCodes
1
83
Member Avatar for phpDave

Hi, I'm trying to update multiple rows with diferent values. The amont of values depends on the number of people created by the user. I created some code that works for only single row. Can anyone help? I'm not sure how to do this. <?php if ((isset($_POST["MM_update"])) && ($_POST["MM_update"] == …

Member Avatar for masterjiraya
0
284
Member Avatar for itsnexgen

Hello, I have an idea which i need to turn into reality. I am trying to build a complete AJAX based Auction Web Portal. What I know - PHP, AJAX a bit & HTML, Javascript and XML. Few questions in my mind: 1. Where should i start? What all required …

Member Avatar for LastMitch
0
203
Member Avatar for pritaeas

## API Mashup ## This example is a mashup of [diafol's class](http://www.daniweb.com/web-development/php/code/451428/daniweb-api-class-for-getting-forums), [Dani's parsing code](http://www.daniweb.com/api/documentation) and [my class](http://www.daniweb.com/web-development/php/code/451390/daniweb-api-rss-class). It uses diafol's dwAPI class to retrieve a list of all forums, loops through them, and uses my Rss class to get the respective RSS feeds. It will show each forum in …

Member Avatar for diafol
0
547

The End.