39,320 Topics
| |
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 … | |
Hi, Just started picking up on PHP (from asp)... Going well. Like php a lot... except for........ My code is below... if someone can please help me get ALL the data from the $POST["catlist"] I would appreciate it. Firstly: To ensure all the contents of "catlist" are selected, chuck this … | |
Currently I build a website, and the idea is that the index (front page) will show entries from all users as well as a main picture. I have considered the possibility that you can let users choose a primary picture when creating a topic, but I want this to happen … | |
How can i put in the code below following, i pagination which should make an input box and write some numbers demek page to go there not to be shown in select her to choose me, but in the field to write :) function pagination($query, $per_page = 10,$page = 1, … | |
Hi! Im a noob to PHP but had to use it instead of ASP because I couldn't retrieve images from database using ASP + MS Access... Anyways.. I have couple questions: Number 1: How to retrieve and displaymultiple(!) images(jpg) from mysql DB? NUmber 2: I have a main page that … | |
I have already created profile pages, but they can only be seen by the person who is logged in. How can I make them public so that other people can view them? Basically I want to make it so that if the user is logged in, they can edit their … | |
how can i submit form values to server without refreshing page i.e using ajax.consider fname,lnm,gnd,dpk as sample form fields to illustrate this. | |
I have the following problem passing coordinate data from a web page to a php handler that will read and write the data to a storage file or a database. What I am asking the user to do is click on a line (a png image) which has attributed coordinates … | |
Hi, Yesterday I try to figure out that if we input day and the system will add day to current date and display result but I got problem example below input 1 day to add table 1st record 2012-05-05 Add 1 day 2012-05-06 input another 3 day table 1st record … |
The End.