39,323 Topics
| |
hope someone can help me with this. i am trying to update records in a mysql db with a new image but i keep gettin errors. i am using a hidden form input to post a variable across to a new page, i can echo the variable out at the … | |
Hi there, So I thought this would be simple and it should be but I can't see what is wrong. Basically I am checking what language has been selected (via a code stored in a constant LANG_CODE) and then loading in a specific swf file. Except that the language code … | |
Ok... I have another problem. I have tryed to split the resultts of my query in to multiple pages with a fixed number of results per page... I used this tutorial for it: [url]http://www.php-mysql-tutorial.com/php-mysql-paging.php[/url] Originally, my page worked as follows: There was a search frame where the user would select … | |
Hello to all who read this thread, I am currently developing a PHP web application (alone) which has gotten to a point where I alone cannot do developing on it anymore. I plan on hiring people to develop for me. My problem is I do not want to give away … | |
Hi, Can anybody please help me in writing this very simple script: This script will allow visitors on my site to order my services. The price will depend on the following factors: a) Number of pages b) Delivery time in days c) Format of the delivered files. After they select … | |
I have a php page listing all info entered into mysql. One of the fields is an email address, I would like the address to be mailto: All I could think of is [code] <a href= "mailto:?id=<?php echo $row_rsBday['id']; ?>"<?php echo $row_rsBday['email']; ?> </a></p> [/code] No luck with that Any … | |
Hai I am Rajeesh.... I am a little PHP programmer.... I likes to make a image code verification in my site.... Please give me the logic behind it........ Please Help me Regards Rajeesh | |
Hi, I'm looking for the equivalent in C# of this function: strip_tags(). I want to use it to validate some input and avoid SQL injection. Any ideas? Thanks in advance. | |
i need help in php [code=php]<?php $num=2; ?> <a href="action.php?id='.$num.'">Text to be displayed</a>[/code] Here i m not getting $num value when i print echo $_GET['id']; | |
[B][U]Question:[/U][/B] How to replace %20 characters in URL with a dash (-) when the information is coming from a MySQL db? Code:[B][COLOR="Red"] href='details.php?listid=$record[listingid]&title=$record[title][/COLOR][/B] It currently reads: [B][COLOR="Green"]http://www.mysite.com/details.php?listid=800&title=970%20South%20Bald%20Head%20Wynd[/COLOR][/B] It should read: [COLOR="green"][B][url]http://www.mysite.com/details.php?listid=800&title=970-South-Bald-Head-Wynd[/url][/B][/COLOR] I want to keep the title words for SEO purpose unless you think it is useless?? Thank you - … | |
Hi Folks I am trying to make a php form processing script. The form would have a large text area in it where the visitors could type a few paragraphs of text. I want this script to break the text from the form after 75 characters or if that is … | |
My problem is that I have a PHP application that needs to (in Windowsese) multi-task. I am relatively new to PHP and equally new to Linux. I need to know how to pass information from a parent process to a child process and vice versa. If somebody could please provide … | |
<?php <$conn=mysql_connect("localhost","root","root"); echo("connected"); if(!$conn) { die('could not connect:'.mysql_error()); } mysql_select_db("student",$conn); if (!mysql_select_db('student', $conn)) { echo 'Could not select database'; exit; } ?> This the code..Using which I want to connect but getting the error: Parse error: parse error in c:\apache\htdocs\phpmyadmin\connection.php on line 6 Plz help | |
Hi Every 1..! I m new in DaniWeb plz help me out by solving my problm spcific to PHP (checkbox control). I want delete multilple data from mysql using php form checkbox control. I want to display data in a table as i did and then want to select multiple … | |
hi guys. i am writing a class for registering data and i am having a problem calling functions and vars from other classes. here's a class diagram of where everything is called- [IMG]http://img376.imageshack.us/img376/19/classesdm8.png[/IMG] i am in forms, and i am having difficulty getting vars from site, using my functions in … | |
I am using the following PHP redirect script for a non-profit website, but because the blocked IP list keeps getting longer and longer, I want to pull the IP information from a simple mysql database that lists only IP addresses that have been blocked. I have tried several different combinations … | |
<?php $query_getf = "select ci.tb_ci_id, concat(ci.tb_ci_fname, ' ', ci.tb_ci_lname),ci.tb_ci_city, ct.tb_ct_desc, md5(ci.tb_ci_id), s.tb_s_name_full, case ci.tb_ci_addr_2 when '' then ci.tb_ci_addr_1 else concat(ci.tb_ci_addr_1, ', ', ci.tb_ci_addr_2) end, ci.tb_ci_phone_1, ci.tb_ci_phone_2, ci.tb_ci_fax, ci.tb_ci_email FROM tb_contact_info ci, tb_contact_type ct, tb_states s WHERE md5(ci.tb_p_id)='".$fd_p_d['md5_id']."' AND ci.tb_ct_id=ct.tb_ct_id AND ci.tb_s_id=s.tb_s_id ORDER BY ct.tb_ct_desc, ci.tb_ci_date_added"; //print $query_getf; $sth_getf = mysql_query($query_getf); … | |
Dear folk , I'm work with PHP speedy Plugin which makes my webpage loads 500% faster [url]http://aciddrop.com/php-speedy/[/url] , the configuration of the php speedy is ok , but when I add <?php require('C:/wamp/www//php_speedy/php_speedy.php'); ?> af the top of the page and then <?php $compressor->finish(); ?> at the bottom of the … | |
Dear folk , consider I define a constant value [code=php]<?php /*--------values.inc.php ------------*/ define("Data","MyValue") ?>[/code] so right now I want to change the Value of Data from another page and I wold like that to be saved on Values.inc.php file , you know I'm thinking some kind of data Store ,instead … | |
Hi, Thanks for checking this out. The error is that when I use ob_start to store the results of an include file my fwrite statement later on in the code works but only writes a blank file, whereas when the ob_start is not present the fwrite function writes the file … | |
[COLOR="Red"]In the follwing code i want want to know how i can put my information in the file filename distinamtion_file i want to use this code to upload a file from my computer to ftp server file that i want to upload is in my 'C/SITE/file.txt@ folder and i want … | |
this is for code [CODE] <!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"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <form method="post" action="upload.php"> Move or Upload Folder Using PHP FTP Functions<br /> </p> <table width="373" border="1"> <tr> <td width="184">server address </td> <td width="173"><input type="text" id="server_name" … | |
Upon applying for a job, I was given a "tester". One of the questions was what does the php function ?header? do. I have not seen this syntax nor has it come up on any google search I've attempted. Could someone here please educate me on this item? Thanks | |
Hi, Im writing an intranet at work in PHP and on this intranet I'd really like to have an infobox, with information from our public calendar on our exchange 2003 server. I've struggled with this challenge a long time now and happened to stumble over Troywolf's PHP script. My problem … | |
Hey everyone i seriously need your help, im a novice when it comes to PHP and MySQL. I'm developing a website using PHP and Mysql and i keep on getting this error(Parse error:syntax error, unexpected T_STRING in C:\ on line 38) when i'm trying to connect from signin.html to signin.php.What … | |
hey there im hoping that someone can help me in solving this problem i keep on getting this error when i try to connect from register.html to register.php. Here is my code! [code=php]<?php //Database Information $dbhost = "localhost"; $dbname = "musicwebsite"; $dbuser = "root"; $dbpass = "xxxx"; //Connect to database … | |
Hi all! I am totally stumped and am hoping someone can help me. I have some data in a database that I will be using to create checkboxes. However, since different data will be pulled out depending on what the user chooses, I want to be able to create the … | |
hello everybody, i want to pass directory name as a variable in include function like this, [ICODE] $page = 'test'; include('$page/test.php'); [/ICODE] i know this a wrong way, but i don't know how to do it. please anybody help in this regard. Thank in advance.... | |
hi, i'm trying to figure out how to pass arrays back and forth from php to javascript and back in the zend framework. i need to do this for check boxes for a project and i canno use zend_form. i came up with a way to do this but the … | |
hi, i'm trying to figure out how to pass arrays back and forth from php to javascript and back in the zend framework. i need to do this for check boxes. can anyone help me out |
The End.