39,320 Topics
| |
I have a dropdown list that is automatically populated with book titles from a database. When I select a item from the dropdown list I want a text area next to it to show the description of the book from the database. Is there a way to do this without … | |
Hi Peeps I have a bit of a problem with cookies showing on the homepage, will outline the problem below, well i think it is a problem. Fetching [url]http://www.reviewanygame.com[/url] ... HTTP/1.1 200 OK Date: Wed, 17 Feb 2010 04:18:03 GMT Server: Apache/2.2.3 (FH) X-Powered-By: PHP/5.2.11 Set-Cookie: [COLOR="Red"]PHPSESSID[/COLOR]=pg40edbrsljhg92rvp50h2ir85; path=/ Expires: Thu, … | |
Hi everyone, thanks for help me in past and once again i am here for your help in making a form... well the purpose of the form is to embed videos in a page... the form will consist of... [CODE]Add Video.php [/CODE] [CODE] 1. Video Title 2. Video Description 3. … | |
I have code written in JavaScript this a form that dynamically adds row (taken from internet and modernized by JavaScript masters) [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head><title>dinamik sheet</title> <script> var i=iteration; function addrow(){ var tbl = document.getElementById('sheet'); var iteration = tbl.rows.length; var row=tbl.insertRow(iteration); var cellLeft = … | |
Hi, I have a problem with capturing a number that is generated with a javascript. Let me explain. Its a shopping cart. when people choose to buy a package, there is a total that is visible. This total changes as they choose more or less packages. The total is handled … | |
Hello dear daniweb experts, i was searching over the web and couldn't find any good explenation on how to write properly to a Microsoft SQL server database, so i decided to ask the experts here: How to properly write to the sql database: i used this snipped to read: [CODE]//Start … | |
how to get a current date and expire that date after a certain period using php? | |
hi.... i m fetching 3 fields from two different tables that is ecode and edate from emp_company table and scode from emp_shift table.....and after fetching the records i want to change the value of any of the record and want to insert as a new record in emp_shift table.........but my … | |
Hi All, I have created a few pages using SQL/PHP and dreamweaver. All works fine, but I need some advice on one puzzle I have. I have two database tables, one holds current numbers that is used to create a table of links. These links then open a new page … | |
Basically it is.. I have a Admin page- > In this the admin wil be able to create a user by entering in his particulars: eg: user name, password for the user, telephone and email address.. The user will able to login using this username and password. Once they log … | |
hello frnd, i want to integrate my web page with paypal service for shopping cart. for that purpose i use IPN (paypal notification service). i create a page name ipn.php to catch the paypal post and another page paypal.inc.php to describe all the variable and action to be done with … | |
hello.... i am doing one task. in that there is a number of products. each product have number of pdf files. i am adding these files from admin side and inserting in database. so how can i download particular product files(ex..10 files) in single press at frontside. thnx. | |
Hi guys, I have written this code that will convert the images in Path1 to thumbs and will copy it to Path2. In the image folder there are more than 100 images. However this code will convert the first 5 images and will stops! If I remove the "createThumb" part … | |
Hi, I'm taking texts from other page. In my page I use utf-8 encoding. When I print texts in my page, I get [COLOR="Red"]� [/COLOR]for some symbols, for example for [COLOR="Red"]ö[/COLOR] in German, or [COLOR="Red"]è[/COLOR] in French. I tried use file_get_contents, curl, but in these two ways output have [COLOR="Red"]�[/COLOR] … | |
Hi all, When running the following i get this error: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'user_id' cannot be null and heres the code: [code] function upload(){ /*** check if a file was uploaded ***/ if(is_uploaded_file($_FILES['userfile']['tmp_name']) && getimagesize($_FILES['userfile']['tmp_name']) != false) { /*** get the image info. ***/ $size = getimagesize($_FILES['userfile']['tmp_name']); … | |
Hello Friends I wanted to know how a copy and paste code can be written in PHP? Thanks | |
One day, my Java friend asked me if there are threads with PHP. I didn't knew and I have to poke around net and manual only to find none. enough of useless words. Here my question goes. Is it possible to create abstract class with virtual and pure virtual functions … | |
I'm working with Google API trying to plot multiple points on a map. I can't find really good documentation on how I need to do this so I'm sort of winging it at this point. Obviously what I have is not working. The map is displaying and centered where I … | |
i use this script for uploading image in mysql db [CODE]<?php $db_host = 'localhost'; // don't forget to change $db_user = 'username'; $db_pwd = 'password'; $database = 'vargasfa_fake'; $table = 'ae_gallery'; // use the same name as SQL table $password = 'satan159E'; // simple upload restriction, // to disallow uploading … | |
Hi, I have got a long list of items that are generated by PHP. There are 2000 more results and are constantly changing. What i am trying to do is all domains starting with A, B, C etc so it would hiden until you select A for example(sorta like a … | |
Hi, What i want is to have a checkbox area where the items i select are stored in a array. Im guessing there should be a some code to find out what has been checked. Any help with this would be greatly appreciated. [CODE]echo '<form action="myown3.php" method="post" name="domaintest" action="_self">'; echo … | |
hi all PHP masters I have took from internet news publishing script I read all of code but i have a bit misunderstandings from the code so i dont understand some codings there and i have one question. does anyone help me to improve performance of this code below i … | |
how to generate auto number in php? here's my code in saving a data [CODE]<?php $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("reservation", $con); [B]$id=mysql_query("Select * from guest order by code desc"); if ($id == NULL) { $id = 1; } else { $number=$id … | |
Hi, I have stored 800 images in root/Images and store link in DB for reference along with another information. There is a search box through which I get all the info. For viewing images I used [ICODE]<a href=".$row['image']." target=_blank>".$row['ch']."</a>[/ICODE] Ch value is click here to view. Now I want that … | |
Hi friends I have a site made in PHP Can someone please help with Email address validation? Thanks | |
hai.... there is thousands of products is there. now we want to see as a directory wise means (A-Z wise) devide. how to do this. [CODE][B][U]A[/U][/B] [URL="http://apple.com"]Apple[/URL] [URL="http://ant.com"]Ant[/URL] [URL="http://aeroplane.com"]Aeroplane[/URL] [B][U]B[/U][/B] [URL="http://bat.com"]Bat[/URL] [URL="http://ball.com"]Ball[/URL] [URL="http://book.com"]Book[/URL][/CODE] like this......up to z. how to do this? adv thnks. | |
Just wondering if it normal and acceptable use both on one string before entering it into a database or displaying it? For example: [CODE]$project_name = mysqli_real_escape_string($dbcon,htmlspecialchars($_POST['project_name']));[/CODE] | |
Hi, I have query in Javascript and Ajax. Is it possible to write AJAX code inside Java Script. When i click the " confirm("test"); " Yes button. i have to insert the data through ajax. I have written the code for sample, i am attaching. Please can anybody give the … | |
i have this problem i have this variable $title=J1. Tsalgatidou, A., " Modeling and Animating Information Systems Dynamics " , Information Processing Letters 36, 1990, 123-127. and then i do this [CODE] $more_button=' <input type="button" id="button_help1" value="Summary" onClick="window.location='some_infos_research_en.php?title='.$title.''"> <input type="button" id="button_help1" value="Full description" onClick="window.location='upload/publications/en/'.$file.''">'; [/CODE] but when i echo $more_button … |
The End.