39,402 Topics

Member Avatar for
Member Avatar for mattyb15

Hi i'm a newbie to PHP and MySQL. I was wondering if anyone could help me with some code to Add 1 to a number that is assigned to a person in the database. So, the person types their name in a form. Then the form has to find that …

Member Avatar for mattyb15
0
71
Member Avatar for CoolGamer48

I'm trying to upload .js files onto my sever. This is the code: [CODE]<html> <head> <title>Add Ubiquity Command</title> </head> <body> <form action="add_ubiquity_cmd.php" method="post" enctype="multipart/form-data"> Name: <input type="text" name="name" /><br /> Description: <textarea rows="8" cols="30" name="description"></textarea><br /> JS File: <input type="file" name="file"><br /> <input type="submit" value="Add Command" /><br/> </form> <?php if(isset($_POST["name"])) …

Member Avatar for Atli
0
110
Member Avatar for saikishore

Hi frnds..... i have small doubt.. here i am copying code..plz see once.. till the table ends..it works fine..the page moves to thanku page....but the feed back is not moving to the mail(mail function )........ [B][U]feedback.php[/U][/B] [CODE]<? $contact_name=$_POST['contact_name']; $contact_phone=$_POST['contact_phone']; $contact_email=$_POST['contact_email']; $contact_comments=$_POST['contact_comments']; $mail_body='<style type=text/css><!--td {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px;}--></style> …

Member Avatar for Shanti C
0
61
Member Avatar for lijothomas

Hello I need a help, a client of mine asked me to build a website and I made the website on normal html pages and now he wants all the urls to be dynamic, how do I get this done? Please help me

Member Avatar for nikesh.yadav
0
63
Member Avatar for lamarketingfirm

I have a website that I just created a contact form for. However. it seems like a bot has hit the form, and continously fills out emails. I don't know php very well - and someone else did most of the work. I don't want to put a captcha in, …

Member Avatar for ithelp
0
242
Member Avatar for anuj_sharma

hey guys, i want to upload a pic from a computer and i want that the pic be displayed at a particular place in the website. This pic should always be there whenever the user log's in. Please give me some suggestions on how the picture can be stored in …

Member Avatar for Shanti C
0
87
Member Avatar for katiiiii

dear all, i have 2 tables with no common column. and i wanna add the columns of the second table to the first. but when i use the below command a cartesian product happens! select column1,column2,column3,column4 from table1,table2 but i want the number of rows be fixed. so i thought …

0
57
Member Avatar for katiiiii

pleaseeeeeeee hepl meeeeeeee!!!!!!!!! i have 2 tables : time1 (noo integer,days varchar,times varchar,Tindex integer,primary key (noo,Tindex)) timetable1_1(COn integer,coursename varchar,dayss varchar,timess varchar, primary key(COn)) i have created a new table temptime1 and tried to fill it with the rows in time1 which their days and times are not available in timetable1_1 …

0
47
Member Avatar for elouis

Hello I need to know the steps to follow to have customers register their name and address from a registration page and as they click a submit button, the information is automaticalle appends to another page or the same page in a different area. I have registered domains with hosting …

Member Avatar for elouis
0
72
Member Avatar for edoal

i need some help in making a database....what are need entities in making database such as forums,bulletins and login purposes.... pls repzzzzzzzzzzz

Member Avatar for MVied
0
105
Member Avatar for mark1993

Hello you know phpbb3 and know how to place ads? here is your chance be an admin in my forum I will give you the ad codes just place it at the posts and the top header and i need you to create forums regarding games and off-topic discussion. forum …

Member Avatar for MVied
0
99
Member Avatar for designingamy

Easy question, except I don't know how to do it. I want to ask for user's email address and then have them confirm it. How do I use php to check to make sure the confirmation matches the first email address entered? Thanks in advance! ~Amy

Member Avatar for MVied
0
98
Member Avatar for designingamy

Hello all! I wanted to ask everyone what they thought about the sleep function in php. I do believe I'm going to use it for my website, but I'm really unsure how to implement it in. I wanted to use it on the login page. I googled this until I'm …

Member Avatar for designingamy
0
259
Member Avatar for lydia21

hi i am using php email function .in from address i am getting my ftp email id eg username:form,my mail id is as [email]form@connect.com[/email] but i want to give my own address...dynamically what i give. [ICODE] $body1="<html><head></head><body>"; $body1.="<table width='850px' border='0' align='center' cellpadding='0' cellspacing='0' style='vertical-align:top;'>"; $body1.="<tr><td><p>If you have net banking facility …

Member Avatar for mexabet
0
168
Member Avatar for rod1

I've developed a website a couple of months ago and there is one thing which is really bugging me. For some reason my grid is falling out of place in the left hand corner where it says GB DE. But this only happens with Firefox, if I view it in …

Member Avatar for nikesh.yadav
0
103
Member Avatar for Shanti C

Hello all.. Can anybody clearly explain about web 2.0??? And tel me about mashup also....

Member Avatar for nikesh.yadav
-1
541
Member Avatar for Madawa

Hey, I want sort an associative array of string. such as array( [hotel]=>array( [name]='Royal Cabin' ), [hotel]=>array( [name]='macdonald court' )) etc... what want is to sort the above array to a given string such as 'ro' or 'mac' wher the array is sorted and show the closet match in the …

Member Avatar for nikesh.yadav
0
101
Member Avatar for mgn2683

Hi, I am in the process of creating a Real estate web site and it needs to have a search able database. I am trying to have someone select an option from a menu, then hit search and restrict the results based on the URL variables. I know how to …

Member Avatar for nikesh.yadav
0
98
Member Avatar for queenc

hi i want to send mail to more than one user.the below code is not working.please do tell me how to do tat [ICODE] <? $to = "s@gmail.com";// note the comma $bcc = "s@gmail.com"; $from="l.w@cs.com"; $spaces="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"; $sub="hi bye"; $body="<html><head></head><body>"; $body.="<span style='text-align: left;text-indent: 5px;font-family: Verdana;font-size: 11px;color: #404040;'>"; $body.="Hi Client: <br /><br …

Member Avatar for nikesh.yadav
0
80
Member Avatar for Diode

I am making a section in the users' profile where they pick their favorite teams, which might be in different leagues (NCAA, MLB, NFL). When the user picks the league, it takes them to the next page that lists the teams under their respective conferences (Big 10, Big 12, NFC, …

Member Avatar for antwan1986
0
152
Member Avatar for Silvermice

this is not my code >.< I found an online rpg engine thing online and d/l'd it when I try to start it I get this error, another problem is the writer is french so I found no english readme or anything usefull as to if I need more then …

Member Avatar for Shanti C
0
575
Member Avatar for vssp

Hi I am working on save the outlook mails to linux mysql database. is it possible? then i need to open the mail using php ? is it possible ? Please advise

Member Avatar for vssp
0
139
Member Avatar for justted

Hello, I am trying to show a list of information using a FETCH and WHERE statements. This is my code: [code] $buds = mysql_query("SELECT * FROM buds2 WHERE bud_me = '$userid' AND confirmed= '1'"); $x = 1; while ($array = mysql_fetch_array($buds)) { $buddy = fetch("SELECT display_name,username FROM members2 WHERE id …

Member Avatar for Atli
0
88
Member Avatar for mgn2683

Hi, I am creating a real estate site, and I need a thumbnail and full size image to display. I'd like to store the images in respective folders under the Images folder on the server, and store the file name in the database. I can't get the images to display …

Member Avatar for antwan1986
0
168
Member Avatar for yuvrajsinghshak

Hi any 1 can tell me how to upload image folder instead og single_2 image.I want upload all image of folder. so i ma getting problem in this. i have seen many script in which we can use multiple image upload,in which u could create more then 1 text box …

Member Avatar for MVied
0
286
Member Avatar for queenc

hi i want to calculate the no of user visited our site.can somebody please suggest how to do that thanks in advance

Member Avatar for MVied
0
159
Member Avatar for ryy705

Hello, I am retrieving html out of a multipart message using: [ICODE]$html = imap_fetchbody($imapStream, $emailId, '2');[/ICODE] And I am retrieving plain text by using [ICODE]$plain = imap_fetchbody($imapStream, $emailId, '1');[/ICODE] My question is: Why is this working? I got this to work through trial and error. I don't know why I …

Member Avatar for pritaeas
0
372
Member Avatar for ub007

Hello, I'm trying to develop a browser interface for my load testing environment.I can ssh into the client machines & run scripts,but also wish to execute them in stages.....kinda stuck here cz i do not know how to store the state of my counter variable...plz find below my code(i have …

Member Avatar for Atli
0
88
Member Avatar for rajeesh_rsn

I had a website of 75 html pages Now I need to add a search into my index page. I wish to done it in PHP because my web server supports PHP. Please help me.... Thanks in Advance Rajeesh

Member Avatar for rajeesh_rsn
0
121
Member Avatar for iamus

Hi, I'm trying to install the php/java bridge on ubuntu hardy heron. I've installed it from the source downloaded from sourceForge. I've managed to get it run from the php command line as php test.php but when i run it from apache i get an error from the code below …

Member Avatar for Atli
0
89
Member Avatar for bettina702

I am building a confidentiality form which I would like to submit to a printable page and to two or three email addresses (one being the email address of the person who filled the form out). This means that the language that is above the form needs to be printed …

Member Avatar for langsor
0
127
Member Avatar for kings

[code="PHP"] <html> <head></head> <body> <?php $hostname="localhost"; $username="jesus_jesus"; $password="jesus"; $dbid="jesus_jesus"; $link=mysql_connect($hostname,$username,$password); mysql_select_db($dbid) or die("unable to connect"); $result=mysql_query("select jid,industrytype from career"); if($result) { echo '<select>'; while($myrow = mysql_fetch_array($result)) { echo '<option value="',$myrow['$industrytype'],'"></option>'; } echo "</select>"; } ?> </body> </html> [/code] in this code i'm getting only the listbox.not to able to retrive …

Member Avatar for cVz
0
147
Member Avatar for c++ prog

websites is not really my specialty...so how can I connect modules? and also how can a user update, lets say his bulletin, by just editing it just like in multiply...any suggestions or online tutorials will be appreciated ..tnx

0
63
Member Avatar for mo_zag

Hi guys hope you can help i need to know how i would use curl to fill in a form which uses asp.net postback function with javascript anyone achieved this if yes how. Thanks Guys

Member Avatar for w_3rabi
0
89
Member Avatar for partainj

DISCLAIMER: I am a beginner. I know how to edit html, but not much else. I recently had a website designed with an inline javascript form for my Aweber autoresponder. In order to save money on having a thank you page designed, I am using the aweber thank you pop-up …

Member Avatar for partainj
0
86
Member Avatar for BooBooCat

As I am quite new at this web world, can anyone please be so kind and let me know what/how to use PHP so as to find the word of say bananas across ALL web pages on the internet? So I ultimately want at the end of the day, a …

Member Avatar for MVied
0
269
Member Avatar for CoolGamer48

Does mysql_real_escape_string() escape HTML character entities? I want people on my comment board to be able to post quotes in their comments, but they get escaped as raw ascii, so I run them through htmlentities() first, but it doesn't help. I only get it to work when I remove mysql_real_escape_string(), …

Member Avatar for Atli
0
162
Member Avatar for StNick

Hi all, This is the first of what I hope to be many contributions to Daniweb. Unfortunately, my first "contribution" is a question, one which will surely highlight my lack of experience with this issue. I have written a PHP "Back Office" application which talks to our hardware via a …

Member Avatar for Atli
0
77
Member Avatar for tonyledenko

Hello, I am trying to pass multiple values, via an implode function. However, it isnt working. Here is the code from the first page, then the second page. [code=php] <?php if(isset($_POST['numItems'])) { $checkboxes = $_POST['numItems']; $string = implode($value,"^"); echo $string; } ?> <form name='CartItem' action='https://www.ram-mount.com/RamCart/CartPutItem.php' method='POST'> <input type='checkbox' name='numItems[]' value='RAM-VB-162'> …

Member Avatar for Atli
0
126
Member Avatar for php2sheik

hai have one combo box and text box and one submit button in(page1.php). i want to search from DB for some records based one combo box item and text typed in textbox by clicking search button. i select one item from combo box, and type text in text box and …

Member Avatar for MVied
0
178
Member Avatar for praveen_dusari

hi all, i want to develop a shopping cart which uses only sessions to store products their id and prices etc. so, i thought of an idea to store products details in a multidimensional arrays and then into session my idea is like this [code]array( [productid1]=>array( [0]=>product name [1]=>productprice [2]=>product …

Member Avatar for MVied
0
78
Member Avatar for loligator

I'm pretty much a newb when it comes to PHP and MYSQL (taught myself, so I make a lot of mistakes :confused: ) So here's the code... [code] $query = "SELECT DISTINCT(t_tag) FROM tags ORDER BY t_tag desc LIMIT 50"; $results = mysql_query($query) or die(mysql_error()); while ($row = mysql_fetch_array($results)) { …

Member Avatar for MVied
0
208
Member Avatar for khsater

Hey. I'm trying to make an activation script for a website, but for some reason my sql query is giving me errors. [CODE] $sql = 'UPDATE user SET active = 1 WHERE (password = "$_GET['hash']") AND (timestamp = ".base64_decode($_GET['stamp'].")'; $result = mysql_query ($sql) or die (mysql_error()); if( mysql_num_rows($result)==1 ) { …

Member Avatar for MVied
0
69
Member Avatar for websurfer

Hello, all: Wandering if anybody can help me with this: can I have more than one htaccess file in a site? as in having htaccess files in subdirectories to control or specify how files in that directory refer to "include" files? so that if I have a mini-site within a …

Member Avatar for websurfer
0
112
Member Avatar for selvam543

how to get print dialog box through php. that's mean when i click the submit button named as print . then it will show the print dialog box.

Member Avatar for buddylee17
0
444
Member Avatar for rjrasmussen

I created a list and detail page using Developers Toolbox and from the detail page, I want to be able to get to a series of other pages, all using the ID from the detail page. So...here's my example. You login and search the mbrlist.php page for your user. Based …

Member Avatar for rjrasmussen
0
105
Member Avatar for veledrom

Hi, I have 2 tables in each page. when i have more than 1 page, tables are breaking into other pages. Like, end of the one table appear in next page. How can i do it stable. Because, when i print, i want each page have 2 tables without any …

Member Avatar for Shanti C
0
115
Member Avatar for sherest

Hi! I'm a web designer and have a little bit knowledge of action scripting (both as2 and as3). Now these days, I'm working on a new flash project regarding multi-user poker game. I've never worked before on these kind of projects, but when I was searching on google about multi-user …

0
39
Member Avatar for rahejapreeti

If anybody could let me know how to create a bullet in an xml file using php. This piece of knowledge will be highly appreciated. Thanks

Member Avatar for rahejapreeti
0
187
Member Avatar for punithapary

Hi I created one website with login form.In that form after login with username and password i entered into welcome page after that i clicked logout then my page gets logout then i clicked back option in my browser that time it shows well come page i want to avoid …

Member Avatar for Shanti C
0
123

The End.