39,323 Topics
| |
hi to people who like starting with <?php and finishing with ?> I can always help your php and mysql works.when you need a help just add me to your msn and request a help [email snipped] friendship is first and the second must be helping each other. my name … | |
hi, i try to write a word doc at runtime through bookmark and it work in local system. But "COM" was not working in Linux server.. pls give me some other code to do this operation. i search in google but i cant find the exact code.. Thanks Kumar. | |
Hi all, I'm need to devise a server-side method of preventing multiple form submissions. The form is submitted to the same page. I have read about generating a unique value in a session and insert a hidden input field to detect multiple submits, but would this work with a same-page … | |
Hi all, Im wanting to have an "upload picture" button, that on clicking will upload the picture into a directory, but then capture only the filename of the picture to be stored in the database. This is for creating a catalogue entry. Im fine with the form information and disabling … | |
Does anyone know a way to check if the Google Calendar server is having problems (internal 500 error) and display a line of code saying "We are experiencing technical difficulties" instead of Googles lame debugging? I assume it would need to be some sort of ajax/php combination to check the … | |
Hi, i have a big problem trying to make my table sort things.. Table information is cooming from mysql db.. [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Min telefonbok</title> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <body> <h1>Telefonbok</h1> <form id="form" method="post" action="phonebook.php"> <fieldset> <legend>Skapa ny kontakt</legend> <table> … | |
I have a database containing records which I want to edit. I populate a list box which gets populated with the records in the database and I select and click on one of the records for editing. I find that I am able to select the record from the listbox, … | |
Hi all, i want to know that 'Is mysql support chinese language?' If yes then any changes require in configuration? My site is in english. Let if any user have inserted their information in Chinese and if anyone search using Chinese keyword, then it should match with mysql and if … | |
Hi, I have a question for all you brilliant daniweb joomla developers (mean the "brilliant" sincerely) ... and it's probably a simple one for you. I am using the latest joomla and a template a Siteground template (siteground-j15-116). Can I replace the Site Name that appears in the upper left … | |
I want to call a C++ program from PHP with apache server on Fedora 12 linux. testprog is put in the same directory of the test php program. I see the output of exec('ls -lrt') but not exec("testprog"). Please help. The following are my php and cpp test programs. [CODE]<html> … | |
hi all, is there anything wrong in this. i need hav the value in the radio button to display in the next page. so please can anyone. thank u. ---------user.php-------- [CODE]<tr> <td><input name="radio" type="radio" value="projectassign"></td> <td><?php echo $row['projectassign']?></td> <tr> <td><input name="radio" type="radio" value="projectassign"></td> <td><?php echo $row['projectassign']?></td> [/CODE] ---------upload.php--------- [CODE]<?php echo … | |
i have a div that is a pop-up, and it is in a loop. I want to add a form to the below code so i can send the data in the textarea to the next page. Because it is a pop-up, the style changes from display:none to display:block, but … | |
i have a textarea with alot of words in it. Is there an alternative way to send the words in the textarea to another page without using a form and submit button? | |
Hi I am trying to join 2 sentences together using php and mysql. How can i do so? I am doing this as i need to add an update of a new remarks to the existing remarks. For example, $first = '[B]Hello[/B]'; $second = '[B]world[/B]'; To get the string '[B]Hello … | |
I want the program to update or add to a database. If an item is selected from the dropdown menu (filled with the product names already in the DB), they I need to update the fields with the information typed by the user or update the picture that is uploaded. … | |
I'm trying to could backup one of tables from database using php only. I'd like to save result in some directory at my server or (the best) send it via e-mail. My problem is that: - [B]exec()[/B] is disabled - [B]system()[/B] is disabled I'm tried to use "[B]SELECT * INTO … | |
Only Single image is display .guide how i display multiple image in our page in php i am sending coding . there are two file1.php and file2.php .guide me file1.php [code] <?php header("content-type:image/jpeg"); $con=mysql_connect('localhost','root',''); if(!$con) { die("colud not open"); } $d=mysql_select_db("test1"); if(!$d) { die("colud not open"); } $q1=mysql_query("select * from … | |
Could someone help me with this - I've cracked my head since. When i submit a form and then retrieve the data, there is no paragraphs. Yes I am aware of HTML encoders like TINYMCE but I'd like to submit in plain text. I tried htmlentities and htmlspecialchars but nothing … | |
Hi, I am running the scripts below which should return a string containing a URL. So far, it cannot find the form contents in Firefox, but displays the non-dynamic data such as [I]?Location=[/I]. It won't work at all in IE. Can any one help? This is the form: [CODE] <!DOCTYPE … | |
Hi, I want to write a script which will search the net based on a few parameters. They are: 1) Find sites which high pr. 2) Sites should have the feature to allow users to register. I know very basic php and I was wondering how I should go about … | |
Hi everyone, This is the error I get for this project. Been through the code all day and no problems found, still I get this error: DB access error(You have an error in your SQL syntax;check the manual that corresponds to your MySQL server version for the right syntax to … | |
This doesn't really have anything to do with Php but I'm following a php tutorial so...I've NEVER used any database system before... Anyway, I'm following this tutorial, [url]http://buildingbrowsergames.com/2008/04/15/designing-your-database/[/url] I'm up to the part where your making the user sql table in the tutorial. I have no idea where to input … | |
Hi, Im not much of a php coder, mainly use VB. But i had a problem with one of my apps. To make it more secure i would need each php parameter to go through one site. Here is an example of what i mean: - Application loads - sends … | |
Hi, I want my cookie was changing like that: 1,2,3,4,1,2,3,4,1,.... after each time I refresh the page. but it is changing somehow randomly. [CODE=php]if (!isset($_COOKIE["bbb"]) && empty($_COOKIE["bbb"])) setcookie("bbb", "1", time()+3600); else { switch ($_COOKIE['bbb']) { case 1: setcookie("bbb", "2", time()+3600); break; case 2: setcookie("bbb", "3", time()+3600); break; case 3: setcookie("bbb", … | |
Hi, i am making 3 forms, let's say, form1, form2, form3. In form1, there is a field "givenname" and a submit button that link to form2, and i want to pass this field to form2, i can pass this without any difficulty. However, i also want to pass the field … | |
Hi Daniweb Team, I saw the below code in following url.When i implement this code i does not receive any email.I need to send email via error_log function.Can any one tell me how to do this .For your reference i mentioned the code below. URL: [url]http://www.w3schools.com/php/func_error_log.asp[/url] [CODE] <?php $test=2; if … | |
[QUOTE]hi all, i had a upload page and a down load page. so when we upload a file that wil get displayed in a table and a download link wil be beside that file. everything is fine wit upload but wen i click on download link i am getting an … | |
Hi every one, i try to upload form field into database along with the image but i want the the image name to be in my database as a link while the image itself will be in a directory. I have use something like this code before it works i … | |
[QUOTE]hi, i had written two programs and those are working fine but my Team Lead wants that two programs to be in one single page. i used post method so if i place it in single page i am getting error. so can anybody... Thank u.[/QUOTE] -----projectcreation.php-------- [CODE]<html> <body> <script … | |
[QUOTE]hi all, i need to echo the value obtained in the mysql query. so can any one .. Thank u.. [/QUOTE] [CODE]$sql2="select reportingto from users where username='$_SESSION[username]'"; mysql_error(); $result2 = mysql_query($sql2);[/CODE] |
The End.