39,402 Topics

Member Avatar for
Member Avatar for helpless_101

i am working on a project which has user profile and need to upload an avatar. i have no idea on how to code using php the upload avatar function. any idea? any help would be appreciated! tnx

Member Avatar for helpless_101
0
105
Member Avatar for cali_dotcom

can anyone tell me why this does not work: [code=text] <div> <table> <FORM name="search_form" method='POST' onSubmit="return validate_form();" ACTION='jobsearch.php'> <tr><td>keyword:</td><td > <INPUT TYPE='TEXT' NAME='keyword'></td> <td>Industry:</td><td > <select name="cat_id"> <option value="">---select one---</option> <option value="1">Accounting</option> <option value="2">Administration</option> <option value="3">Automation</option> <option value="4">Banking</option> <option value="5">Biotech</option> <option value="6">Bussiness</option> <option value="7">Construction</option> <option value="8">Construction</option> <option value="9">Consulting</option> </select></td></tr> <tr><td>city …

Member Avatar for scru
0
79
Member Avatar for threebluIdboys

Hi, I am very new the whole php and mysql scene. I am trying to teach myself and so far everything has gone smooth, that is until today. I am trying to modify an existing php form that of course adds to a database and then displays the results for …

Member Avatar for threebluIdboys
0
88
Member Avatar for cwarn23

I have made a PHP script which takes days to execute (Web Article Generator) and is there any way that I can make the while loops do more Instructions Per Second using php. Because when executing the script, the servers resources are very low (15% memory & about 9% of …

Member Avatar for R0bb0b
0
123
Member Avatar for antwan1986

Hi everyone and thanks for reading, Now that I've been getting my hands dirty with PHP a lot more, I've been starting to freelance and I'm wanting to make sure I have the right systematic approach to protecting data before I commit to any projects. Whenever we accept user input …

Member Avatar for antwan1986
0
151
Member Avatar for koushikd

Hi, Unable to connect to MSSQL through PHP+ADODB+APache in my laptop. While the same is running fine in the server. Checked the SQL it is running fine. Can anybody help me?

0
44
Member Avatar for websurfer

hello, all: I am trying to make it so I can show a banner according to a blog articles's category(ries). per example if a posting (or postings) appears under category 101, then show banner1, if it appears on category 102, show banner2, if category 103 show banner3 and so forth. …

Member Avatar for websurfer
0
100
Member Avatar for Parab00n

I'm looking to add something like the survey I linked to one of my sites. Does anyone know of any tutorials on where I could figure out how to do this? [url]http://www.surveymonkey.com/s.aspx?sm=6XI3oB8MLk7ImuY5QtIDbQ_3d_3d[/url]

Member Avatar for FlashCreations
0
101
Member Avatar for MVied

Okay, so I'm writing an application. In this application there is a drop down with the selections 10, 20, 30, and so on to 100. This drop down controls the amount of times a loop will occur. Basically, every time the application gets to a loop that is 10% of …

Member Avatar for MVied
0
181
Member Avatar for yasmena

I have a problem with DATES .. i used to get the date from the user as 20-10-2009 and the DB field is DATE not TIMESTAMP then i use the following line to convert the date to DD-MM-YYYY when being viewed to the user since its stored in the DB …

Member Avatar for PoA
0
61
Member Avatar for duttydea

i am trying to calculate my working hours. I have a start time, a finish time and a lunch flag. What i am hoping to achieve is: difference between start & End time. If Lunch flag equals yes then deduct an hour from the Total. Can anyone help? Thanks in …

Member Avatar for duttydea
0
92
Member Avatar for LogicWeb

Good day everyone. I purchased Octazen contact importer script and trying to customize the sent emails to use html, but I cannot figure out exactly how to go about this process since the main file importer.php is mixed with php and html, and the actual form fields and the send-out …

0
55
Member Avatar for schowhan

There is showing error but i am not able to solve, please help: error is : [B]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 Warning: mysql_fetch_array(): supplied argument is …

Member Avatar for schowhan
0
111
Member Avatar for Andrew Hucks

Thanks for opening this, even though I have a rather vague title. Anyways, here's my predicament: I'm making a tool for players of the MMORPG [URL="www.runescape.com"]RuneScape[/URL] that would let them lookup their hiscores, and see how much XP they need from where they are to the next skill level. [URL="http://hiscore.runescape.com/hiscorepersonal.ws?user1=%27itstruikou"]Here's[/URL] …

0
76
Member Avatar for ica_era08

pls... send me... what is a good topic for a research/thesis...

0
37
Member Avatar for R0bb0b

I use to use all for loops for looping through database data sets and just started using while loops with mysql_fetch_ type functions and for some reason, the second mysql_fetch loop in the file never seems to fire but does when I switch the second one to a for loop. …

Member Avatar for R0bb0b
0
193
Member Avatar for jackakos

I am retrieving a list from my sql db into a select option box which works fine. The other part of the script should enable a selected name to be printed into a textarea, however this bit is giving a headache. Hope someone could be of help. [CODE] <HTML> <HEAD> …

Member Avatar for jackakos
0
148
Member Avatar for daviddoria

Does anyone know how I can count how many times a pdf has been downloaded from my site? Maybe someone has a php script or something that does this? Thanks! Dave

Member Avatar for daviddoria
0
156
Member Avatar for dflor

I've already installed apache server, php and mysql and they are working. I can't configure php and mysql to work together. When I run the test, I receive the message: "Fatal error: Call to undefined function mysql_connect() in C:\apache\htdocs\mysql_test.php on line 9". What can I do?

Member Avatar for dflor
0
78
Member Avatar for infernodeep

Hi guys I need some help from you guys... im facing a new problem with php download script when im downloading a application file, it suddenly stops and showing completed but application is not installing. the actual size is 9Mb....but it downloads sometimes 5.2Mb,6Mb,6.8,7.4Mb....it's not constantly downloading at certain size …

0
50
Member Avatar for nil_gh_80

anyone help me to recommend a free mail server like [COLOR="Red"][B]squirrel mail[/B][/COLOR] which is easy to use and configurable.....

Member Avatar for mexabet
0
212
Member Avatar for adrenaline_elz

Hi to All! need help, why is it time on the server is not exact in the output of the page. I' am using WAMP5 Server. If time depend on the time of the server, how can I change its time because it has 4hours ADVANCED. thanks.

Member Avatar for kevindougans
0
90
Member Avatar for corvette

Hi, can you give me an idea for a web project using PHP. I have a hard time thinking of it. thank you! :)

Member Avatar for corvette
0
80
Member Avatar for virspy

Hello friends, Iam Viru, and iam new to the PHP i want to add list of categories in that, but iam unable to add those, but iam not getting any error message also can any one help me please. is there any error in these please. Thank u in Advance …

Member Avatar for Shanti C
0
122
Member Avatar for kaka22

hie guys am a programming student who would love to know web design and hence would love to know which web dev. language is best between php and asp.net and where i can get the tutorials for free downloads

Member Avatar for Shanti C
0
87
Member Avatar for yasmena

I Need to insert a date into mysql database i dont know which is better using DATE or VARCHAR as the date field ?? im using now the DATE type but whenever i insert any date its not inserted in the DB 0000-00-00 it appears like this . the Code: …

Member Avatar for R0bb0b
0
84
Member Avatar for hirts_gal

i develop a web based ftp system. i can retrieve .txt file only from the ftp server in red hat linux 9.0. Can any one tell me how to retrieve other type of files in ftp server for example .doc or .jpeg. i have no problem in uploading those file …

Member Avatar for hirts_gal
0
115
Member Avatar for neil82

PHP error debug Error: mysql_num_rows(): supplied argument is not a valid MySQL result resource Error type/ Nr.: Warning - 2 File: /data/www/manager/includes/document.parser.class.inc.php(797) : eval()'d code Line: 58 Here's the code: [code=php]<?php /******************* parameters $details==0 if the person wants just the summary $details==1 if the person wants to see the course …

Member Avatar for R0bb0b
0
131
Member Avatar for Maverick2608

Code: [<?php Mail(“info@dating-advice-for-women.com”, “This is the message subject”, “This is the message body”); ?>] Error message: "Parse error: syntax error, unexpected '@' in /home/dating8/public_html/newland/messagesent.php on line 2" The server is SMTP email-enabled and the folder on the server has permission to send SMTPmail messages. The hosting company reply: "Please ensure …

Member Avatar for R0bb0b
0
119
Member Avatar for bettina702

Hi everyone, I am trying to make a login form for my site. I am using the About.com code as a template of sorts. You can find that here: [URL="http://php.about.com/od/finishedphp1/ss/php_login_code_4.htm"]http://php.about.com/od/finishedphp1/ss/php_login_code_4.htm[/URL] I have since changed this code to make it easier for my clients to log in. I want them to …

Member Avatar for bettina702
0
93
Member Avatar for msi_333

Hi all , what i want to do is to resample my large image into smaller resolution image and save it on the server, but the output image is corrupted when i open it in windows image viewer :(:( please help me , here is the code . [CODE=php] // …

Member Avatar for msi_333
0
674
Member Avatar for annasweb

Hi, I posted this in the MySQL forum and after 3 days without any help I thought I might have it posted in the wrong forum so I am posting it here. I am trying to query a terms database with multiple text boxes. The user has a choice of …

Member Avatar for cwarn23
0
79
Member Avatar for Shanti C

Hello Friends... Tell me how to store my product information in xml file using php ... Is this is a replacement of my database... Please tell me any information on this... Thanks in Advance.. Shanti

Member Avatar for R0bb0b
-1
207
Member Avatar for jees

Hi, I am a webdesigner and don know much about php coz, my main stream is html and css. I used to use asp feedback forms for my websites. But my new website server is unix based. I think asp feedback forms are not supported in unix. Please tell me …

Member Avatar for R0bb0b
0
90
Member Avatar for antwan1986

Hey guys hopefully this is just a quick question. I've a form that is sending data to a PHP script. The form has the following textbox: [CODE] <input id="quantity1" name="quantity1" type="text" value="" /> [/CODE] Whenever it is posted I do the following: [CODE] function isInteger($val) { if (is_int($val)) { return …

Member Avatar for kevindougans
0
123
Member Avatar for Leandro-AL

Hello! This is my first post here. :) I'm trying to use this regexp pattern to filter form input (the message body) that will be emailed to me from a "contact us" form. The pattern is (i removed the punctuation and other special chars for the sake of ease): [CODE]$clean['match'] …

Member Avatar for Leandro-AL
0
138
Member Avatar for phpsnook

hai ! im into a project where ive got to display the table in the form of a datagrid....im in a look out for a really gud one ....pls help....

Member Avatar for Shanti C
0
57
Member Avatar for architact

Hello, How can I find out the day of week, using given date using php or mysql, I have searched for it on google and find out a mysql function DAYNAME but when I used this function the output is "Resource id#3" please help me in solving this. Thanks

Member Avatar for Shanti C
0
83
Member Avatar for mohammed2raja
Member Avatar for Shanti C
0
107
Member Avatar for architact

Hello, I am developing a website for which I am designing a signup form, the problem is a user fills the form and miss a field when they go back to enter that field it cleans up all the remainig field and they have to fill the whole form again. …

Member Avatar for R0bb0b
0
162
Member Avatar for servantofgod

Looking to rewrite the pages of a company I work for, [url]www.whatsshopping.com[/url]. The product pages produce URL's as such: [url]http://www.whatsshopping.com/productsincategories.php?ban=352&cat=LG483BLK[/url] Looking to if possible, rewrite the pages to reflect the product name or category name in the url.

Member Avatar for servantofgod
0
258
Member Avatar for Zack2008

Hi I have my existing code [code=php]<?php $query = sprintf("select venue,count(venue) as frequency from matches group by venue ORDER BY `frequency` DESC limit 300"); $result = mysql_query($query); ?> [/code] and it outputs a table [code=php]<?php $result = mysql_query($query); while ($row = mysql_fetch_assoc($result)) { $text = "".$row['venue'] . ""; $url = …

Member Avatar for Zack2008
0
103
Member Avatar for p_midtlyng

Hello- I need modify this code so that I can have multiple audio segments on one page, with accompanying text and play button. The idea is to have dialogues where the user can click on each line, and each character name to have that piece of audio played. My boss …

0
70
Member Avatar for lotpb

Hi I am a newbe to php and I need to have the Dates on the list passed on to the two input values (Example Datefrom-Date list option - Dateto-Date list option) I am clueless on how to do this Thanks see code below <form id="form3" name="form3" action=""> <select name="SelectDate" …

Member Avatar for lotpb
0
141
Member Avatar for jyotiu

Hi all I want to append a text file data to an already existing excel file.the text file will be of the following format: [code] BARCODE|TITLE|PRICE|CUSTOMER_FIRST_NAME|CUSTOMER_LAST_NAME|CITY|STATE|ZIP|PURCHASE DATE 111111868167|Dead North Friday Night OCT 10th |18.5|Amber|Follensbee|Windsor|VT|05089|08/07/08 11:30am 111111868177|Dead North Friday Night OCT 10th |18.5|Amber|Follensbee|Windsor|VT|05089|08/07/08 11:30am 111111868187|Dead North Friday Night OCT 10th |18.5|Amber|Follensbee|Windsor|VT|05089|08/07/08 …

Member Avatar for R0bb0b
0
122
Member Avatar for acs_cobra

Hi Guys.., I hope someone can point me in the right direction...... Please :) I have created a shopping cart with a product photo upload section where the path and description of the photos are stored in a sql table. Product photos get uploaded to the website, then the person …

Member Avatar for acs_cobra
0
105
Member Avatar for sarithak

Hi... here i am doing a project like shopping cart.... when we submit Quantity& Cost...it requires mutiplication...when we enterd these two values,it display total amount in that same page itself... So,here it requires onfocus event...plz tell me how we can use here...and also check this below form ....provide [B]hidden fields[/B] …

0
72
Member Avatar for god_1896

hello to all; I'am newbie to PHP and needed to all php master, Please help me to make this code funtionally working, her is my code that i mean to <form id="myProvince" method="get" action="index.php"> <select name="select" style="width:200px" onchange="myProvince()"> <option value="all">Province</option> <?php $ByProvinceToShow=province::getByProvince($select); if (!isError($ByProvinceToShow)) { foreach ($ByProvinceToShow as $element => …

Member Avatar for god_1896
0
152
Member Avatar for virajmm

Hello, I am totally new to PHP...started working on it a week back. I am looking for a innerHTML equivalent in PHP. I need to create a web page with a "Add row" button which when clicked would add 1 blank row on the screen with "remove" button infront of …

Member Avatar for Will Gresham
0
89
Member Avatar for jackakos

I have this chronic problem with my php file, though I have made a lot research about the submit buttons and isset and $_POST part of the problem still persist. For you to understand and probably point out my mistakes, i have enclosed the script below: [code=php]<?php $m = (!$m) …

Member Avatar for Will Gresham
0
220

The End.