39,402 Topics

Member Avatar for
Member Avatar for chicago1985

I have my PHP inserting into Oracle 9i. But how do I prevent duplicate record entries? I only have 3 fields in the insert in the action page and my below attempt doesnt output anything or insert anything even if not a duplicate: [code=php] <?php $c=OCILogon("scott", "tiger", "orcl"); if ( …

Member Avatar for hielo
0
148
Member Avatar for babbi

i am new to php nd i just wanted to know whether we can perform both frameset tag nd form tag at a time in php.my program is in given below for a login form: <html> <head></head> <frameset rows="25%,*"> <frame name="top"src="f1.html"> <frameset cols="25%,*"> <frame name="left"src="f2.html"> </frameset> </frameset> <body> <body bgcolor="pink"> …

Member Avatar for hielo
0
81
Member Avatar for ryy705

Hello, How are editable consent forms created? Am I supposed to use text files that can be modified by the admin? Or am I supposed to put the text in a the database? What is the norm? Thanks in advance.

Member Avatar for scru
0
90
Member Avatar for Misr

hello gues i put my question here cause i am php student i want to know how is rapidshare.com make its progressbar while file upload? i mean the progressbar which calculate the file size in bytes and disblay it also in bytes! i hope you to understand me and sorry …

Member Avatar for nav33n
0
59
Member Avatar for lydia21

i have a form where the employee should type in-time(attendance)........ i want the user to insert only once in a day..... if he tries to insert the data in same day the it should display error message.....

Member Avatar for lydia21
0
77
Member Avatar for x3n1x

Hey everyone, Well, our college wants us students to make one "mini-project", a site with a database plus something in e-commerce. Now, I've chosen the topic as "comics". Can you guys help me create one ? Nothing too complex. Here's what I have on mind. The site will have 3 …

0
386
Member Avatar for maddog39

Hello all, I am building a website and on my search page I want to be able to display the relevance of each search result. I've searched all over the place but still haven't found any information on how to do this.And obviously im building this website in PHP. Any …

Member Avatar for maddog39
0
107
Member Avatar for BogusAurelius

I am trying to create a form that is javascript/ajax based, with a serverscript in php. I want to SEND an array for the serverscript to decode/unpack, translate. I want the array object to be an assocative array, such as myarray["age"], and myarray["name"], so i can have the php serverscript …

Member Avatar for scru
0
52
Member Avatar for neha gupta

i installed sokkit on my windows xp but the localhost s nt working. when i installed the same sokkit on another system with xp then localhost s openin very well. what can be d prob

Member Avatar for nav33n
0
119
Member Avatar for dbayo

ellow..just a question..anyone know how to retrieve images from folder in webserver and display it in thumbnail.. im really need your help..appreciate so much..tqq..

Member Avatar for nav33n
0
89
Member Avatar for wickedmx

Ok, I'm relatively new to php/mysql/apache and I've got myself stuck(I bet that sounds familiar) Here's where I'm at: [LIST=1] [*]I successfuly installed Wampserver onto my PC(latest release) and tested that php is working using the phpinfo script(all good); [*]I have an installation of oscommerce on my main webserver which …

Member Avatar for nav33n
0
69
Member Avatar for dbayo

hello everyone..im a new in php..now,im searching for php script to sort data by alphabet..can anyone out there help me...i really appreciate yours..

Member Avatar for dbayo
0
157
Member Avatar for jyshr

How can i pass a value from one webpage to another without using form,plz explain with example

Member Avatar for ryan_vietnow
0
84
Member Avatar for djcritch

heres the deal, i have created a table called tvprograms on a mySQL database and have added the fields id, program and comments and have populated the database. The first thing i need to do is list just the programs in a php form but not the comments. I then …

Member Avatar for jyshr
0
108
Member Avatar for frazehmad

Hi, I just joined this community and inspired by roaming in it. However, I would like to discuss a problem - I'm having. I'm developing an application for property management. I've a table with some general columns as well as some specific. For example; General: [Buy OR Sell] , [Plot …

Member Avatar for frazehmad
0
90
Member Avatar for kings

hi the below code i have used for attendance,when the user clicks submit...the person date,time,id will get stored in the database...... i want to know how to calculate the no of days he has worked...... ex:wen the admin checks on th 15th of the month...it should display how many he …

0
48
Member Avatar for majestic0110

hi there, could someone please recommend a good book on PHP (i am new to php). I would like said book to cover how apache/mysql/php and drupal work together, and also some eamples of php in action. many thanks.

Member Avatar for majestic0110
0
161
Member Avatar for dmc72

Hello all, I've been working for awhile building a web with PHP. So far, so good. But I'm finding refactoring to be frustrating, because I haven't found a tool that will give a full syntax check across my code. Yes, there is the "php -l" command to do the lint-style …

Member Avatar for dmc72
0
161
Member Avatar for majestic0110

Hi there, I am brand new to php and i am having difficulty installing php/apache/drupal/mysql. if anyone could point me to a good tutorial on how to install these items i would be very grateful. thanks in advance

Member Avatar for majestic0110
0
221
Member Avatar for djcritch

Hi, Got a bit of a problem with form, i need to be able to update a number in a mysql database using an html form. so basically i need to increment or decrement a number using a text box and a submit button. heres the code i got: ============================================== …

Member Avatar for nav33n
0
751
Member Avatar for djcritch

Hi, Got a bit of a problem with form, i need to be able to update a number in a mysql database using an html form. so basically i need to increment or decrement a number using a text box and a submit button. heres the code i got: ============================================== …

Member Avatar for jasimp
0
178
Member Avatar for mithesh

Hi All, I need to parse CSV file header in order to know the Fields present in the CSV file How can i do this in php, Pls help me Thnx in advance Thnx & Regards, mithesh

Member Avatar for nav33n
0
105
Member Avatar for dks1383

Hi all I want to access hidden values by javascript what's wrong on bellow code: <html> <head> <script language="javascript"> function func(i) { var x=document.form1.array[i].value; alert(x); } </script> </head> <body> <form method=post name=form1> <?php for($i=1;$i<100;$i++) { echo "<input type=hidden name=array[$i] value=$i>"; echo "<input type=button onclick=func($i) value=$i>"; } ?> </form> </body> </html>

Member Avatar for scru
0
165
Member Avatar for lydia21
Member Avatar for lydia21
0
138
Member Avatar for monishav

please help me to upload a file and also send the file to a private link.

Member Avatar for nav33n
0
36
Member Avatar for kishou

how do i check if a value is in my table? like this: INSERT INTO table_name (column1, column2,...) VALUES (value1, value2,....) and check if those values are in the table.

Member Avatar for nav33n
0
147
Member Avatar for Fenerbahce

Hi, I use wampserver (or vertrogo serv) and installed in c:\wamp. I have a file called test.php in c:\wamp\www\test.php. When type [url]http://localhost[/url] into browser, it asks me password and username. I cant just pass that. Therefore, i cant use anything. Where this password and username thing come from? I didn't …

Member Avatar for Barefootsanders
0
233
Member Avatar for tie372

[code]<title>plastic sarcastic</title> <?php include "header.html"; ?> hey whats up?<br><br> <?php $sql=mysql_query("SELECT * FROM bands); while($rows=mysql_fetch_array($sql)) { ?> <form action="band.php?band=<?php echo $rows[name]; ?>"> <input type="submit" value="<?php echo $rows[name]; ?>" style="background: black; color: 660099; font-size: 1.2em; border: 0px"></form> <?php } ?>[/code] ^^^That's my code. I was wondering why I get errors. It …

Member Avatar for tie372
0
84
Member Avatar for vssp

hi friends I am using IIS server to compile the php file. I have create the two virtual directiory for run two different projects. but one send the mil properly,another one project not send the mail. please advise How to solve the issue

Member Avatar for gym_shorts
0
98
Member Avatar for ep2002

Hi there, I've been this online office management system hyperoffice.com for a while now & I never liked the program b/c of all the bugs, it wasn't designed properly (user interface) & tech support always blames us (not just me, even my VA & techie) for their issues, plus they …

Member Avatar for csc111vs
0
185
Member Avatar for azalia

Have never worked with either so just at this point trying to get the environment up and running. Yesterday I downloaded: 1. SQL Server 2005 Express Edition with Advanced Services SP2 2. Microsoft SQL Server 2005 Express Edition Toolkit 3.HTML-Kit build 292 did a PHP hello world and was not …

Member Avatar for ShawnCplus
0
89
Member Avatar for drsmith

I am having fits trying to come up with previous/next buttons for my particular project. I want the user to be able to easily browse through shifts. I have 3 shifts per date and that is how it is stored in the db. Right now I have the users going …

Member Avatar for drsmith
0
252
Member Avatar for kishou

Is it possible for someone to hack into my database/table? if so should i name my table/database: database 5465464577688960985047834?

Member Avatar for azalia
0
77
Member Avatar for peterye

Hi, could any one reconmend me a good book can be fast to handle basic php and mySQL. It will step by step to teach me program begin from web hosting which available for both PHP and MySQL. Do need any software on my computer ? coulp of books when …

Member Avatar for vssp
0
157
Member Avatar for patmagpantay

Hello! I have set up a script form called " form tools " without a problem, This script gathers all information in the registration form and stores it into a database (php and mysql), Now I would like to randomly choose 5 people from the data I collected from the …

Member Avatar for nav33n
0
118
Member Avatar for kishou

how would i use 2 if statements? i tried using && but it wouldnt work. :( like: if (yo!==yo) if (yogfhf!=yoh)

Member Avatar for kishou
0
94
Member Avatar for scottholmes

I have a mysql database with user input fields. Some of these varchar fields contain commas as part of the data. When I try to display these fields they are treated as arrays and display only the first "element". This occurs both with mysql_fetch_row() and mysql_fetch_array(). I'm chagrined I haven't …

Member Avatar for scottholmes
0
132
Member Avatar for budiman

HI I want to submit csv file data into mysql using php. One of the fields contain data : date with format (dd-mm-yyy). I want to store the data in mysql with date format (yyy-mm-dd). pls tell me how 2 do. pls help me Thanks. bye

Member Avatar for nav33n
0
73
Member Avatar for nishanthaMe

I want to get the result from the database page by page (like google search).please someone can give me an idea

Member Avatar for nav33n
0
71
Member Avatar for sethbaur

Hey I'm a php beginner and I'm having some problems with the website I'm testing with. I'll show you first the relevant code. index.php: [code=php] <?php include "stdlib.php"; $page = new Page(); $page->title = "Index"; $page->printHeader(); ?> <style type="text/css"> div.container { width:100%; margin:0px; border:1px solid gray; } div.left { width:100px; …

Member Avatar for sethbaur
0
96
Member Avatar for web_master

hey i dont know if this is the correct place to post this or not but can u tell me how to make a sub domain(if thats wat it is called) for eg:: if my domain is abc.com, then how do i make a sub domain like word.abc.com or anything.abc.com.........i …

Member Avatar for FireNet
0
141
Member Avatar for terminator7879

there would be a account balance area, upgrade area, members profile area , cash ptc area , point ptc area, paid to signup area, and this would be linked to mysql so that everything happen over a click automatically and i need not have to do it manually.

Member Avatar for FireNet
0
102
Member Avatar for kishou

wats wrong with this code? cause whenever i try and use it it doesnt display $H. [CODE]<?php $_POST["xtwo"]=$A; $_POST["xone"]=$B; $A+$B=$C; $C*$C=$D; $_POST["ytwo"]=$E; $_POST["yone"]=$F; $E+$F=$G; $G*$G=$H; echo "The distance is: $H" ?>[/CODE] and some of you might have known that im trying to do the distanceforumla (x2-x1)^2+(y2-y1)^2=distance. like finding the distance …

Member Avatar for nav33n
0
122
Member Avatar for dbayo

did php support or allow to add many record at one time in MySql Database ?.. i need 2 add all the student mark the same time dis is my php script form.. <?php echo"<form name='kptm' form method='POST' action='3.php'>"; echo"<h1 align='center'> Final Mark</h1>"; echo"<table border='2'>"; echo"<p align='center'>SUBJECT : UNIX SYSTEM …

Member Avatar for nav33n
0
128
Member Avatar for jjkool

hi, everybody and merry christmas don't know if anyone can help us, we need a special mod written or suggestions how to do this. we are using ipb 2.3.1 and mediabox 1.05 and we want to use our gigasize.com account to store our mp3 and jpg because our shared hosting …

0
47
Member Avatar for disto

I am constructing a line graph on a GD image.Do you guys know of any way i can export it into excel such that its just like one created in excel

Member Avatar for Vijaykarthick
0
56
Member Avatar for dbayo

ello..im a new beginner for pHp script..i have to complete my final project..i used php as my programming language..but,i have a problem rite now..did anybody know,how to insert data from 1 form into multiple tables in MySql Database?.. ok,rite now,i have 2 tables, Client and Client2,k..And from 1 form that …

Member Avatar for dbayo
0
92
Member Avatar for lydia21

i have created a application ...when i give the URL of the second page the page is getting displayed...but i want all the user to enter the application only from the first page where it check whether the user is valid.... what should i do to make my application more …

Member Avatar for nav33n
0
96
Member Avatar for Taffd

Hi all, I have a text area, in a form, that only allows basic text and punctuation. I'd like to be able, in certain circumstances, to allow links to be added, in a similar way to the text editors here on daniweb. Can this be done with php, or do …

Member Avatar for MitkOK
0
281
Member Avatar for bjg5858

<form action="book_dive.php" method="post"> <input type="submit" value="Submit"> <table border="1" width="75%" cellpadding="2" cellspacing="2"> <tr> <td align="center">BOOK</td> <td align="center">DATE</td> <td align="center">TIME</td> <td align="center">LEAVING FROM</td> <td align="center">BOAT</td> <td align="center">DEPTH</td> <td align="center">DIVE SITE</td> <td align="center">MIN QUAL</td> </tr> <? include("conn.php"); $res=mysql_query("SELECT * FROM dives"); if(mysql_num_rows($res)==0) echo "No data in table"; for($i=0;$i<mysql_num_rows($res);$i++) { $row=mysql_fetch_assoc($res); //mysql_fetch_assoc STORES A …

Member Avatar for bjg5858
0
99

The End.