39,320 Topics
| |
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 = … | |
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 … | |
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 | |
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 … | |
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); … | |
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 … | |
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..... … | |
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 … | |
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. | |
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. … | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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. | |
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 … | |
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] … | |
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 … | |
[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="") { … | |
Is there a simple php way to make a webpage read-only, please? | |
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 … | |
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 … | |
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 | |
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 | |
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 … | |
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 … | |
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 … | |
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 |
The End.