39,393 Topics

Member Avatar for
Member Avatar for yasmena

im having a problem in resizing an image on the Fly and i just need to know is there anything wrong with that line <img src="image_resize.php?image=<?=$arr['picture']?>&max_width=200&max_height=120">

Member Avatar for R0bb0b
0
68
Member Avatar for FlashCreations

Hello Everyone, I have a little problem with my PHP script. I have created a very detailed system using PHP and wish to upload it to a computer running XAMPP on my network. Because the file will be uploaded to a normal computer all of my PHP files will be …

Member Avatar for FlashCreations
0
248
Member Avatar for prashanth18

i have to fill a daily activity chart in the user area and submit it, after submiting the form the admin shud be able to make changes to the daily activity chart and resend it to the user, and the user shud be able to see the changes up to …

Member Avatar for PoA
0
79
Member Avatar for Mylena

Hello, This is just an extraction from the code. The code below works really well in Mozilla Firefox, but does not work with the <a> and <font> tags in any other browsers. When I remove <a> and <font> tags, it works in other browsers... If anyone can spot the problem, …

Member Avatar for Mylena
0
109
Member Avatar for sharad.kohli

Hi please help me,I am kind of new at php. This is what i have to do please ,provide me with a code if some one can 1)I have files named like 10.txt,9.txt,7.txt etc..//only text files 2)higher the number of the file hisger the priority 3)i just want to use …

Member Avatar for sharad.kohli
0
102
Member Avatar for sahdev86

hai guys...ive got prob wit my coding..can anybody help me....there is a syntax error in the code...if i delete id,type,price n desc...the code works wel...for ur information the id,type,price n desc wil display automatically wen user click the food picture...the user only keyin the email,roomno,apartment and quantity...but the db mus …

Member Avatar for PoA
0
109
Member Avatar for MissPheth

I have a T_STRING error on line 101 line 99: echo(" line 100: <form name=name=add_new action=http://www.nwaoftexas.com/bm_pro/edit_prop.php?prop_id=$var enctype = \"multipart/form-data\" method=post><table id="second" width="600" align="center"> line 101: <tbody> line 102: <tr> line 103: <td align="center"><img alt="" src="logosoft2.jpg" /> </td></tr> line 104: <tr> line 105: <td class="heading" align="center"><a href="/bm_pro/index.php">Home</a> | <a href="/bm_pro/brochure.php?&amp;prop_id=$var">Create Brochure</a> …

Member Avatar for R0bb0b
0
187
Member Avatar for archway

Hi Sorry, new to this. I understand when using a form to upload image files and information into a mysql database it is best practice to store the image in a directory and the image path in the mysql table. The following code stores the image into a directory and …

Member Avatar for archway
0
155
Member Avatar for Mylena

Hi, I have a web site in which I pass many javascript variables to php and the other way round. This is my last passing variable challenge, and I cannot figure it out. There's an alphabet letter that i pass into showhide1(v) function, and i try to pass it to …

Member Avatar for Shanti C
0
113
Member Avatar for Bunhok

Dear All, I am a new web, I would like all of you kindly help me with code of sorting column heading. Thanks in advance! Kindly regards, Bunhok

Member Avatar for Bunhok
0
288
Member Avatar for Will Gresham

Hi all Just a quick question, I have avoided the ternary operator type If statement a lot in my code, because personally I find it easier to read a statement like this: [code=php] if (empty($_POST['action'])) { $action = 'default'; } else { $action = $_POST['action']; } [/code] Rather than: [code=php] …

Member Avatar for R0bb0b
0
269
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
103
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
87
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
122
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
147
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
42
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
192
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
147
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
77

The End.