38,020 Topics

Member Avatar for
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
252
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
230
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
452
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
118
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
232
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 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
535
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 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
155
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
240
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
Member Avatar for Jothe

Hallo good people, I have been having an error of "Index doesn't exists in the specified directory" in my zend application. i have a controller called search and it looks like this class SearchController extends Zend_Controller_Action { protected $_indexPath = 'C:/xampp/htdocs/tbSurveillance/application/data/search'; public function init() { /* Initialize action controller here …

Member Avatar for LastMitch
0
249
Member Avatar for kiLLer.zoh_1

i have been using this code in creating blog i'm getting this error on exectute(array($title,$entry); line the error is Notice: Undefined variable: title in D:\xampp\htdocs\simple_blog\inc\update.inc.php on line 14 Notice: Undefined variable: entry in D:\xampp\htdocs\simple_blog\inc\update.inc.php on line 14 can any one please help me out. <?php if($_SERVER['REQUEST_METHOD']=='POST' && $_POST['submit'] =='Save Entry' …

Member Avatar for kiLLer.zoh_1
0
195
Member Avatar for AARTI SHRIVAS

i searched about it but not get the proper result how can i install CEON URI module in my zen cart can any one help me in that thanx in advance

Member Avatar for LastMitch
0
246
Member Avatar for dourvas

hallo there i had built a bunch of webpages and they ve been working fine for months. yestarday i installed this website to another computer after i instaled easyphp 5.4.6 (Apache 2.4.2, mysql 5.5.27 and php 5.4.6). it seems that nothing is working as it should. after i debug my …

Member Avatar for dourvas
0
186
Member Avatar for suncho26

Hi there, I have a classified website, built with custom PHP code. The problem is that the title of the entire site is the same. Attach files **index.php** and **pOffers.php**. Please give ideas on how to call from database the title of the listing. Tell me if you need more …

Member Avatar for Webville312
0
245
Member Avatar for jLamp

Dear Friends. When i going to UPDATE data of the database using UPDATE function in PHP, following message displays, What should I do? You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':_If_Any_01='Test', History_/_Remarks=NULL, …

Member Avatar for jLamp
0
188
Member Avatar for aisha.edris1

hi everyone thanx alot for helping me u solved me many problem so i need ur help again after i'm login and choose a movie that the person want to watch it i'm create table time and i insert the time for booking and the user will choose the time …

Member Avatar for aisha.edris1
0
183
Member Avatar for EdvinasSelskas

Hi everyone, I'm developing a music website and got stuck on this problem. Whenever a user submits a playlist from youtube, i fetch for video thumbnails and list them for the user. Here's the code: <? $site = 'youtube'; } $plID = str_replace("http://www.youtube.com/playlist?list=", "", $url); $xmlLink = "http://gdata.youtube.com/feeds/api/playlists/" . $plID; …

Member Avatar for EdvinasSelskas
0
904

The End.