39,402 Topics

Member Avatar for
Member Avatar for tanha

Hello everybody, I want to have search option and the search result in one page, so I write the following code, but I dont know why after search there is no results displayed: [LIST] The file name is SearchInSide.php[/LIST] [CODE]<HTML> <BODY> <FORM Action="SearchInSide.php" Method="POST"> <div align="center"> <table border="0" cellpadding="0" cellspacing="0"> …

Member Avatar for tanha
0
150
Member Avatar for nil_gh_80

[B]I want to create a table, with a column which datatype will be LONG BLOB, what will be it's size????? e.g. [U][I]create table tab1(name varchar(20), pic longblob([COLOR="Red"]?????????[/COLOR]));[/I][/U] plz give me the currect code...........[/B]

Member Avatar for Dani
0
136
Member Avatar for Mareq

I am in need of web template engine and I am considering two options. PHPSavant and Smarty. I am using PHP ver. 5 and PostgreSQL database. PHPSavant supports PHP5 only in beta2 version, so I am affraid of some serious bugs, but at the other hand, as far as I …

Member Avatar for couloir007
0
179
Member Avatar for hunkychop

i wrote this script and i cant get any ouput from it. [code] $time = $_POST['time']; $budget = $_POST['budget']; $visual = $_POST['visual']; $update = $_POST['update']; $custom = 0; $stream = 0; $easyup = 0; $selfup = 0; $upserve = 0; if($time == "deadline"){ $custom = $custom + 1; } if($time …

Member Avatar for Anonymusius
0
87
Member Avatar for nil_gh_80

[B]Hi members, I've a project on match-making website where I've to give a facility to my client to upload image file as happen in orkut...plz give me the concept & if possible plz give me some related Codes..........[/B]

Member Avatar for Ezzaral
0
39
Member Avatar for vjw757

i have a site at [URL="http://cometorate.com/"]http://cometorate.com/[/URL] i tried todo a cPanel move to my server here. [URL="http://66.196.43.131/~cometora/"]http://66.196.43.131/~cometora/[/URL] on the new server above i keep getting the errors below. i just dont know what any of this means. can anyone help? Warning: fopen(/usr/local/apache/htdocs/online.txt) [function.fopen]: failed to open stream: Permission denied in …

Member Avatar for w_3rabi
0
129
Member Avatar for ndeniche

so, i started at php and i'm doing some exercises from the book, but when i type this code into my "view.php", the output is all wrong...[code=php] <?php include("dbconnect.php") ?> <h2>View my GuestBook!!</h2> <?php $result=mysql_query("select * from guestbook") or die(mysql_error()); while ($row=mysql_fetch_array($result)) { echo "<b>Name:</b>"; echo $row["name"]; echo "<br>\n"; echo …

Member Avatar for w_3rabi
0
460
Member Avatar for autocrat

Okay - there is no otherway to phrase this ... [B]Help![/B] I am not a programmer, never claimed as such... but I do use a php based CMS, which I adore - Xaraya. So I am building a site for a client, and it's gotten to be a rather ugly …

Member Avatar for autocrat
0
240
Member Avatar for edu2004eu

Hello. I am currently having a problem with a script. I am using the rand() function to make big randomized numbers. The problem is that rand() only returns numbers lower than about 2 billion. I need more than that. Is there any function in PHP that gives you REALLY BIG …

Member Avatar for edu2004eu
0
116
Member Avatar for satforce

Hello, I really need your help in vbulletin forum .. I am owner of vbulletin forum designed for arab and it's specialised in html and php tutorial how can I highlight code like daniweb forum ?? I dom't know if administrator can help me or not but I hope !! …

Member Avatar for martin5211
0
151
Member Avatar for nil_gh_80

Dear members, can any body plz help me out to insert image file in MySQL.......is it possible ???????? [B]If possible plz give me the code............[/B]

Member Avatar for Eko
0
148
Member Avatar for phobia1

Hi I want to understand how to pass any variable betwen functions with PHP. Could anyone make it easy for me to understand please as I want the 'id' field? basically I have a list of records an a click to edit button. This brings up the editor. All works …

Member Avatar for phobia1
0
60
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
103
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
290
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
76
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
90
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
137
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
161
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
83
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
206
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
163
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
93
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
81
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
276
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
107
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
225
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
80
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
101
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
143
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
47
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
73
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
88
Member Avatar for zonkd
Member Avatar for Puckdropper
0
191
Member Avatar for btmehta
Member Avatar for binoj_daniel
0
28
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
233
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
130
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
132
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
88
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
318
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
60
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
140
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
139
Member Avatar for niceware

who have a PHP virsual program ? I know little on PHP, need a PHP virsual program very much.

Member Avatar for bassemyehia
0
148
Member Avatar for marjan_m

I hv make a html file on which I placed 2 fields username and passowrd.I also included a php file named "check.php" The code in the check.php is as follows: [CODE] <body> <? $con = mysql_connect("localhost","",""); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("alauddin", $con); $name=$_POST['txtusername']; $password=$_POST['txtpw']; …

Member Avatar for ryan_vietnow
0
106
Member Avatar for tagz017

hi guys.. need your help for retrieving selected images from the database and display it in thumbnails.. thanks

Member Avatar for flagbarton
0
89
Member Avatar for dmotah

hi, tkx bt i again need ur help guyz! im using a form with post method! bt i want wen the username and password r correct it opens another page, else it comes back to the login! plz watinf thkx

Member Avatar for Pro2000
0
104
Member Avatar for kaleidoscopelex

Im having these problems, it used to work in my website for almost a year then suddenly this error occured.. [B]Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/alexsl/public_html/admin/system/[B]functions.php [/B]on line 291[/B] here's [B]functions.php[/B]: [code=php] <?php // Somery, a weblogging script by Robin de Graaf, copyright …

Member Avatar for stymiee
0
164
Member Avatar for abraham.obando

has any one come across a problem when reading from a socket that sockets information are interchanged. I have a web server and using sockets i get information from another server but it so happened that two users logged in at the same time and their information was interchanged; meaning …

Member Avatar for abraham.obando
0
83
Member Avatar for binoj_daniel

How can setup an automated mailing of datadriven content on some schedule? How can i implement using PHP? Is there any configuration on the Web Control Panel? Any ideas?

Member Avatar for binoj_daniel
0
82
Member Avatar for tanha

Hello everybody, I use the WAMP5 tools which has the following features: i) Apache 2.2.4 (SERVER) ii) PHP 5.2.3 + PECL iii) SQLitemanager iv) MySQL 5.0.41 v) Phpmyadmin Suppose I have four date fields, and I have a button next to each of them, I like when I click on …

Member Avatar for MitkOK
0
71

The End.