39,395 Topics
![]() | |
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 … | |
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 … | |
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 … | |
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" … | |
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 … | |
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( … | |
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 … | |
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 … | |
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. | |
[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 … | |
Help!! I need to generate a bar graph out of the data from the MySql database, could anyone help me here? Thanks! | |
What is the link between php and mysql? Please anyone help me | |
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 | |
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 … | |
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 … | |
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 | |
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. … | |
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 … | |
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 … | |
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> … | |
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! | |
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] … | |
Hi friends I'm installing mysql on linux system through rpm. when i'm entering command mysqladmin -u root -p create mydb its showing Enter password: mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)' Check that mysqld is running and that the … | |
Can Any body help with this script. I am not an expert in PHP I am displaying images 4 each in a page and the last image is repeating. unset is not working. [CODE]<?php $ar=scandir("hairupdo"); $n=0; $h="hairupdo"; $cnt=0; $numofimages=count($ar)-3; $imagesperpage=4; $numberofimages=0; $pages=ceil ($numofimages/$imagesperpage ); $gid=$_GET["id"]; echo "<table width=100 border=0 cellspacing=5 … | |
hi there, i have a problem with this one, i want to input the data to an array, however, this doesn't work for me. [code=php] $resultSN = mysql_query("SELECT * FROM table "); $resultRowsSN_Count = mysql_query("SELECT COUNT(*) FROM table"); $count = mysql_result($resultRowsSN_Count,0,0); while($row = mysql_fetch_array($resultSN)) { $machineName_O = $row['MachineName']; for ($i=0; … | |
Hi, I have a query that display's results from my sql database. I have it listing a start time and an end time. And I have a script that calculates the duration of how long the service was an outage or was just degraded. I am wanting to display a … ![]() | |
Hi guys, can you please suggest me a good class that supports sub-sub-sub categories. I tried a lot of them, none of them seems to fit me! I also tried to modify them for my needs, but the more i try, the worse it gets lol :P If you know … | |
PHP HEllo world, i need some help here plz. i want to make an addressbook and want to have an index file that includes/requires all the other files in the include folder(the include folder contains all the functionality) so that i dont have to manually include files in other files. … | |
Hello all, <?php $result = mysql_query("SELECT Artikelnummer, Artikelmerk, Artikelnaam FROM Product ORDER BY Artikelnummer;"); printf('<table class="adminblok">'); while($r = mysql_fetch_assoc($result)) { printf("<tr><td>[B]<a href="#">[/B]%u[B]</a>[/B]</td><td></td><td>%s</td><td>%s</td></tr>",$r[ "Artikelnummer"], $r["Artikelmerk"], $r["Artikelnaam"]); } printf('</table>'); ?> The codes that are printed [B]bold[/B] are the tags that don't work on my website! Why is this and how can i … | |
Hello, I have a problem with styling my background. I want it to be just like this background: [url]http://psd-fan.com/[/url] I don't care how to it, with an image or just a border-style:solid; Both is fine! -> [U]But how do I make sure the background fills up 100% of the users … | |
I recently install wprdpress to my website, after all steps done, when I log in it show this error: Parse error: syntax error, unexpected '@' in /home/carsonle/public_html/wp-includes/general-template.php on line 430 After check my general-template.php files line 430 it show this: if ( !empty($cat) ) { Anyone can help me? | |
Hi, Can anybody please tell me if there is a code in PHP that I can attach to a link and when it is clicked the web page is printed | |
![]() | Dear All, I'm searching a code which allow the user to download directly a file from the php web page. Has anyone knows how to do it? It seems to be a simple coding. Regards Dilbert137 ![]() |
Hi Everybody I want list a categories in a tree structure. like this cat 1 --> cat 1.1 -->cat 1.1.1 --> cat 1.2 cat 2 cat 3 i have a code which show all the category subcategory at a time but i want only those sub-category whoose parent category is … ![]() | |
hi, how do i get pdf lib to work with php. I want to generate pdf docs. please help. | |
Hello Friends, can u please help me in coding of Advance of search iam getting the normal search but not getting the advance search so please help me and please see the site [url]http://www.slinfosolutions.com/Restaurant/[/url] i require the search for this please Thanks in Advance Viru | |
Hello All, Please help me with the question I posed on thread title Thanks you! | |
Someone can explain to me why and when we need to reference variables and function. example: function &load_class() { } or $class = &new Class(); I also noticed that some php code vars sometimes appears like this: $_var instead of $var; there is any reason for that. | |
Hi, I searched all over the net for a clear solution but what solutions i have found just leave me with more questions and answered. I have a multi step form using IF statements such as: [CODE] if(isset($_POST['2'])) { echo "step2 data"; }else if(isset($_POST['3'])) { echo "step3 data with text/ … | |
Hi, I'm only familiar w/ phpbb, what are the advantages of Vbulletin? Usually the larger forums use vbulletin, and the smaller forums use phpbb (like mine, heh) just curious what the big deal is. Teach Me @.@ hehe Thanks all. Ron Johnson | |
Hi, I have a site which i added mod write to the url. Some of the pages are not opening correctly. For example, the WHIWH login, should open a user & pass field in the page. You can see it is not opening it. [url]http://www.whiwh.com/login/[/url] Also a page like this … | |
Hi frnds... i m trying to upload mp3 file ..this is my code.. [QUOTE]upload_max_filesize = 20M;//in php.ini[/QUOTE] [CODE] $tname = $_FILES["tphoto"]["name"]; $ttmp_name = $_FILES["tphoto"]["tmp_name"]; //Audio File Uploading.... if($_FILES['tphoto']['type'] == 'audio/mpeg'){ $dir="../../music/$aid"; move_uploaded_file($ttmp_name,"$dir"."/"."$tname"); } [/CODE] it displays no error...but, no output. can any body give me some suggestion plz... Thanks in … | |
[code] //declare variables $thing = $_SESSION['username']; // get username from session $name = mysql_real_escape_string($_REQUEST['name']); $pwrd = mysql_real_escape_string($_RQUEST['pass']); //$mpwrd= md5($pwrd); $error = 0; $select = mysql_query("SELECT * FROM users WHERE username='$username'"); $numrows = mysql_num_rows($select); $check = mysql_query("SELECT * FROM users WHERE username='$name'"); $check2= mysql_num_rows($check); //if submitted if (isset($_POST['submit'])){ if(!$name){ $error ++; … | |
Hi, I have recently designed a website for my new business. I have included a booking form which can be found here [url]www.n-v-m.co.uk/Booking.html[/url] I used Dreamweaver CS4 to create the site and 123-reg.co.uk is my web host As it’s my first attempt at making a website I realise I may … | |
I am trying to go through this tutorial [url]http://www.daniweb.com/tutorials/tutorial173026.html[/url] but when I load a php document in my browser I either get a blank page in the browser or dreamweaver opens the php and gives me a blank page! My web host is [url]www.123-reg.co.uk[/url] ... Will the problem be with … | |
I want to know that is there any best MLM Script/System available for network marketing. Can someone point me to the right direction. Any help will be appreciated. | |
Hi, I have 2 web pages pg1.php & pg2.php and I am providing a link from pg1.php to pg2.php. I am able to navigate but I can't pass parameters. When the user clicks on the link, I need to pass certain parameters also from pg1.php to pg2.php. I wrote the … | |
I am after a text are like the one in the quick reply at the bottem of this page, I have no idea what the propper name is for them I have no idea to do the coding for it, but would like to be able to let my friends … | |
I'm developing a simple instant chatting system. I need to do the following; I want to refresh a different page when I click submit. Suppose, I've the submit button on page1, on clicking submit, the page2 should be refreshed/reloaded. How can I do it? I've searched a lot on Google … ![]() |
The End.