39,388 Topics

Member Avatar for
Member Avatar for ajay09payal
Member Avatar for IIM
0
178
Member Avatar for gogs85

I have error i have web site where want to users register this is code from index.php : <?php include ('include/header.php'); if (isset($_GET['id'])){ switch ($_GET['id']) { case "wallpaper": include ("include/wallpaper.php"); break; case "ringtones": include ("include/ringtones.php"); break; case "themes": include ("include/themes.php"); break; case "apps": include ("include/apps.php"); break; case "aboutus": include ("include/aboutus.php"); …

Member Avatar for gogs85
0
695
Member Avatar for fheppell

I need to connect to the wikipedia search API. Here is an example response <api> <query-continue> <search sroffset="10"/> </query-continue> <query> <searchinfo totalhits="169717"/> <search> <p ns="0" title="Intelligence quotient" timestamp="2013-04-04T05:15:12Z"/> <p ns="0" title="Test" timestamp="2013-02-23T01:15:05Z"/> <p ns="0" title="TeST Gliders" timestamp="2012-09-22T11:05:05Z"/> <p ns="0" title=".test" timestamp="2013-02-25T14:48:22Z"/> <p ns="0" title="Test cricket" timestamp="2013-04-02T18:49:54Z"/> <p ns="0" title="Test (assessment)" …

Member Avatar for fheppell
0
187
Member Avatar for rolanduk

Hy All I run a PPD website, so the members have to complete a survey before they can download a file. But after the survey they got this error, please see the pics. http://filemonster.org/images/97f448bf6398174f45e04ffc8ac964bb.png I didnt edit anything and check the file structure and didnt see any bad coding. I …

Member Avatar for rolanduk
0
441
Member Avatar for B0716L

Does anybody know any good websites to learn PHP? I design websites in html, css, and javascript... but I want to be able to do more by working with PHP.I have checked out Codeyear, and w3schools. So if anybody could just help me out that would be great =)

Member Avatar for sandeepek
0
104
Member Avatar for EmilyJohnson

Hello Everyone, Recently I have made a e-commerce site by using woocommerce (Wordpress plugin). I want to know how to integrate google checkout in the project. I have successfully integrated google checkout for single product manually. But I want to enable google checkout for whole site product. Any type of …

Member Avatar for EmilyJohnson
0
909
Member Avatar for sagisgirl

hi everyone, i've got quite similar with displaying user's information. i've 2 form(K8 Form and K9 Form). To displaying user's information in K8 Form, i used the method with the way you guys taught me. and then after the user fill up the K8 Form, the K8 Form information will …

Member Avatar for masterjiraya
0
360
Member Avatar for eltonpiko

hi all i have a script on an account on my server. i need to get access to phpmyadmin to retrive its database. the problem is that the domain for that account has expired. the only way for me to get access, is to log in with the root account …

Member Avatar for eltonpiko
0
170
Member Avatar for momonq1990

</head> Code blocks are created by indenting at least 4 spaces ... and can span multiple lines <body> <script type="text/javascript"> function show_confirm($uid) { var r=confirm("Press a button!"); if (r==true) { <?php header(location: sample.php?id=$uid)?> } else { alert("You pressed Cancel!"); } } </script> </head> <body> <input type="button" onclick="show_confirm($uid)" value="delete command " …

Member Avatar for masterjiraya
0
290
Member Avatar for brainfo

how can i create multiple files into multiple zip at once. For eg : I have file1, file2 file3.... etc. to file1.zip, file2.zip2 file3.zip..... at once..is it possilbe..

Member Avatar for masterjiraya
0
145
Member Avatar for kiLLer.zoh_1

i having these two annoying errors plz help me out how to fix these. Warning: array_push() expects parameter 1 to be array, boolean given in D:\xampp\htdocs\simple_blog\inc\functions.inc.php on line 31 Warning: array_pop() expects parameter 1 to be array, boolean given in D:\xampp\htdocs\simple_blog\index.php on line 20 <?php include_once 'inc/functions.inc.php'; include_once 'inc/db.inc.php'; $db …

Member Avatar for masterjiraya
0
170
Member Avatar for Daniel Claff

hey everyone, actually i am creating a website in which data is queried from mysql. in mysql table one of the attributes is in form of hyperlink. When i am displaying the result it is in normal text but i want a hyperlink as the result is displayed so please …

Member Avatar for masterjiraya
0
269
Member Avatar for skliz

I am generating time with a sql script $query = "select current_timestamp as time"; When my system time is in 24 hrs format it returns a 24 hr format time. but when it is 12 hrs format it returns a 12 hr format time. But I want my time to …

Member Avatar for diafol
0
182
Member Avatar for branding4you

Ok so I saw the few posts here, none do what I need mine to do, and for some reason it does not work. I upload CSV files to webserver (bank statement) 5 fields - it inserts into a MYSQL DB. Numbers dates are all formated correct etc etc. This …

Member Avatar for branding4you
0
222
Member Avatar for Jfunch

I was hoping to find someone with shopping cart and paypal experience. I'm learning how to integrate paypal with my website, but I'm having touble getting logging in my mock buyer paypal account from the paypal checkout page. My payment button on my site seems to work fine and takes …

Member Avatar for LastMitch
0
893
Member Avatar for Daniel Claff

hey please help me actually i have used the command as part of program <?php echo "<a href= echo '$Geneprocess'>$Geneprocess</a>";?> getting a hyperlink bt when i am clicking over it it gives an error for all the hyperlink.... the error is Object not found! The requested URL was not found …

Member Avatar for Squidge
0
248
Member Avatar for pritaeas

Here's my base class and class for the unauthenticated DaniWeb API calls. Not every method has all features implemented yet, and it's not been fully tested either. Here's how to start using it: include 'DwApiBase.class.php'; include 'DwApiOpen.class.php'; $dwapi = new DwApiOpen(); $result = $dwapi->GetMemberActivityPoints(94719); $result = $dwapi->GetMemberEndorsements(94719); $result = $dwapi->GetMemberReputationComments(94719); …

Member Avatar for pritaeas
2
429
Member Avatar for hbm11

How would I add a birthday section to this section of code? $tbl_users = "CREATE TABLE IF NOT EXISTS users ( id INT(11) NOT NULL AUTO_INCREMENT, username VARCHAR(16) NOT NULL, email VARCHAR(255) NOT NULL, password VARCHAR(255) NOT NULL, gender ENUM('m','f') NOT NULL, country VARCHAR(255) NOT NULL, avatar VARCHAR(255) NULL, ip …

Member Avatar for Squidge
0
146
Member Avatar for AARTI SHRIVAS

is it possible to show alert box when mouse is on start button or on task bar or on menu bar means other place except website if any one have any idea about this plz reply me my client want this functionality in exam website

Member Avatar for LastMitch
0
245
Member Avatar for diafol

OK, as promised, here's an updated 'quick(!) and dirty' class for retrieving and setting data via the Daniweb API. It allows the extraction of data based around: # DATA RETRIEVAL & SETTING # ## non-OAuth ## * forums * articles * posts * members * activity points * endorsements * …

Member Avatar for LastMitch
2
552
Member Avatar for jessicam93xx

Im developing a web chat and was wondering, when Im displaying recent messages how do I get individual usernames to display. For example: when i log in as a user and send a message, it shows that its from me, but when I log in as a different user, all …

Member Avatar for skliz
0
919
Member Avatar for kiLLer.zoh_1

$e = retrieveEntries($db,$id); i m passing db connection and entry id to function and function returning mein one when i check with print_r $e is not returning please help me out here is the function function retrieveEntries($db,$id=NULL) { if(isset($id)) { $sql ="SELECT title,entry FROM entries WHERE id =? LIMIT =1"; …

Member Avatar for skliz
0
129
Member Avatar for cssweb

hello, how are you, i have an idea and want to apply it. i have two tables the first one is called topics and the second is sections these sections contains these columns sections: section_name | sec_id topics: topic_name | topic_id and i want to select every section with their …

Member Avatar for cssweb
0
422
Member Avatar for jessicam93xx

Hey, I was wondering how do I add foreign keys in php MyAdmin? I tried changing the storage type to innoDB, but the option is not available to me ? any ideas ?

Member Avatar for IIM
0
291
Member Avatar for skliz

In my project I have a folder called library. the folder contains essential scripts that other php files call from so I am trying to secure this folder so that no body would be able to access the directory from the url. But I dont know how to do this. …

Member Avatar for diafol
0
159
Member Avatar for skliz

Please can any body help me with a simple script on how to write an ajax longing in php. I doing some on chat and have been using the old polling. so I want to switch to long pooling. so the browser would only display messages when there is a …

Member Avatar for pritaeas
0
1K
Member Avatar for Wailintun

Hi! everyone, Can someone tell me about this in drop down menu? http://www.siteexperts.com/dhtml/ch9/chapter/samples/map1/switch.htm Thanks for your time.

Member Avatar for diafol
0
62
Member Avatar for Gloak

I am designing my very own first web page. It's a real estate page where some users will add open house information while others can pull the info out. The code for the database and the web is very good (after two months...) and inserting and getting data is sweet. …

Member Avatar for LastMitch
0
1K
Member Avatar for civirol02

<?php $startdate = date('Y-m-d H:i:s'); echo $startdate."</br>"; $offset = strtotime("+1 day"); $enddate = date("Y-m-d H:i:s", $offset); echo $enddate."</br>"; $newamount = $availablequantity - $quantity; if($enddate > $startdate) { if($availablequantity != 0) { $sql = mysql_query("UPDATE size SET quantity ='$newamount' WHERE id ='$item_id'") or die (mysql_error()); } //$sql = mysql_query("UPDATE size SET …

0
87
Member Avatar for CHELKAL

i want to know phonegap to php connection. example $ajax({ } with json then php form return result i need a code for both phonegap html and php

Member Avatar for LastMitch
0
33

The End.