39,316 Topics

Member Avatar for
Member Avatar for avario

I have a MySQL database that stores all messages for all topics and a database that stores information about the topics... On the any given topic page I want it to display the number of messages in that topic, this value would only need to be retrieved once when the …

Member Avatar for avario
0
121
Member Avatar for csweb

hi ! i created a submit form in php and when i submit it this error massage is coming (apache http server stopped working and was closeed) does anyone know what to do please help.

Member Avatar for pritaeas
0
128
Member Avatar for sftranna

hey dear, i am facing a problem while using MIGS. Problem is this that whenever im direccted to card details (Payment Details Page) amount that i sent t0 the VPC is divided by 100 so causing problems... so i get foar behind the success message :) my client is a …

Member Avatar for sftranna
0
143
Member Avatar for Manny7

Hi there, I solve all day long a problem with error "a is undefined". I have 2 pages -- index and the second page. On the second page I shows google map in div and all is alright. But on index page I get error message given in subject this …

Member Avatar for Manny7
0
165
Member Avatar for thedonedeal

Hi everyone. I'd like to know if anyone can help. I'm trying to write a code that looks for a number in a string which is a semicolon separated list. Example: I have the number 10456 stored in one variable. I have the results of a MySQL datafield which contains …

Member Avatar for Triztian
0
127
Member Avatar for niths

hi, i am having a website,and in that we are planing to put online help(online chat). so for that i need a chat script. I had seen many scripts but every script is like group chat means every persons message can be seen in that. so i dont want like …

Member Avatar for GigsD4X
0
59
Member Avatar for GigsD4X

Hi there, I want to grab a page from my site that's PHP, however, I don't want it to display the PHP... How can I do this?

Member Avatar for GigsD4X
0
447
Member Avatar for GigsD4X

I tried to write [icode]include "http://".$_SERVER["SERVER_NAME"]."/lol.php"[/icode] and it didn't include it?

Member Avatar for GigsD4X
0
79
Member Avatar for iketunde

I have a php page with two hyperlinks. I one to send email to certain addresses and the other to also send emails to another address and also delete their records from the database. I don't want a case where the user accidentally clicks on the link takes the wrong …

Member Avatar for mohammed yaghi
0
2K
Member Avatar for GigsD4X

Hi there, I'm trying to get the root directory of my site... But I don't want to edit the dots with slashes every time I make a new page in a directory inside another directory.. Any ideas? Here's an example tree :-) -/ -/stuff --/stuff/lol.php -/lolwut --/lolwut/cake.php --/lolwut/pie.php

Member Avatar for GigsD4X
0
102
Member Avatar for andydeans

hi, i have applied sha1 encryption to my update password page for users and it is encypting into the database fine. however i have a script that should at login check the encrypted sha1 password in the database and login however it does not work. i am not great with …

Member Avatar for andydeans
0
152
Member Avatar for c++learner

Hello everyone! First of all thanks to all who helped in the past on my c++ problems, but now I need help with some php. I'm trying to search the beginning of a string for the http:// string but am having trouble with it. I can find the string inside …

Member Avatar for c++learner
0
118
Member Avatar for heshanm

Hi, I have a problem. i want to show the [B]current date and time[/B] in my tables of the database. I want to show it because i want to show it on my report generated in php. By the way i [B]do not[/B] have a "date" field in my form. …

Member Avatar for almostbob
0
122
Member Avatar for nodoso

Hi everybody, I have some difficulties getting my objects mapped from a query. My query is this one: [code] $this->myPlanes = Doctrine_Query::create() ->from('FsPlane p') ->leftJoin('p.FsPlanetech t') ->leftJoin('t.FsPicture') ->where('player_id = ?', $id) ->execute(); [/code] But when I want to retrieve my objects FsPicture I get something strange code: [code] foreach ($myPlanes …

0
84
Member Avatar for MooGeek

As far as I can see, lots of Developer and Webmasters choose AJAX rather than Pure Flash Sites. and I've read lots of articles about this topic. but even them can't give me a concrete answer WHY would they choose AJAX rather a Full Flash site. As far as I …

Member Avatar for ApocDen
0
233
Member Avatar for lapunluyang

Hi everybody, I'm currently studying for a HND in Interactive Media Design and our current assignment is a Self Managed Learning Plan based on a technology/language of our choosing. For my SMLP I have chosen to learn about the application of PHP within the Interactive Media/WebDesign industry. As there are …

Member Avatar for chrishea
0
142
Member Avatar for yesiamchamp

Hi, I would like to know, how to translate from english to any language in php. Thanks

Member Avatar for chrishea
0
64
Member Avatar for d.jobinraj

the problem is town and user values is not adding to the database,other than this feilds,other thuings are working down....... please,give me your suggestions. //database.php// function addReceipe($resname,$restype,$rescatg,$resing,$resmethod){ if(!get_magic_quotes_gpc()){ $resname = addslashes($resname); $restype = addslashes($restype); $rescatg = addslashes($rescatg); $resing = addslashes($resing); $resmethod = addslashes($resmethod); } $q = "INSERT INTO ".TBL_RECEIPE."(rescp_name,rescp_type,rescp_catg,rescp_ing,rescp_method) VALUES …

0
117
Member Avatar for d.jobinraj

the problem is town and user values is not adding to the database,other than this feilds,other thuings are working down....... please,give me your suggestions. //database.php// <? /* The Database class is meant to simplify the task of accessing information from the website's database */ include("constants.php"); class MySQLDB { var $connection; …

0
165
Member Avatar for deepakrajpal

hiii friends... i m gonna work on modeling ajency based website project. major requirements are: user registration with authentication, their uploads, galleries and ofcource a great search options such as age wise, sex wise. plz tell me what will be the best framework (or cms) i should use. according to …

Member Avatar for mschroeder
0
136
Member Avatar for vibhaJ

HI All, my requirement is as below: lets product name is "aaa bbb ccc". Now in search coding i have use LIKE statement. [CODE] "... where product_name LIKE '%".$keyword."%'" [/CODE] Now when user insert 'aaa' or 'bbb' or 'ccc' or 'aaa bbb' or 'bbb ccc' search works. But if user …

Member Avatar for vibhaJ
0
98
Member Avatar for phplover

Hi I am wondering if one of the PHP pros on here could answer this question for me. When validating user input to be put into a database like mysql, i use mysql_real_escape_string() but i also use strip_tags(), htmlentities() and trim() . My question is should i just be using …

Member Avatar for phplover
0
186
Member Avatar for 1corrie2

I'm having trouble finding help on this specific problem and I'm new so please forgive me. I'm trying to add a drop-down or checkboxes that allow my client to send the information to a secific email address. I'm trying to get this to work within my existing form and I …

Member Avatar for Triztian
0
156
Member Avatar for macdonald12

Hello people, I'm trying to collect some data stored between <body> and </body> tags inside a string. Here's a piece of the code i'm using: [CODE] $regex = '/<body>(.*?)<\/body>/si'; preg_match($regex, $content, $content); $content = $content[0];[/CODE] This works perfect, except that it also includes the above mentioned tags. I would just …

Member Avatar for macdonald12
0
188
Member Avatar for lapunluyang

Hello, First of all thanks to the admin who given us this platform to get help and give help.. Secondly i want to someone help who knows php+mysql i am nill in it but if someone guide main i will do as he say.. i got sms script from my …

Member Avatar for Triztian
0
78
Member Avatar for Kadafiz

heyy... i need to print a form and validate data . for both actions i need only one submit button. i did like this.[CODE]<input name="btnSubmit" type="submit" onclick="return validate(); window.print() " value="Print Bill" />[/CODE] bt it is not working.. please can some one give me a help..

Member Avatar for saideepthi.bits
0
208
Member Avatar for dev.vini

can u help me by sending me some example of validation tha how we can put server side validation in php just one example.........?

Member Avatar for Triztian
0
60
Member Avatar for super_noobie

hey all I have a standard php form and I want a to add paypal purchasing action to it as well. is there an easy way to do this? thanks in advance

Member Avatar for sheltonjb
0
210
Member Avatar for krrr25

I am trying to convert a rtf file to html file in php. The below code is not working, not giving any error also. <?php $handle = popen("/usr/bin/abiword --plugin AbiCommand 2>&1", "w"); fputs($handle, "server"); fputs($handle, "load /var/www/abiword/test.rtf"); fputs($handle, "save /var/www/abiword/test.html"); ?> when i do this conversion through terminal with the …

0
65
Member Avatar for bjeffries

How do you get URLs like below when using php? [url]http://domain.com/photos/022010/01/[/url] Where it normally is written like this: [url]http://domain.com/photos.php?date=022010&id=01[/url] I see sites like this all the time now and am curious how this is accomplished. I do have an idea though... When creating a directory for example photos. Do I …

Member Avatar for bjeffries
0
177

The End.