39,402 Topics

Member Avatar for
Member Avatar for darjana

Greetings, I have the following code [CODE] <? include("conn.php"); $sn=$_GET["sn"]; $sql="select * from kpi where no='$sn'"; $result=mysql_query($sql,$connection) or die(mysql_error()); while($row=mysql_fetch_array($result)) { $sn=$row['id']; $no=$row['no']; $pdetails=$row['pdetails']; $kpistatus=$row['kpistatus']; $status=$row['status']; $cols=$row['cols']; $rows=$row['rows']; } ?> <form name="form1" method="post" action="formsubmit.php?mode=addtable"> <table width="100%" border="1" align="center" cellpadding="2" cellspacing="2"> <tr> <td colspan="2"><strong>Add Table</strong></td> </td> </tr> <tr> <td>NO</td> <td><input name="no" …

0
55
Member Avatar for Stefano Mtangoo

Hello all, greetings! I'm setting Phpbb3 forum and I need the sidebar of my website to have dedicated <div> for hottest topics on the forum. How do I do that? Which phpbb3 file stores such information. NB: I'm very new to PHP Thanks all!

0
48
Member Avatar for animedude123

Hey, Right now I'm working on a login system for my site. The user enters their info, the info is sent to the php page through ajax, the php checks if the input fields are empty and checks if the info is correct. If fields are empty or the info …

Member Avatar for ivanCeras
0
96
Member Avatar for bluerain25

hi guys, somebody help me please i need to know how to retain any input on page reload. I have 2 chained combo box (province and city) when a user choose a province, the next combobox should be populated. I use a script that reload the form to execute a …

Member Avatar for hakimkal
0
150
Member Avatar for fanni

Am trying to setup the cron jobs to send mails automatically to the users. Am using below command but am getting error as below /bin/sh: line 1: /hsphere/shared/php4.4.4/bin/php-cli/home/bizallia/public_html/admin/cron.php: No such file or directory Could anyone know the solution?

0
46
Member Avatar for kevin wood

i have set up a mysql db for storing news articles to be displayed within a flash website. i have now been asked if i could add an image upload function to this section. i have created the upload page and i can upload the images to the db fine. …

Member Avatar for terrymodular
0
1K
Member Avatar for websurfer

Hello, all: I have a general question on SEO and database-driven site integration... I am starting to convert a company site from static, to dynamic driven site (php/mysql) with a basic admin section, so that owner can make changes himself thru the browser. I have read about issues related to …

Member Avatar for cwarn23
0
190
Member Avatar for Shanti C

is there any possibility to access server php ini file ??? if i enable to get work asp tags in php ,but it is not working in server... how do this possible??? thanks shanti

Member Avatar for Shanti C
0
96
Member Avatar for veledrom

Hi, How do i define the hard drive in [inlinecode]header('Content-Disposition: attachment; filename=......[/inlinecode] Something like this [inlinecode]header('Content-Disposition: attachment; filename=C:\MyFolder\file.jpeg); [/inlinecode] Thanks

Member Avatar for ShawnCplus
0
47
Member Avatar for Stefano Mtangoo

Hello All, As plain as the question is: I'm compltely newbie in PHP but in near future I plan to study PHP. I now Learn Python and need to Get acquanted with PHP as well as C++. My Question is, IS THERE ANY FREE BUT LEGAL Books ready for download …

Member Avatar for Stefano Mtangoo
0
116
Member Avatar for Sheridan

I have created a page with a number of frames. One of the frames has a form with a submit button. On submit, I want to close the entire page (ALL the frames) and open the new page in a fresh window. How do I do that?

Member Avatar for Sheridan
0
93
Member Avatar for througheye

Hello daniweb guys Can anyone provide me [url]www.superrichjesus.com[/url] script. I need it urgently for my working purpose. Or can you tell me where i can find it? thank you.

0
53
Member Avatar for amanjha

Hi Friend, I want to develop a web page which will show the search result for flights from source and to destination. I do not know how to access the individual airlines company access their details for the above particular search. Do they provide any service for this? If then …

Member Avatar for Rhyan
0
108
Member Avatar for praveen_dusari

hi all, i want a image gallery script like [URL="http://www.itasveer.com/doodlepad.do"]this one[/URL] using php or javascript or ajax does any please refer me to the site where i can get the script or i am ready to pay for the script too thank u in advance

Member Avatar for Rhyan
0
63
Member Avatar for krauz2

How can I have a switch command send to a ftp site? Here is what I have. Instead of $to_email is there one for URL? Thanks everyone. Erich switch($attn1) { case 'employees': $to_email = "ftp://myftpsite@rgl-e.com"; break;

Member Avatar for Rhyan
0
68
Member Avatar for gym_shorts

Here is my scenario: Users opens IE and home page loads based on our group policy in that page I need the following to happen: 1) creates a cookie with an expiration date of 30 days 2) checks to see if cookie is set, if it is set and its …

Member Avatar for gym_shorts
0
130
Member Avatar for mgn2683

Hi, I'm hoping someone can give me some advice or guidance. I am using Developer Toolbox (yes I'm still trying to learn php) Right now I have an index page with 7 set links on it. Basically, a user logs in, and is brought to this index. Based on what …

Member Avatar for mgn2683
0
119
Member Avatar for Aamit

Hi.. I am creating one table has huge data. creating one input text & search button. when put some string i.e. anything we want as input in text field [COLOR="Green"]when click on search button..... [/COLOR] [B]I want to show that the content match with string the rows in database are …

0
80
Member Avatar for igeek

Hey everybody, I've been working with PHP for a few months now and have come pretty far... and am starting some pretty big projects using Object-Oriented PHP design patterns. I've learned a bit about the Model-View-Controller and decided to sort of make it with twist. Before I started implementing it …

Member Avatar for ShawnCplus
0
75
Member Avatar for ocbphoto

I am trying to develop a ListMenus like this one [URL="http://www.felixonedst.com/test/dependents.php?"]http://www.felixonedst.com/test/dependents.php?[/URL] I have already my database running i am missing all the rest, PLEASE HELP ME GUYS THANK YOU

0
62
Member Avatar for 123468743867143

Good day everyone from beautiful California, I have been able to limit the number of listings showing per page ($per_page=10) [COLOR="red"]But how do I limit the number of pages so I do not have rows after rows of pages.[/COLOR] [B][COLOR="Green"]The way it looks now:[/COLOR][/B] 1 | 2 | 3 | …

Member Avatar for 123468743867143
0
382
Member Avatar for ocbphoto

Guys, what would be the best way to create a Dynamic Drop Down Menu with a parent List and child's list, please help on this one

0
57
Member Avatar for veledrom

Hi, I am trying to create id card with picture and some personal information. It should use either barcode or black stripe behind the card. How can use PHP to produce barcode or black stripe? Thanks

Member Avatar for ShawnCplus
0
28
Member Avatar for tanha

Hi. I don't know whether this is the right place asking this question or no. I want to know, is it possible to use PHP code into JAVA code? if yes how?

Member Avatar for digital-ether
0
87
Member Avatar for Rayhan Muktader

Hello, I found this class at phpclasses dot org. It retrieves emails from pop3/imap servers. It works wonderfully. But I would like to learn how it works. I emailed the author but did not receive any response. So I'm placing my questions on daniweb because I know how intelligent this …

Member Avatar for Rayhan Muktader
0
87
Member Avatar for amyana

Hi there, I'm trying to use a dynamic drop down box to populate some input fields.. So far I can make the drop down box populate correctly. I can also link the input fields to an id in my table, however I'm not sure how to link that id with …

Member Avatar for amyana
0
73
Member Avatar for tuse

Hi! Can anybody please explain this- [code="php"] <?php $num=5; echo($num.++$num); echo("<br />".$num); ?> [/code] prints: 66 6 while [code="php"] <?php $num=5; echo($num++.++$num); echo("<br />".$num); ?> [/code] prints: 57 7 how exactly is the parsing done?

Member Avatar for ShawnCplus
0
62
Member Avatar for designingamy

Hello all! I have a problem with my code. My server uses php4 and instead of upgrading and dealing with the crappy company I'm using, I decided to learn the basics of php4 and use it for now. My problem is when I try to transfer information from one page …

Member Avatar for Rhyan
0
115
Member Avatar for duhasteme

Hello, I have developed a PHP register page. However when i click on one of the text area to fill in the details, the form automatically resets itself. Can anyone help me out. Here is the code of that part. [ICODE]# <tr> # <td width="25%">Web site URL</td> # <td height="10"><input …

Member Avatar for ShawnCplus
0
69
Member Avatar for Sricharan

i want to upload a video file (mpeg, mpg, wmv) and wanted to display the first frame of the video as a thumbnail. so video will start to play in a enlarged mode when user clicks the thumbnail view of the video like the google videos. is it possible in …

Member Avatar for somedude3488
0
70
Member Avatar for radhigoud

Dear friends Hi ,I need coding for "Buttons like minimize and maxmize in a page." Please help me to solve this problem. Advance thanks Radhika

Member Avatar for Shanti C
0
61
Member Avatar for katchatore

hello, im new here.. im a student and have a serious problem with my thesis... could anyone help me or direct me on how "to create an e-learning site in php" with a log-in page with a grading system.. any advise would really be helpful... thanks

Member Avatar for Evancool
0
112
Member Avatar for lydia21

hi when the user enter the data i tried it storing in the db and its working. the datas are getting stored as &lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using&lt;/p&gt; when i display i want to display in html format

Member Avatar for Evancool
0
103
Member Avatar for k2k

hi, if i have a db: person> pID (not null, auto_increment), lastname, firstname phone>pID (not null), phoneNum, pID(foreign key points to "person") assume connection is established and pointing to the right database already////// //assume $ln and $fn have value for user input [code=sql]mysql_query("INSERT INTO person( ' ', '$_POST[$ln]', '$_POST[$fn]' )"); …

Member Avatar for jackakos
0
119
Member Avatar for jackakos

If I run this query in the PHP Admin it displays 2 records [code=php] SELECT staff.emp_no, staff.fName, staff.lName, event.event_date, event.timeStart, event.timeEnd, event.emp_no, event.agenda FROM staff, event WHERE staff.emp_no = event.emp_no AND event.emp_no =201 AND event.event_date = "27-01-2008" AND timeStart = "1020" [/code] The above query gives Results emp_no fName lName …

Member Avatar for jackakos
0
204
Member Avatar for yasmena

HI all , i have a list box(combo box) that contains 100 items and i need to send this whole list to another form (i.e i need to insert these options in the list in the DB ) the problem is sending a listbox to another form can be done …

Member Avatar for Rhyan
0
85
Member Avatar for rjrasmussen

I suppose this is easy for a lot of the people who are familiar with PHP/MySQL. I'm relatively new to the whole thing...so please bear with me. I have a single table entitled "events" with two fields. One field is the "date" field and the other is the "event" field. …

Member Avatar for rjrasmussen
0
122
Member Avatar for Trogan

Hi, I will be attempting to learn PHP very shortly. I am going to create a MySQL database to hold records of students, especially attendance. I would like to know if it is possible to do the following with PHP.... [LIST=1] [*]Connect the database with PHP [*]Add new details to …

Member Avatar for Trogan
0
110
Member Avatar for Aamit

In my php file [code] echo "<script>alert('Username/password pair is invalid.Please try again.')</script>"; echo"<script language='javascript'>window.location.href='login.php'</script>"; [/code] I am displaying message like this but when message is displayed background php design is blank and then again login page display. I want show message like [URL="http://www.bin-co.com/javascript/examples/print.php#"]http://www.bin-co.com/javascript/examples/print.php#[/URL] when we click on [U][B]Create Alert[/B][/U] message …

Member Avatar for Aamit
0
144
Member Avatar for 3DProf4online

I have installed one free phpbb forum script recently and experience some issues with it! When for example I visit members page to see all the post made by the certain user Not Acceptable error is displayed as a result! The second issue I have is login procedure – a …

0
31
Member Avatar for Anjali.want4u

Can any body help me to design upload progress bar using Ajax and php. Please give me some url to follow

0
41
Member Avatar for justted

Hello, I have been setting up a photo upload feature for a website which allows members to upload photos. I am also after some advice on how large a file should be? I thought about allowing members to upload a photo up to 100,000 in size and allowing a maximum …

Member Avatar for cwarn23
0
209
Member Avatar for pranto157

Hi ! Everyone... Acctaully I want to know what is theory apply for telebid.com about their time counter in home page. Can any one describe ? No. 2 - How can I send automatic email ?

Member Avatar for cwarn23
0
105
Member Avatar for yavge

hello there, this is my simple php code which inserts a row into the db. the problem is that it doesnt work 'nothing happens no row is being insert and i dont get any error. I have no idea whats wrong. hope to get any solution. thanks. db structure: Id …

Member Avatar for Rhyan
0
87
Member Avatar for bimlaburlakoti
Member Avatar for punithapary

Hi, In my webpage i created student details in that if i click view then i want to display all student name and their details one by one but in my code i typed everything but it displays first data only.Can anyone tell me how change this code. this my …

Member Avatar for Shanti C
0
185
Member Avatar for mangel.murti

hi all, i am fetching recods from mysql in a combobox.but only one record display .... i want all record display in combobox ......................i write query below and need help how to sote fetch row in array i declered "$va[]" [CODE] <?php // echo "Connected MySql"; $res1 = mysql_query("SELECT gp …

Member Avatar for Rhyan
0
149
Member Avatar for Anjali.want4u

Please any body help me to install APC(Alternative PHP Cache) in window or give me some url to follow.

0
53
Member Avatar for Diode

I'm making a site for a guy, and he needs a way to email all his customers with a single form to save time and be more efficient. I got the compose page done. But in the past, from my experience, when I sent myself emails generated from sendmail, some …

Member Avatar for ithelp
0
139
Member Avatar for castlelaker

Help Spent HOURS on this and cannot see the problem. It will display the country but not the number of clients that are within that country??? [code=php] <?php //Retrieve the "count" for the number of people in the specified country $country= $_POST['totalbycountry']; //Connect to the server...$connect will contain the connection …

Member Avatar for jyothi chundi
0
126

The End.