39,320 Topics

Member Avatar for
Member Avatar for Ragnarok

I have been looking into ways I to cut down on MySQL Querys in a page and I was wandering if you could up to update querys into one mysql_query function like this: [php]mysql_query("UPDATE table SET val1=val1+1, val2=val2+1 WHERE id = (int); UPDATE table SET val3=val3+1, val4=val4+1 WHERE id = …

Member Avatar for JeniF
0
100
Member Avatar for woocha

I have been studying PHP part time off and on for a month or so and I get it a little, but I really want to know how to build software and I am pretty much the world's most novice programmer. Does anyone out there know of the best free …

Member Avatar for martin5211
0
288
Member Avatar for nyashaC

I am looking to create a new website using PHP. I am familiar with several programming languages but have not used PHP before. Does any of you know any good free php related resources , e-books, tutorials e.t.c

Member Avatar for stymiee
0
74
Member Avatar for phobia1

Hi Guys First apologies since no doubt this type of question has been asked before. Thanks for any help in advance.. I have a form to modify data... it works just fine as I echo the modified array. However the database is not updated. Could anone tell me why? function …

Member Avatar for phobia1
0
87
Member Avatar for Firestone

I'm trying to mail a newsletter to a list of people, but I get an error every time it tries to mail. Anyone know what I'm doing wrong? [code=php] <?php $file = fopen("upload/newletter.html", "r"); $sub = fopen("to.txt", "r"); $x = 0; $y = 0; while (!feof($sub)) { $names[$x] = fgets($sub); …

Member Avatar for nyashaC
0
134
Member Avatar for nil_gh_80

Hi all, I'm facing a big problem using MySQL...i've created a table using this code: [code=sql] create table table1(name char(20), age int(3)); [/code] Now this table can insert ineteger values in name field........which i don't want and the age field can take a value like e.g. 123456789...although it's length is …

Member Avatar for mikeSQL
0
158
Member Avatar for phobia1

Hi, please could you guys help me with the syntax for one line of a form? I have a problem when editing data that sometimes all the text in a field is not shown. Would like to try this alternative way . If anyone has other suggestions.... I'm all eyes..... …

Member Avatar for phobia1
0
79
Member Avatar for fortuNe1234

Hi all, i just dont understand why i get this error : Parse error: syntax error, unexpected T_STRING in C:\Program Files\wamp\www\working3\admincp\pages\mainconfig.php on line 11 I have google it alot and i just find that its probably becouse ur missing a ;, But i cant find the place. I have tested …

Member Avatar for fortuNe1234
0
202
Member Avatar for Pro2000

How can I get The visitors' Computers distinctive number? I know the IP, But it does not works because there are many computers have the same IP number in our country, Ex: the number 91.144.44.9 is repeated many times by diffrient computers, Some body help me.

Member Avatar for martin5211
0
160
Member Avatar for piers

I have serious contempt for checkboxes no matter what I try they never seem 2 display even though everythin else is fine. I have 2 files. 1 is an html file where I put my checkboxes and is linked to the php file. The other ofcourse is a php file. …

Member Avatar for piers
0
88
Member Avatar for ArNy

Iam building a application that helps web developers design website's.It would be appreciated if you(web developers) could tell me what you want to see in a web application.

Member Avatar for ArNy
0
79
Member Avatar for david555

hi, my purpose of my code is to get an array of subcategory details and format it and when when mouse over some subcategory - an image will change (dynamically). this code is PHP with Javascript My problem is how can i get the variable 'key1' from the javascript funtion …

Member Avatar for digital-ether
0
258
Member Avatar for namorim

Hi guys, Please, I need your help. I made a web site with a login page. In my laptop it works perfectly, bu when I move the site to other computer, and I put the user name, the password and submit it doesn´t move to the next page. I´m using …

Member Avatar for Eko
0
104
Member Avatar for nil_gh_80

I have installed XAMPP in winXP, its works perfectly.......but the value of any veriable cann't be tranferred from one page to another page...e.g. 1.file1.php [code=php] <?php print"<body><form action=file2php method=post>"; $p=42; print"p=$p"; print"<input type=submit value=submit>"; print"</body>"; ?> [/code] 2.file2.php [code=php] <?php print"p=$p"; ?> [/code] when i run file1.php it prints the …

Member Avatar for nil_gh_80
0
217
Member Avatar for cbartgu

I want to convert an image and a mp3 to flv using my server with ffmeg and mencoder. I have a script that converts a video to flv but if I upload the mp3 it does not convert, also I want to add an image to the flv with the …

Member Avatar for cbartgu
0
77
Member Avatar for Mohit_Agarwal

hello all i am new to php.i don't know how to use split function for separating multiple email addresses and storing in an array and then printing that each value of array... if anybody can help me out then i will be thankful to him/her.

Member Avatar for Mohit_Agarwal
0
97
Member Avatar for jeffro25

Hey guys. Got a quick question. I am having a problem with a message board that I am creating. I have created the log in and registration page and the sessions needed to use the site nad it all works fine, but when the user posts a message I can't …

Member Avatar for jeffro25
0
139
Member Avatar for ndeniche

i guess this question should go into the PHP forum, but since it's not a code problem, i don't know... i've just installed apache in my pc, and i'm trying to install php with it, but when i configure httpd.config assigning [inlinecode]LoadModule php5_module c:/windows/system[/inlinecode] it sais it can't load [inlinecode]c:/windows/system[/inlinecode] …

0
46
Member Avatar for j.vijayanand

Hi folks, The page load time is the one of the main factors affecting its usability most internet users will just skip a site altogether if it fails to load within a couple of a seconds. I want to initiated this thread so as we can discuss in details on …

Member Avatar for MitkOK
0
71
Member Avatar for dmotah

[code] <head> <?php $db=mysql_connect("localhost","root","") or die ('Connection error'. mysql_error()); echo "ajay<br/>"; mysql_select_db("chat") or die ('Error connecting to database'. mysql_error()); echo "connected to database"; $fr_username=$_POST["txt_username"]; $fr_password=$_POST["txt_password"]; $result = mysql_query("SELECT username,password FROM login WHERE username='$fr_username' AND password='$fr_password' "); while($row = mysql_fetch_assoc($result)) { if($result!="") { echo "good"; } else { if ($result="") { …

Member Avatar for MitkOK
0
85
Member Avatar for zonkd
Member Avatar for Puckdropper
0
190
Member Avatar for btmehta
Member Avatar for binoj_daniel
0
26
Member Avatar for cancer10

Hello, I run multiple domains/sites on my linux and windows server. I know there is a php.ini files that comes with the php installation package. But I have heard that there is a way to create a local php.ini file for each domain. Does anyone knows how to create local …

Member Avatar for MitkOK
0
229
Member Avatar for flo-0001

I m going to create a web site, but i m not good in it . A frind of mine is going to help me but he isnt here now. We got the domain and the host but still didnt got the cript. I found some free scripts on the …

Member Avatar for flo-0001
0
127
Member Avatar for cargdrac

Hi I need help I´ve just installed apache 2.2.4 and php 5.2.3 and everything works fine until I want to load myql extension I have configured the extensions dir apropiately but somehow the Apache doesnt recognize them I really need your help

Member Avatar for Berhe
0
131
Member Avatar for joshilay

hi ... i want to use php 4 and apache 2 on fedora core 4 ... butr not been able to use ... so can anyone tell me how to plugin php non apache on linux platform .... Ashish

Member Avatar for Anonymusius
0
85
Member Avatar for Dsiembab

I was wondering, I might not have this question in the right forum, But how do you disable a program from taking a screen-shot of your website? I'm just asking because I've tried to take screen-shots of some websites and some of them just shut down the program while others …

Member Avatar for stymiee
0
296
Member Avatar for kolhal

I am Working a Site for Subbmiting the products in main database Here I am using two table the merchant table and name as merchant_table and main product table name as tbl_product. After login a merchant can add the product in his merchant_product table his product display only in his …

Member Avatar for stymiee
0
58
Member Avatar for fabzster

Hi This is my first post here and I have just started using php so please be kind LOL I have tried to use the script below to do a search on the database but it keeps spitting out [B](Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource …

Member Avatar for MitkOK
0
137
Member Avatar for php_noob

Hi people of the bandwidth world!!! Hey guys How are you today? What does $THIS-> actually do? I'm advancing in OOP programming using PHP.... Please enlighten me on this or if you have resources that explains all this in "ENGLISH" Thanks Guys

Member Avatar for Fungus1487
0
134

The End.