39,393 Topics

Member Avatar for
Member Avatar for michelleradu

Hi I got 1 static drop down list, 1 dynamic drop down list(shows content of a mysql table) and content of another mysql table on the same webpage. They are all placed on 3 different forms. The selected option in the first list triggers the 2nd list on the page. …

Member Avatar for vaultdweller123
0
227
Member Avatar for takeshi

can't delete records.. here's the codes.. [CODE] <?php mysql_connect('localhost','root',''); mysql_select_db('records'); ?> <?php if(isset($_GET['btndelete'])){ $position = $_GET['position']; if(isset($position)){ foreach($position as $val){ mysql_query( "DELETE FROM positions WHERE id='".$val."'" ); } } } ?>[/CODE] [CODE] <html> <head> <tittle> confirm </title> <script> function deleterec(){ if(confirm("Are you sure you want to delete?")){ return true; }else{ …

Member Avatar for vaultdweller123
0
139
Member Avatar for muralibobby2015

hello.. i did one simple task. but values are not holding after submit. how to solve this problem. below is my code. after interest field submit the form. automatically displays the monthly payment. but that value is not holding in the field.[CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html …

Member Avatar for nav33n
-1
155
Member Avatar for ribot

Hi! I'm trying to install a php product that requires ioncube loader. I have followed several guides (they are all the same) for how to install it. Running ioncube-loader-helper.php tells me the location of the php.ini file. The server has a set of ioncube loaders, and the helper tells me …

Member Avatar for ribot
0
168
Member Avatar for xuexue

hi there, i want to display my data coming from database..i could do that using a table, however the problem is that the table will just expand everytime there is data. what i want to have is a control which has a scrollbar which will display lots of data. i've …

Member Avatar for CJesusSaves
0
128
Member Avatar for khadrani_arif

Hi, Here I am having a dropdown named Category and another drop down named Sub category.There is one text box named zipcode which is filled with the previous request page.What happens is when I select any category the onchange event fires and a list of cars gets displayed.But parallely the …

Member Avatar for CJesusSaves
0
758
Member Avatar for aneeka

please help me visualize an online examination, i dont know where to start...:icon_sad:

Member Avatar for amd_k8
0
91
Member Avatar for hno

hi, How can convert an ANSI text file to UTF-8 by php?Or how can make UTF-8 text file with php? Thanks

Member Avatar for amd_k8
0
71
Member Avatar for phpDave

Hi, I have 2 pages were the user inserts data into the database. Page one goes into parent tabel and page two goes into child tabel. Everything works fine unless the user completes page one but not page two. If only page one is complete and user logs off and …

Member Avatar for CJesusSaves
0
104
Member Avatar for kriegz

How can I showing up a report file (*.rpt) from crystal report into a web browser with PHP, I'm already used this code : $cr=new com("Crystal.CRPE.Application") or die("cannot load cr com"); $rn="C:\WAMP\k\allreports\BS18A.rpt"; $rap=$cr->OpenReport($rn); but there was'nt happen any thing, it just a blank page comes up could any one give …

Member Avatar for siddeshp
0
218
Member Avatar for xuexue

is it possible to input a data grid in php like in VB6? because in my program, user will display lots of data and displaying it in a data grid (clickable) is the best way, we all know that in VB6, once the user clicked anywhere in the grid, it …

Member Avatar for CJesusSaves
0
109
Member Avatar for cane23

i have a form that uses the post function however i am having some troble getting information from the drop down menus. and also i am having some trouble doing some form validation. the code for both files is shown below. <html><title>Create a new Prequisite Rule </title> <body> <form action="insert_rule.php" …

Member Avatar for CJesusSaves
0
135
Member Avatar for druveen

i have a senario where user reg for seminar and books a hall, during reg he enters start time and end time for seminar ,start and end time are stored in data base. when a new user reg for seminar hall with existing booked time in data base it should …

Member Avatar for druveen
0
155
Member Avatar for takeshi

i have a problem with this code regarding in counting.. [B]index.php[/B] [CODE] <?php if(isset($_GET['btnsubmit'])){ $can = array($_GET['pres'],$_GET['vp']); mysql_connect('localhost','root'); mysql_select_db('sample_poll'); foreach($can as $val){ $sql = mysql_query( "UPDATE candidate SET votes=votes+1 where can_id='".$val."'" ); } echo "<h1>vote complete!</h1> <a href='voteresult.php'>see all vote results</a>"; }else{ echo "<form method='get'>"; mysql_connect('localhost','root'); mysql_select_db('sample_poll'); $sql = mysql_query( …

Member Avatar for takeshi
0
101
Member Avatar for the0ry

I am familiar with several PHP random image loaders. The only thing I can not seem to find very easily with these scripts is one that prevents repeats for so many reloads. I have a directory containing 3500 images. What I have noticed is that I can cycle through the …

Member Avatar for kireol
0
652
Member Avatar for loll_l

There are a few things I need to know how to do to complete the Booking Form on my website found here: [url]http://www.n-v-m.co.uk/Booking.html[/url] Any help on the below points would be much appreciated: 1- I need to center the labels in line with the multi line text fields... ie. where …

Member Avatar for loll_l
0
147
Member Avatar for jamesxg1

Hi Everyone! I was wondering how I would use a javascript varible in jquery ?. [CODE] function postNewAnswerAlerts() { if (http_request.readyState == 4) { if (http_request.status == 200) { var result = http_request.responseText; $('div#question').load('responder.php?mode=readquestion&id=' + result).show().fadeIn('slow'); } } } [/CODE] Many thanks James.

Member Avatar for jamesxg1
0
70
Member Avatar for aashiqe

[CODE]$page = implode ('', file ("http://examplesite/index.cgi?prod_id=" .$product_sku. ";vendor=" .$mf_name. ";shopname=url;lang=UK")); $mysite = $_SERVER['PHP_SELF'].'?link='; // request this page $page = preg_replace("/<a href=\"(.*)\">/i", "<a href=\"$mysite\\1\">", $page); echo $page;[/CODE] Now i can't find a way to get this work. I need product_sku and mf_name to be collected from a joomla vm site and …

Member Avatar for aashiqe
0
67
Member Avatar for aneeka

Help!! I need to generate a bar graph out of the data from the MySql database, could anyone help me here? Thanks!

Member Avatar for kireol
0
289
Member Avatar for lotus2009
Member Avatar for almostbob
0
108
Member Avatar for veledrom

Hi, When I click BACK button on my Browser, all old variables were sent to URL are retrieved again. How can I destroy them? Thanks

Member Avatar for veledrom
0
3K
Member Avatar for rkumaram

I am working on payment module which includes credit card transaction. I have a domain FOOXYZ.COM (IP: x.x.x.x) which is secured with SSL and I can access it with [url]https://fooxyz.com[/url] Now in fooxyz.com I have a page payment.php [url]https://fooxyz.com/payment.php[/url] In payment.php I am accessing an IFRAME and the source of …

Member Avatar for rkumaram
0
222
Member Avatar for jithusdani

hello folks, Can anyone help me out how to install the sugarCrm software in wampserver.? I have tried to insatll the same but its saying that , "Minimum Php version required is 5.1.0. Recommended Php version is 5.2.x." But here in my system it is there php5.3.0.. why it is …

Member Avatar for pritaeas
0
63
Member Avatar for manishmannan

in my program i am getting this error what would be the reason Warning: include(/common.inc.php) [function.include]: failed to open stream: No such file or directory in C:\xampp\htdocs\oob\Product\manager.php on line 41 Warning: include() [function.include]: Failed opening '/common.inc.php' for inclusion (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\oob\Product\manager.php on line 41

Member Avatar for vaultdweller123
0
137
Member Avatar for lainey_nix

Hi, I have a bit of an urgent issue - Im new to forums in general so bear with me! I have an interactive application form on my website which i built in LiveCycle. I need the first field in my application form to prepopulate with information from my database. …

Member Avatar for vaultdweller123
0
77
Member Avatar for OmniX

I was trying to play a powerpoint presentation(.ptp & .ptpx - I think that is the old and new extensions) and get it to play once it has been uploaded. Now im 80% sure but I remember seeing a powerpoint presentation being played through a browser a year or so …

Member Avatar for Adward
0
936
Member Avatar for WaltP

I have the following code in a form: [code=php] <? for ($n = 0; $n < count($filelist); $n++) { printf ("<button type='submit' name='imgnam' value='%s'>", $filelist[$n]); printf ("<img src='%s' width='100' />", $dirname . $filelist[$n] . ".gif"); print "</button>"; printf ("<br>%s</p>\n", $filelist[$n]); } ?> [/code] [ICODE]$dirname[/ICODE] contains the directory value [ICODE]$filelist[][/ICODE] contains …

Member Avatar for WaltP
0
138
Member Avatar for salibaray

Hi there, I'am developing a snippet for a website widget that will read/fetch data from an XML file, sort it in array's and then show it back to the user - formated as a sentence. [b]Example:[/b] [b]XML sample:[/b] [code=text] <row id="1"> <username>GGR1024</username> <name>Raymond</name> <surname>Saliba</surname> <game>Lotto</game> <won>5000</won> </row> <row id="2"> <username>GGR1111</username> …

Member Avatar for salibaray
0
186
Member Avatar for aneeka

Anyone, please help me here.:( How can I draw a line graph using PHP with data from MySql database? Do you have sample code for this? Thank you!

Member Avatar for aneeka
0
1K
Member Avatar for Morty222

I am running this foreach loop. I need to seperate each value by a comma, which this does. However, I need to kill the comma on the last value. [code] foreach ($_POST as $key=>$value){ if ($key != "submit" && $key != "type"){ $fields = $key.","; echo $fields; } } [/code] …

Member Avatar for arunss
0
180

The End.