39,393 Topics

Member Avatar for
Member Avatar for BehrouzPc

hi in my project inside Cpanel server PHP MING Extension is ok BUT in Plesk have Problem by GIF and PNG file and this file must be change to dbl to work version of Extension MING in plesk is 0.4.2 i need a script to convert online png/gif file to …

Member Avatar for RamiroS
0
179
Member Avatar for dan_ord

Hi, I would like to add discount to an order, but the tricky bit for me is the following: **Example** 1 photo = £15.00 But for every 3 photos i want to subtract £3 and for every 3 photos after that another £3 off the total order So 3 photos …

Member Avatar for kireol
0
85
Member Avatar for lydia21

hi i want to pass variable from php to javascript.i want to pass my group[name please tell me.the current code is not working [CODE]<? session_start(); require_once('common/dblayer.php'); $db=new dblayer(); $id=$employer_id; $empid=$db->getgroupname($id); $groupname=$empid[0]["group1"]; echo $groupname; ?>[/CODE] javascript code [CODE] //Contents for menu 1 var menu1=new Array() menu1[0]='<a href="employercp.php">Job Portal</a>' menu1[1]='<a href="cggroup.php?id=<? echo …

Member Avatar for mehrab
0
279
Member Avatar for Kligham

Hi, I'm wondering what you all have got out there. I know you have the following: \t => tab \n => new line What do you have more? Anyone got a link to a webpage or a word that I could search for in google to get a list for …

Member Avatar for Kligham
0
114
Member Avatar for ayesha789

This code is not getting values when I press update. Its showing the values from Db in fields. But at the time of update whrere I SET Values it gets null values. I am using name of input as acmake[] and then using for loop but its not working. [CODE=php]<strong>Update …

Member Avatar for cwarn23
0
179
Member Avatar for van_smiles

I need a code for log-in which will be stored as attendance for students... I am a student and i have tried so many codes but it doesn't work... i am using a mysql server for my database is it ok?

Member Avatar for Arianna
0
104
Member Avatar for rajabhaskar525

hi all, i want create multi language website. i need to website into dutch language. any one suggeste me ??????????

Member Avatar for diafol
0
102
Member Avatar for chupinette

Hello all :) Well, im trying to display a list of categories from values fetched from my database. I have a class called CategoryList which has the function initialise as below: GetCategory actually uses PDOStatement::FetchAll [CODE] public function init() { $this->mCategory = Catalog::GetCategory(); print_r($this->mCategory); } [/CODE] Then i have my …

Member Avatar for chupinette
0
82
Member Avatar for moerpheus

Hi guys, I use wamp for development, i kinda use it for multiple projects development! I have one problem, one site cannot remove session (cant destroy sessions) i dnt know why!... When I log out from other sites in my server can destroy all session variables (I can understand that!) …

Member Avatar for moerpheus
0
82
Member Avatar for bishal397

i am doing my final year project and want help. what i want to do in my project is that i want to control air conditioner through my website. with this i want to increase and decrease temperature of the room. is this possible? please share your ideas with me. …

Member Avatar for almostbob
0
100
Member Avatar for web3

I made little javascript bbcode editor on my website. How to display that code from mysql? Or how to save in mysql as html that code?

Member Avatar for diafol
0
117
Member Avatar for Boronia

Hi I am new to php coding and trying list products by country - my code are as below . I want to list tours by country say tours from x country listed one page from y listed on another page. Thanks for your help [CODE]<? include "config.php"; ?> <? …

Member Avatar for sDJh
0
96
Member Avatar for mangel.murti

i have three file index.php , vragis.js , process.php. in index.php there is two controls username and email i am validating those with the help of ajax and php.after entering some values in email textbox error show below it after entering values in name textbox nothing going...... index.php [CODE] <div …

0
82
Member Avatar for Phaelax

Hopefully, I explain this well enough. If I know the width of a container, how could I determine how many line breaks are needed to fit a given string within that space? Given a string of N-length, if it needs to wrap beyond a 3rd line, then I want to …

Member Avatar for me655321
0
112
Member Avatar for sanjaypandit

hi 2 all , i have a problem in search according time period, my table name "stats" have field id(int), ip(var char), counter(int),add_date(date time) now i want a search on following ways 1. i want to show sum of counter according weekly >>>means weekly stats of counter 2. i want …

Member Avatar for sanjaypandit
0
115
Member Avatar for Kligham

Hi, I was wondering how you can attach everything from a html source, so all the spaces, all the tabs, newlines are gone and everything is glued togheter? I tried with implode, but that doesn't do anything because I can't get rid of the spaces, tabs, newlines etc. Is there …

Member Avatar for Kligham
0
87
Member Avatar for shwetahii

Hi Can anybody help me in Expression engine, how it works locally on the server. i have made all necessary changes in core.system.php as well as config.php. But still when I go and give this url [url]http://localhost/xyz.com/admin/index.php[/url] Still the page appears blank for the admin section control panel Please help …

0
64
Member Avatar for phpDave

Im new to php. Im trying to display data via url. (example) [url]www.mySite.com/usercomment?user_id=1[/url]. I would like to let users retreive data by having to type in specific url. Not pageing through data. Any comments, suggestions would be appreciated

Member Avatar for diafol
0
108
Member Avatar for emhmk1

Hi again, i have got a site that calls 5 different tables on the database and they all have a date field, when calling and using the while loop all the $rows[] so to speak are named differently. The problem is, i have this code to change the date layout …

Member Avatar for sanjaypandit
0
96
Member Avatar for cwarn23

I have been searching on the web but can't find an answer to this question. How do I make a simple script that will read the functions in a php.net dll file where it can be used in c++. The main reason why I am trying to do this is …

Member Avatar for cwarn23
0
157
Member Avatar for ashbladerunner

hello. i am doing a project about implementing the linux route command with php. i have managed to see the IP tables using route but the problem now is implementing route add / route del. i have searched the web and came up with some examples but none of them …

Member Avatar for phpbeginners
0
169
Member Avatar for MDGM

Hi all, I have a very large amount of files I need to update, so I thought the easiest way would be to do it with php. [B]Below is the current directory structure[/B] [CODE]www.domain.com/branch_finder/country/county/town/[/CODE] I need to replace the existing index page in every "county" level directory inside the branch_finder …

Member Avatar for MDGM
0
362
Member Avatar for Alberto99

Hi, this is my first post to the forum. I am trying to use HTML Mime Mail, a class written by Richard Heyes. I use the new class in this program: [CODE]<?php require_once("/htdocs/htmlMimeMail5/htmlMimeMail5.php"); $mail = new htmlMimemail5(); $mail->setFrom("example@yahoo.com"); $mail->setReturnPath("example@yahoo.com"); $mail->setSubject("Test HTML Mime Mail"); $mail->setText("This is the body of the test …

Member Avatar for Alberto99
0
332
Member Avatar for laptoploon

Firstly I should explain that I'm working well outside my comfort zone...:'( I'm trying to add a couple of bits of php script to my website that should generate email. One should send me an email as someone gets a quote from my website, the second should send me a …

Member Avatar for RamiroS
0
80
Member Avatar for martinkorner

Hi, I need to put a time on my website which simply shows the current GMT London time... I tried using[inlinecode]<? echo date("g:ia") ?>[/inlinecode] but for some reason it displays the time exactly one hour ahead of my time. It should be displaying Europe/London time. (I do live in the …

Member Avatar for Danny696
0
206
Member Avatar for shekaranumalla
Member Avatar for Leandro-AL

Hello, I am trying to store in an array the content of <tr> elements in a page. A sample of the page's code looks like this: [CODE]7E7"><img src="inxclus/flags/ES.gif"></td> </tr> <tr> <td height=20 bgcolor="#FFFFFF"><b>asdsdsdf</b></i></td> <td bgcolor="#FFFFFF"><a href="./asdf.php?pid=10460">asdsdsdf</a></td> <td bgcolor="#FFFFFF">asdfasdf</td> <td align="center" bgcolor="#FFFFFF"> <img src="img/note.png"></td> <td align="center" bgcolor="#FFFFFF"><img src="inxclus/flags/ES.gif"></td> </tr> <tr> <td …

Member Avatar for Leandro-AL
0
91
Member Avatar for ishFady

Hi I have windows XP with service pack 3 machine. I installed Apache 2.2 and tested working fine. And then I installed php 5.3.1. When I start Apache, it doesn't start and not getting get following error. "Apache HTTP Server has encountered a problem and needs to close. We are …

Member Avatar for ishFady
0
119
Member Avatar for whitestream6

This is my code: [CODE] <?php //connect to mysql //change user and password to your mySQL name and password mysql_connect("localhost","root","PASSWORDREMOVED"); //select which database you want to edit mysql_select_db("tvguide"); //select the table $result = mysql_query("select * from epair LIMIT 20;"); //grab all the content while($r=mysql_fetch_array($result)) { //the format is $variable = …

Member Avatar for whitestream6
0
136
Member Avatar for mahakaal

hello all i am trying to write a code by which i can convert a php page generated from mysql query in to a pdf file <?php // create handle for new PDF document $pdf = pdf_new(); // open a file pdf_open_file($pdf, "philosophy.pdf"); // start a new page (A4) pdf_begin_page($pdf, …

Member Avatar for zortec
0
64

The End.