39,323 Topics
| |
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 … | |
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 … | |
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 … | |
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); … | |
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 … | |
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 | |
| 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 * … |
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 … | |
$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"; … | |
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 … | |
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 ? | |
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. … | |
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 … | |
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. | |
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. … | |
<?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 … | |
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 | |
I have created a function that creates .xml files from input from a form provided in another script and saves the file in a network location. I got this working correctly, however, when i tried to convert it into a wordpress plugin (creating the .xml file from post meta data … | |
Hi I'm having got a problem with some of my code and can't figure out what it is. I'm receiving the following error: Parse error: syntax error, unexpected T_STRING in /home/a1907007/public_html/index.php on line 11 This is my code: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>31seconds</title> <link rel="icon" href="Images/Favicon.ico" url="image/x-icon"> <link … | |
hi i wan to add my `.xml` files into `database` and into the directory `uploads` . i have following done into the `php` if(isset( $_FILES["f_name"]) { $path = ""; if(file_exists("uploads/" . $_FILES["f_name"]["name"])) { echo $_FILES["f_name"]["name"] . " already exists. "; } else if($_FILES["f_name"]["type"]!= "text/xml") { echo "invalid type is tried … | |
Hello, I'm trying to validate specific fields in my PHP form, such as FirstName, LastName, etc. I've tried several techniques so far from various articles to confirm these fields and nothing seems to work at the moment. Here is the code: <?php $host = "xxxxxx"; $username = "xxxxxxx"; $password = … | |
Heya all, I'm using a special cakePHP plugin for displaying a fully fledged calendar. ([CakePHP full calendar plugin](http://bakery.cakephp.org/articles/silasmontgomery/2011/03/02/cakephp_full_calendar_plugin_2)) By clicking on an appointment in the calendar, the user is redirected to an edit screen, where he or she can change the date, time and a lot of other related data. … | |
Hello you all, I'm new here.. Hope it will become a good place for me. People are asking questions on bbPress support forums, but bbPress support looking inactive after 2.0 announcement. That's why I moved to DaniWeb. Let's see how developer community of DaniWeb will help me :) -- If … | |
hi everuone i have website but i cant connect to database for login & register how can i connect? here my code <?php $connect=mysql_connect("184.154.164.202","ahmedhay_royal","xxxxxxx") or die("couldnt connect to data base:".mysql_error()); mysql_select_db("ahmedhay_login",$connect) or die ("couldnt find data base"); ?> | |
I want to display pdf file in browser. odo1.php has the file to select the date. read.php will read the date from odo1.php. i have this files 2013-03-26_SAP.pdf, 2013-03-05_SAP and more to come. the name of this file is combination of date and outlet. when i change the `readfile($filename);` to … | |
Hi there, I'm wanting to display Tweets as blog posts in my website. I'm currently using a Wordpress plugin called Twitter Tools ([http://wordpress.org/extend/plugins/twitter-tools/](http://wordpress.org/extend/plugins/twitter-tools/)) to do this, and it works to an extent. So far I can get it to pull my tweet into the content of a post and publish … | |
Hello, I'm tring to develop a mysql news scroller for my website. The problem that i'm facing is that i need to have multiple mysql querys joing together beceuase i have multple categories like: select * from news where category LIKE '$cat1' order by id desc limit 1 select * … | |
hi all pls help me... im trying to display categories and its sub categories... but i dont know how to display subcategory.. ijust only know to display the category.. i created two tables in the database named tbl_category and tbl_subcategory in both table the field cat_id is common.... here is … | |
i have created a contact form in which captcha is inplemented.the captcha value is stored in session.i am storing value of session in a hidden input field due to ajax.but when i reload the page the session value in hidden field comes ,old value.here is my form- <?php session_start(); ?> … | |
What kind of security measures I have to take to develop Core PHP and MySQL projects ? I used session and encruption, which are basics, there are any security technologies for Core or advanced PHP ? |
The End.