39,323 Topics

Member Avatar for
Member Avatar for lulemurfan

I've been trying for a few hours now, and to be honest I'm getting fed up of it not updating the table!!!:icon_sad: [CODE]$sql="UPDATE list SET title='$_POST[title]', console='$_POST[console]', system='$_POST[system]', tv='$_POST[tv]', sram='$_POST[sram]', chips='$_POST[chips]', size='$_POST[size]', md5='$_POST[md5]', sha1='$_POST[sha1]', work='$_POST[work]', error='$_POST[error]', retrode='$_POST[retrode]', comments='$_POST[comments]' WHERE ID='$_POST[id]'"; if (!mysql_query($sql,$con)) { die('Error: ' . mysql_error()); } echo "1 …

Member Avatar for hielo
0
165
Member Avatar for Clarkeez

Hey Im getting there with PHP but one thing that does my head in is arrays. Im trying to get all the content from the db and echo it.. For exmaple, in the db it reads under the 'names' column... matt harry dave katie trisha paul tracy brian martin sam …

Member Avatar for hielo
0
82
Member Avatar for cristi08

Hellow peoplw. I have an update syntax that is doing something else than I expect. I want to update a table with price of the products for a selected user the form is ok but when I click update the order update only the last price inserted.Why? [CODE]p> Here you …

Member Avatar for MooGeek
0
74
Member Avatar for lulemurfan

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 …

Member Avatar for lulemurfan
0
140
Member Avatar for mozan

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" …

Member Avatar for jibon57
0
181
Member Avatar for vizz

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.

Member Avatar for chrishea
0
261
Member Avatar for Stefano Mtangoo

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 …

Member Avatar for Stefano Mtangoo
0
1K
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

The End.