52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for bipies

Hi everybody! Well my question is as follows, I need to search for a div with a specific ID using php under wordpress, till now I found images and links, but I need to find a specific div ID and copy it, for now tested with this: [CODE] $html->find('$html->find('#divid');'); $html->find('div[id=divid]');[/CODE] …

Web Development html-css php seo
Member Avatar for bipies
0
545
Member Avatar for bishaw

Hello friends i'm new in php programming, i'm using wampserver with php5.3.5 , but it shows error on this code [CODE] <?php $to = "bkstha2010@gmail.com"; $subject = "Test mail"; $message = "Hello! This is a simple email message."; $from = "someonels@example.com"; mail($to,$subject,$message,$headers); echo "Mail Sent."; ?> [/CODE] as well as …

Web Development php
Member Avatar for IIM
0
171
Member Avatar for rakeshsp

Hi Guys, Help me solve this... First I fetch values from DB and shows it in a table with check boxes. Once clicking OK button, it shows selected check box values. User modify any values and click edit, it should update the DB. I don't know where to fix the …

Web Development php
Member Avatar for diafol
0
167
Member Avatar for ashiiiish

How to limit the number of checkboxes to be selected using php???

Web Development php
Member Avatar for ashiiiish
0
129
Member Avatar for ebanbury

Hi I'm currently creating a property website and it allows users to submit upto 7 images/property. Currently on clicking the 'submit' button to Add A Propety my code checks for image size, file type and then moves the file from a tmp location to images/propertyimages file. All the images from …

Web Development image php
Member Avatar for ebanbury
0
216
Member Avatar for dips255

I have created a subdomain mapped to a sub - directory of the website. The default page of the sub directory ([url]http://www.mydomain.com/foldername/default.asp[/url]) works fine, but [url]http://foldername.mydomain.com[/url] shows error Microsoft OLE DB Provider for ODBC Drivers error '80004005' [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified …

Web Development asp
Member Avatar for dips255
0
123
Member Avatar for asif49

I've been learning php and following the examples on w3schools until I came to this example and now I'm pretty stuck after having tried to make it work for countless hours. This is the bit I'm on: [url]http://www.w3schools.com/php/php_mail.asp[/url] I try to send the email using the following code: [CODE]<?php $to …

Web Development php
Member Avatar for asif49
0
281
Member Avatar for skiabox

I am reading murach's book about jsp and servlets. He uses netbeans(I am using intellij idea) and I am at a point when he uses the META-INF folder that netbeans creates to save a context.xml file there that contains a Resource tag with information about a connection pool. The problem …

Web Development java-jsp
Member Avatar for skiabox
0
290
Member Avatar for programmer12

Hi i just created a website for my church and the IE 9 is displaying it wrong.. Can some1 plz take a look at it and get back with me on why its doing that? [URL="http://www.lgm70.org"]www.lgm70.org[/URL] When i looked at it in IE 8 it shows everything that I created …

Web Development php
Member Avatar for programmer12
0
137
Member Avatar for tunde011

Hello, I have a js script that produces a calendar and will like to move previous and next. When page loads it checks if month, year is already defined or else use the current month, year. and when the previous button is clicked calculate the previous month and change the …

Web Development javascript
Member Avatar for Airshow
0
325
Member Avatar for vamshidhar66

Hi Frns, Am new to PHP, can anybody please tell me how to include a calendar in a form... Thanks in adv..

Web Development php
Member Avatar for vamshidhar66
0
59
Member Avatar for EngSara

Hello, I am trying to make a page which has some pictures and the user can view more pictures by clicking an arrow to scroll horizontally. So, how I can do the horizontal scrolling?. Thanks,

Web Development asp.net
Member Avatar for aspproject
0
109
Member Avatar for dwinn

Hello, I was wondering if somebody could help me... I have created a user login page for my website in VB.Net and ASP.Net. At the moment, a user logs in with a username and password that has been hardcoded in to my script. I now need to take it further …

Web Development asp.net vb.net
Member Avatar for dwinn
0
152
Member Avatar for jaskiratj

in my project i have made 2 master pages....now the problem is when i try to apply a new sitemap on the second master page...it does not configure according to the new urls...i mean the new sitemap does not gets binded up...in my treeview...it shows the list according to the …

Web Development asp.net
Member Avatar for aspproject
0
81
Member Avatar for sherinpoulose

I am using visual studio 2008 to develop the web application. but I am not using the login controls in asp.net for logging in of users.I created my own new user registration aspx page and login page.i have my own sql database.logged in user details are now successfully entered into …

Web Development asp.net visual-studio
Member Avatar for aspproject
0
135
Member Avatar for suvisoya

hi can anyone help to my problem .i had a normal form in asp.net 2008 and when i redirect the same page data wants to maintain in same contorl and i need to maintain selected tree node too so please help how to maintain data after redirect same page thanks

Web Development asp.net
Member Avatar for aspproject
0
88
Member Avatar for aldm

Hi, I'm working on one php project without using framework and I want to form nice urls without tons of get parameters and ? and & characters. I know this could be solved in zend using controllers and actions and I'm looking for somerhing simillar. On my site, I have …

Web Development php
Member Avatar for aldm
0
264
Member Avatar for Dorar

[B]I want to learn by myself any one of web development languages. i dont have an idea about which is best to learn PHP or HTML or CSS or do i need to study each one in order to use each one for some purposes.. what is the difference between …

Web Development html-css php
Member Avatar for twiss
0
2K
Member Avatar for jrotunda85

For my new code that I'm developing, I have a text box where a user will type in a date as follows: [B]MM/DD/YYYY (e.g. 05/19/2011)[/B] This date then needs to be converted and inserted into a date/time field on a mySQL database. I've been trying to play around with this …

Web Development javascript mysql php
Member Avatar for divyakrishnan
0
1K
Member Avatar for nisrin

im creating a website that deals with the monthly reminders (extracted from Oracle) for my members for a school project. Should I create a login page using JSP or servlets? I am unfamiliar in both the languages. Will I need to establish my connection for each page if I use …

Web Development java-jsp oracle
Member Avatar for javaAddict
0
1K
Member Avatar for swilliamrobert

Hi, I want to destroy session when user close the browser tab or window in PHP. Please give me sample code. Thanks in advance. William

Web Development php session
Member Avatar for divyakrishnan
0
214
Member Avatar for rpv_sen

Hi Friends i have some problem in update my dynamic text box value for particular id alone, i want to update only the 2 column fields into my database, i have used the below code. i am not able update the fields into my DB. Please help me to solve …

Web Development mysql php sql
Member Avatar for rpv_sen
0
3K
Member Avatar for rowly

Hello Guys, we just created a website using sharepoint 2010 and we implemented a booking system inside this website. we used a bamboo calender plus webpart as a booking system. now getting to the problem. there is a link inside this webpart where we click to enter new item(equipment booking). …

Member Avatar for Airshow
0
219
Member Avatar for grabit

Hi Folks I have a problem that really has me stumped If you can please have a look at [http://oldbusman.co.nz/productDetails.cfm?ID=9](http://oldbusman.co.nz/productDetails.cfm?ID=9) the "add to Cart' table has an up/down arrow to adjust the quantity being ordere, and this has a function in the page to stop it going any lower than …

Web Development javascript
Member Avatar for Airshow
0
269
Member Avatar for geekme

I work on ubuntu 10.10.Please suggest me a php editor or IDE that I can use so that it highlights my syntactical and other errors.I currently use gedit which does not helps much with detecting typing errors. Regards.

Web Development ide php ubuntu
Member Avatar for iyngaran
0
153
Member Avatar for uselessninja

hi people.......i've already had my mysql table displayed in html......how can i update the table (a specific row or a the whole table maybe) ...by clicking the HTML table? .... btw i already a update feature im my document (1 text field and 1 button) but i want to update …

Web Development php
Member Avatar for uselessninja
0
77
Member Avatar for PinoyDev

Good day to everyone! I just want anybody to correct my code. The code tells that when i click on the button it will dispay a msg that will confirm if the client really wants to add the information, If yes then he will be redirected to another page, if …

Web Development php
Member Avatar for ivancarrascoq
0
2K
Member Avatar for cjohnweb

I am having trouble with a PHP foreach loop....I know how they work, I think I'm getting unexpected results. A bug perhaps? Am I missing something? [code] if(is_array($array)){ foreach ($array as $k => $v){ echo "<b>#$k</b><br />"; foreach ($v as $kk => $vv){ foreach ($vv as $kkk => $vvv){ if($kkk …

Web Development php programming-construct
Member Avatar for pritaeas
0
244
Member Avatar for apanimesh061

[ICODE] <!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> <title>Events !</title> <script type="text/javascript"> window.onload = function() { document.getElementById('anImage').addEventListener('click', function() { alert('F-15 Tomcat'); }, false); document.getElementById('anImage').addEventListener('click', function() { alert('F-15 Tomcat again !'); }, false); document.getElementById('anImage').addEventListener('click', function() { Alert; }, false); } function Alert() { alert('This is a Two …

Web Development asp.net html-css
Member Avatar for stbuchok
0
129
Member Avatar for navi17

I have lots of pets in a dropdown. what i want to achieve is that when ever i hover on dropdown, it will display the image of particular pet as a popup. Any idea how can i achieve that?

Web Development image javascript-jquery php
Member Avatar for diafol
0
101
Member Avatar for dmelgray

When I do the initial install I get this: Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'localhost' (10061) in D:\Hosting\6585577\html\rhythmmovement\install\index.php on line 18 Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in D:\Hosting\6585577\html\rhythmmovement\install\index.php on line 19 Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource …

Web Development advertising flash html-css php
Member Avatar for diafol
0
208
Member Avatar for ton7io69

I am currently using iframe to boost my youtube video views, EXAMPLE: <IFRAME SRC='http://youtube.com/VIDEO' SCROLLING='no' WIDTH='1' HEIGHT='1' FRAMEBORDER='no'></IFRAME> I would like to know how to do the same thing in PHP? Can someone please send me an example of an almost invisible iframe as above but only in PHP. Sorry …

Web Development php
Member Avatar for diafol
0
84
Member Avatar for heshanm

Hi all, I want to perform cash transactions such as cash deposits and cash withdrawals in my project.Here i have created a page called [B]transaction.php[/B] to fulfill those requirements.But there were few error which i need your help to sought it out.. [B]account[/B] (account_number, account_type, fd_period, account_balance, account_interest ) [B]transacion …

Web Development php
Member Avatar for ko ko
0
115
Member Avatar for wickedBlast

Hello community! My first post here. (might probably have been under c#.. filename.asp.cs) I have a web AD management project undergoing as I am currently at testing.. the interface *yay* Extent of the project; pulling a list of employees managed by Mr X. Edit specific fields. I'm building my interface …

Member Avatar for wickedBlast
0
276
Member Avatar for hajjo

Hi, I have a page with data like this. ----------------------------------------------------1st paragraph ---------table ------2nd paragraph I want on page scroll, the table headers to remain fixed until table data is over and it reached second paragraph. Any way to do this? I dont want to do another scroll in table body. …

Web Development javascript
Member Avatar for hajjo
0
218
Member Avatar for bangla

Hi, I was thinking to put people business contact information in my site with their email, phone, address(like list of doctors, lawyers, accounts, ...) in my site. I will collect those information from different news papers. Am i allowed to put those information in my site or i have to …

Web Development php
Member Avatar for bangla
0
186
Member Avatar for apanimesh061

What is the difference between property1 and property2 in the following code? [ICODE] // create object a var a = {}; // Add property1 to a a.property1 = 1; // Add property2 to a a['property2'] = 2; // Add function 'function3' to a a.function3 = function() { return this['property1'] + …

Web Development javascript
Member Avatar for stbuchok
0
193
Member Avatar for Luckychap

This is my first step towards HTML5. This is currently tested on Chrome browser where it is awesome. It will not work on FF and definitely not on IE. I am working on it. Just copy-paste the code in blank html file and run on chrome. 'Scroller' is simple menu …

Web Development html-css javascript
Member Avatar for Luckychap
0
1K
Member Avatar for chompchomp

Hi All, I did a search on DaniWeb but didn't manage to find a solution to this problem. We've got some pretty simple javascript that calls a random html file into a div on a very simple page. The called file contains a vimeo embed in an iframe. This script …

Web Development javascript web-browser
Member Avatar for chompchomp
0
296
Member Avatar for superbass

Hello, I'm trying to populate a form with information from a database based on a textbox entry. However, when I begin to key in the textbox I receive "undefined" in each textbox throughout the form. Can someone take a look at my code for any errors? It also appears that …

Web Development javascript
Member Avatar for superbass
0
175
Member Avatar for apanimesh061

[ICODE] var a = { one : 1, arr : ['one','two','three'], doThis : function(){return 20;}, two : 2 }; var html = 'a.one = ' + a.one + '<br/>'; html += 'a.arr[0] = ' + a.arr[0] + '<br/>'; html += 'a.doThis() = ' + a.doThis() + '<br/>'; html += 'a.two …

Web Development asp.net javascript
Member Avatar for urtrivedi
0
174
Member Avatar for garromark

Hello, My problem stems from reading an image from the local disk and displaying it. There's a middle step of storing it in a database, but I simplified the problem into this test script that replicates the error: The image "http://example.com/test.php" cannot be displayed, because it contains errors. test.php looks …

Web Development image mysql php
Member Avatar for maxterner
0
308
Member Avatar for knitex

So I'm kinda new to php. I've made a search but i'm looking for some help so that i can add more inputs and it will narrow the results down. for example i search "John" and 100 johns come up. But then i search "john" and then select Canada only …

Web Development mysql php seo
Member Avatar for karthik_ppts
0
152
Member Avatar for iau

inside my database, there is a table name january such as: id | code | 1 | 2 | 3 | 4 2 | 0000 | X | X | O | O when i access the data using PHP and parse it into an array e.g. $array1, It became: …

Web Development mysql php
Member Avatar for urtrivedi
0
69
Member Avatar for aithabuddy

Hi I have a problem with the mysql query that uses both order by and limit.Following is the sql query i'm using, select * from temp where venue <> '' and cat1 = 'sports' and id < 74528 order by id desc limit 10; in this temp table 'id' is …

Web Development mysql php
Member Avatar for karthik_ppts
0
169
Member Avatar for atfOnly

Dear all, I need your help :) i have array like this--> $myarray([0]=>a,1 [1]=>b,2 [2]=>a,2 ) i want to split each of the array element, i want to retrieve the part a and b of each array elemet and (maybe) store it in different array like this: $myarray1([0]=>a [1]=>b ) …

Web Development php
Member Avatar for atfOnly
0
137
Member Avatar for jacob21

Hi, I am fetching data from database & using pagination(showing 10 records per page).What i am trying if i want to print records between 20-30,I can print only these records(20-30). or by using search if i get 4 result ,can print only 4 records. Need suggestion

Web Development php
Member Avatar for karthik_ppts
0
1K
Member Avatar for ashiiiish

I am in a great hurry please someone tell me how to populate checkboxes based on the dropdown menu selection if possible please give the code

Web Development javascript
Member Avatar for ashiiiish
0
72
Member Avatar for naru vaishnaw

here is my code for image upload. after upload successfully i want to go my mainpage.php page . i am using iframe to display upload form. how to go mainpage. please anyone help me for this problem . [CODE] <?php include("connect.php"); $_SESSION['MM_Username'] ; $username=$_SESSION['MM_Username']; if(isset($_POST['submit'])) { //get file attributes $name=$_FILES['myfile']['name']; …

Web Development php
Member Avatar for divyakrishnan
0
110
Member Avatar for divyakrishnan

Hi I want to set focus to a text field on a php page which is loaded by ajax. The javascript file for ajax is shown below [CODE] <script> function menu_change(str) { if (window.XMLHttpRequest) { // code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else { // code …

Web Development javascript
Member Avatar for divyakrishnan
0
106

The End.