39,326 Topics
| |
Hello all I am attempting to use PHP programming to execute a scripts to this link... http://ws.geonames.org/postalCodeSearch?postalcode=VARIABLE_ZIP&country=US. The VARIABLE_ZIP is the actual zip code entered into the form that will submit the information in the link above. The output of that link creates an XML page that i do not … | |
I know there are multiple variations of this question here, but not in this form. My Ledger table, in a basic form have the following columns. TransactionID | DateOfEntrydate | TransactionDate | ClientID | TrIsDebit | OpeningBalance | Amount | ClosingBalance DateOfEntry is a colums which stores time of insert … | |
Hey Let me see how I describe this.... I have a textbox (inside of a form) and that form also has a button that calls a Javascript function that does some unrelated stuff. This is all inside of Lightbox. I want to be able to type in text in that … | |
i have the following query: 1.$query="SELECT * FROM ab_service WHERE account_id=$account_id AND sku='".$sku."'"; 2.$query="SELECT * FROM ab_service WHERE account_id=$account_id AND sku='$sku'"; none of the above seems to work.the problem is with $sku var because when i dont put it as the condition, i get results.what is the problem ? the … | |
Hello, I am trying to move 20 someting websites from a 1and1.com shared hosting to a 1and1.com cloud servers.....I found an issues that I havennt been able to fix. For every single INCLUDE or REQUIRE I am now getting "open_basedir restriction in effect" I read about, and it seems to … | |
Hey Guys,, I'm new to PHP and and contact forms, I'm in need of help for the current website I'm making for a local sporting community. I have uploaded a current picture of what my contact us box (Name,Email,Message) looks like : As you can see im using a CSS … | |
Dear friends, I have this form (raffle_winner_form.htm) with the action in raffle_winner.php: <form name="form1" method="post" action="raffle_winner.php"> <label> Max numbers: <input type="text" name="max"> </label> <p> <label> <input type="submit" name="submit" value="calculate"> </label> </form> **raffle_winner.php** <?php session_start(); $session = session_id(); $number = mt_rand(1,$_POST[max]); ?> My intention is to show the random number in … | |
Hi there, I am looking for help to code a php mysql search form with 4 dropdown list. I want the user to search for accommodation establishments by using a citytown, tourism route, accommodation profile and accommodation tariffs. All this will be in the dropdown list which reflects the fields … | |
Dear experties, I need your help. I have a problem when i want to view user remark that view in 1 line without enter to the next line as user enter during create remark. But it's ok if I view that remark using text area but need to scroll.. how … | |
**Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/u377251981/public_html/foll.php on line 69 how to fix this error? please help me... ** <!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" lang="pt-br" xml:lang="pt-br"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/> <style type="text/css" media="all"> @import "style.css"; </style> <script type="text/javascript"> function … | |
Hi everybody, I have this error.anybody,plz help me.how to solve this problem. store all the data in database.but view the data in index page. nothing to display. lib/model/doctrine: class PlanbookTable extends Doctrine_Table public function updatePlanbook($data) { if ($data["id"]) { $planbook = Doctrine::getTable("Planbook")->find ($data["id"]); } else { $planbook = new Planbook(); … | |
So I have a book that help me out tremendously with my logins, but when I try to execute nothing seems to work, so I'm wondering if my query is wrong now, my database is bookmarks, the table name is user with fields of user_id, user_name and password, so with … | |
The following two are methods of joining two tables together but what I want to know is whether the two methods actually have any differences. I tested the two methods on two tables and they didn't give different results but maybe my two tables were just an anomaly. Are these … | |
This is a small php which will read the youtube RSS feed. What I want to do is convert it into object oriented. Using class and function. I am new to object oriented, can some body show me a way how and where to start with? I have read the … | |
<?php error_reporting(E_ALL ^ E_NOTICE); set_time_limit(0); $hd = mysql_connect("localhost", "root", "") or die ("Unable to connect"); mysql_select_db ("movie", $hd) or die ("Unable to select database"); $res0 = mysql_query("SELECT * FROM users", $hd) or die ("Unable to run query"); $count_users = mysql_num_rows($res0); $res1 = mysql_query("SELECT * FROM movies", $hd) or die ("Unable … | |
Hi all, Can anyone help me or give me an idea on how export data from mysql into multiple excel sheet using php? Below is the code I used to export data from mysql in a single excel sheet. thanks in advance [code] <?php $filename = 'filename.csv'; include 'connection.php'; $date … | |
hello every one i have created a code to create html table from php. simply user enter column and row no. and submit. this data will create a table for the same. now i want to put some names with this table. like each table column have a name from … | |
i have a problem, could anyone help me? basically my code is this: if (move_uploaded_file($_FILES['file']['tmp_name'], 'users/' .$_SESSION['ID']. '/' .$res['id'].'.'.$type)){ ?> <h align="center">Upload Successful</h> <?php } but when i use it in the web i get the following error: Warning: move_uploaded_file(users/8/3/) [<a href='function.move-uploaded-file'>function.move-uploaded-file</a>]: failed to open stream: No such file or … | |
Hi, Daniweb I have this code that works like this: i search for a product and it gives me the name, reference and the image of the product found. My problem is that the image doesn't appear. <?php require_once('Connections/futura.php'); ?> <?PHP $prod=$_GET['q2']; $sql_prod = "SELECT * FROM produtos WHERE nome … | |
I am using CKEDITOR on my website so that people dont have to write in html to post their articles. But I want to keep the website size as low as possible. Since my website overall is just over 3MB but CKEDITOR has more than 8MB. How can either reduce … | |
hi, i am about to rewrite an application that was written in zend 1.8. the owner complains that its quite slow so his default reaction is to rewrite it in any other framework of my choosing. the application is sometimes slow because they have not implemented any caching mechanism at … | |
Hi, I have an array with ID values. Let's say it looks like this - $a = array(23,4,56,21,9); What i need is to select rows with those ID's, but in exact same order as in the array. What would be the best way to do that? If i use MySQL … | |
Hi, i have started learning how to build wordpress themes and have a problem with the code below Please can you help me to find where the problem is? Thank You! <?php get_header(); ?> <section class="container layout"> <section class="page_title"> <div class="title">Blog style 1</div> <div class="slogan">Curabitur ultrices ultricies justo</div> </section> <div … | |
Hello, I'm going to be working on Lexical Analysis, but, both in Words / Characters as well as Integer values. The application will also allow input from both Text files, as well as passing the data through arrays, or variables. The Numeric analysis will be different from the Lexical Analysis … | |
Hi all I have been developing a Dynamic signature generator on my server and i have selected options that can be dragged and dropped onto a uploaded image using jQuery, I would like my dynamic generator to take a screenshot or somewhow save the designed layout of the sig to … | |
hi, i am currently building an application that depends on a third party application written in .net using a mssql server database. i am more of a lamp guy and prefer mysql. to extend the application i would need to add some tables to the database. i am currently thinking … | |
Say i have a list of items on a page . Now this list can be filtered by price ( in a simple POST form ) OR by discount (in another form element) OR by category links in the sidebar. Now if the user first filters by price and then … | |
Hi Please let me give code. I want to know how a admin can generate activation key code. so that admin can send an email with key code to download songs after receiving payment from customer through bank transfer. That key code need to expire after 2 days. How it … | |
Hey everyone, I'm working in a team on an IOS App and web app and the app relies on facebook pages to retrieve cafe names to let users check in the cafe they are at. But, the problem is that not all cafes have a facebook page.We would like to … |
The End.