39,320 Topics
| |
This is the part which searches and add the result to the 'pass' variable. At one stage I was getting a resource id number and found to get around that, but when I do this I get nothing on the pass variable [code] $result = mysql_query("SELECT `Pass` FROM `wiki` WHERE … | |
Hi aLL I have got problen in uploading photo in profile. when i checked coding i found ! here is where i found this sign [B]// UPLOAD PHOTO if( $task == "upload" ) { $user->user_photo_upload("photo"); $is_error = $user->is_error; if( [COLOR="red"]![/COLOR]$is_error ) [/B] [B][B] // UPLOAD PHOTO if( $task == "upload" … | |
I have sms gateway. Through that I can send sms from my website. How can I receive sms on my website. Every registered user can send sms from my website and I want to allow them to receive sms on my website. | |
Hello All, I want to make a CD/DVD Library where by an admin can do all the operations while any other norma user can do limited operations (simply browsing and searching). I'm still organizing and doing simple design and I need your opinions on this: 1. What is the best … | |
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 … | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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? | |
I tried to write [icode]include "http://".$_SERVER["SERVER_NAME"]."/lol.php"[/icode] and it didn't include it? | |
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 … | |
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 | |
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 … | |
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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
Hi, I would like to know, how to translate from english to any language in php. Thanks | |
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 … | |
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; … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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.. |
The End.