39,320 Topics
| |
Hi, I have some problem while displaying the content with special characters like other language especially from Belgium Dutch characters, I meant the exact database table content [Belgium Dutch characters] not displayed in respective pages but only shows the other symbol like? [Question mark], please help me to avoid this … | |
Hello folks, I was wondering if anyone had any experience with php configured with pdflib. I am trying to create a new pdf by loading an already existing pdf and overlaying some information where the fields would be on the existing pdf. I have been trying to figure this out … | |
hi i want to know whether my coding is correct because data is not getting inserted in my sql table,but it is displaying the "data inserted" message<html> <head></head> <body> <?php $uname1= $_POST['uname1']; $cname=$_POST['cname']; $caddr=$_POST['caddr']; $mid=$_POST['mid']; $skills=$_POST['skills']; $degree=$_POST['degree']; $indtype=$_POST['indtype']; $desc=$_POST['desc']; $req=$_POST['req']; $yoe=$_POST['yoe']; $sal2=$_POST['sal2']; $search=$_POST['search']; $hostname = "localhost"; $username = "uname"; $password … | |
hi, i am using freehypespace.com.i want to know abt database connection.i want to insert data from my textbox to database.....thanks .lydia | |
I want to calculate the difference of two given dates.For instance $day1=05/04/2007 and $day2=02/01/2006 so I want to substract $day2 from $day2 and get the answer in days .what should I do | |
hi, im having a bit of trouble learning php. My script is working but it is showing the amount of characters i am echoing out....heres the code. [COLOR="Red"] $tireorder = 'you have ordered: '.$tireqty.' tires.' ; //open the file and check to see if it exists// $fp = fopen("file.txt","r+"); if(!$fp) … | |
How can I get future date by php date() function, for example today is 11/13/2007, I want to get the date after 60 days. Any advice will be appreciated. | |
hiiii.... i am just started php...The problem is that the web page blank when an syntax error occurs in code ,,,so i am getting difficulties to locate the problem...how can i know wher is the problem..? can any one please help me........! | |
So I have some PHP code that takes text from a mysql table and prints it to the screen with formatting. Problem is the spaces keep getting truncated when its formatted. Like: [QUOTE] I like cookies. They are tasty. [/QUOTE] would come out as: [QUOTE] I like cookies. They are … | |
Hey, I was wondering if there is/are any drawbacks/limitations of php over other web languages? Thanx | |
I know that there is probably no definitive answer, but does it matter in search engine optimization whether you use PHP or ASP for your CMS. Look forward to hearing your ideas. | |
Hi, I have the PHP file as coded below. Is there any way to make directory files open in a new window. I mean, this file shows files in a folder in which it sits in, but how can displayed files be opened in a new window? Cheers Aaron ------------------------------------- … | |
I just installed apache, I start httpd , now type [url]http://localhost:8080/[/url] I get permission denied, how do to give permission and which directory do I need to give permission? Now what all I need to install in my machine to succesfully create a PHP forum ? | |
Hi everyone im getting this error when i try to execut the code via a browser, its a SOAP call to a footprints webservices server written in php, well it only shows me this error. I pasted the entire code below minus my username and password, :) I also have … | |
Hi, I am using RH EL 3 and i am trying to install PHP along with MySql and Apache2 , while trying to compile it shows the following error , can anyone help. collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 | |
Hi, I have the following query i'm trying to execute: [CODE="mysql"] SELECT CONCAT_WS(' ', g.genus_name, s.species_name, i.rank, i.infraspecies_name, conf.auth1, conf.auth2 ) AS scientific_name, cn.common_name, GROUP_CONCAT(cn.common_name ORDER BY cn.common_name SEPARATOR ', ' ) AS common_names, ui.unvouch_image_src, ui.unvouch_image_alt, gh.growth_habit, gd.gen_distrib_name FROM plants AS p LEFT JOIN (genera AS g, species AS s) … | |
I have got a solaris machine, it has got an ip address, I want to install some software (preferably PHP) on the machine so that when I type [url]http://ipaddress//forum/[/url] I get a forum, which I can manage and configure then. | |
I've been told this isn't possible which leads me to the following problem. I have a series of events stored in a database and at the moment I pull the info out and display each one on a new line using a while loop. What I'd like to do now … | |
i need a help.. i wanna insert an images into MySql database.did anyone have code snippet for my problem?..i hope u can show to me step by step,from the form to the final step insert an images to database..tq | |
i have an array of hours[] and minutes[]. hours Array: Array ( [0] => 11 [1] => 12 [2] => 13 [3] => 14 ) minutes[] Array: Array ( [0] => 30 [1] => 30 [2] => 30 [3] => 30 ) now i want an array which will merge … | |
I actually need a self tutorial step by step on how to buid a proffessional php web site from scatch to finnish. thanks. | |
Hi! I am doing some work for uni but having trouble doing it, in that I dont understand it or how to do it! and was wondering if anyone out there would be able to help. I'm having to do a big project where I build a website based on … | |
hi all, i have a string for example: $str="The annual general meeting is scheduled on ::date:: at ::time::. you all are requested to be present on ::date:: at ::time::." i store it in the Templates_T table in my DB. Template_ID =1 [for eg.] now this format can be used further … | |
I would like to know why in the majority of the examples showed in the forum, nobody uses classes in PHP. Is it a chance? Or really, is nobody using them? Do you know classes advantages? ch.- | |
Hey guys im really new to php and i had it all worked out untill this came along it says this [code]Parse error: syntax error, unexpected T_STRING in /home/tattie/public_html/index.php on line 1[/code] i really really dont know what to do and i would be so grateful if someone could tell … | |
I'm trying to write a little wrapper for executing MySQL statements, and I've run into a wall trying to use [inlinecode]mysqli_bind_param[/inlinecode] without knowing the number of variables I'm binding. Here's what I've got: [code=php] /** * Note: * . execSQL is variadic, just like bind_param * . prepareTypeStr is another … | |
I have enclosed the simple PHP function for Text [array] Highlight without changing the own case... [CODE]function ShowPowerHighlight($Text,$Needle) { for($j=0; $j< count($Needle); $j++){ if ($Needle[$j] != "") { $TextTemp = ""; $i=0; while($i if((($i + strlen($Needle[$j])) <= strlen($Text)) && (strcasecmp($Needle[$j], substr($Text, $i, strlen($Needle[$j]))) == 0)) { $TextTemp .= '' . … | |
I tried the following, but it's not working: [QUOTE]RemoveHandler .html .htm AddType application/x-httpd-php .php .htm .html[/QUOTE] Any other solutions? | |
hi how to validate inputs in php.please send some same code for email and numbers... thanks, lydia | |
Can you show me a open source to send message in a forum as you used for your forum? or how me how to do that Thank you very much! akhoa168 |
The End.