39,402 Topics
![]() | |
Hello Friends.. there is a time Duration field in my page..!! in format mins:sec 03:45 05:11 . . i want o show total of all time duration in last...!! . . is there any predefined function to do this..!! . . thanks..!! :) | |
I'm working a very simple script for an email (messaging) between users. I have a form with two buttons that gives you the option to save message as a draft or just send it to the user. Here are the two buttons on form: [code=html] <input type="submit" name="save" id="save" value="Save … | |
Hi..friend.. anybody help me, how to display motherboard serial with php script ? thanks... :) | |
Hi everyone, I have a slight problem that I hope you can help me with. I am trying to write a website to display the poems and songs my grandfather wrote beore passing away. Seeing as most of his work was poems the formatting is important! Ideally what I would … | |
Hi all, Im busy moving a site from localhost to hosted server and im baffled as to why mysqli simply wont run. The following script iscalled after a captcha script has been satisfied, but it just doesnt seem to like the Mysqli. I have converted other simple mysqli scripts, but … | |
Hello Everyone, I am having difficulty looping through an array of stored procedures. The issue: Array with x number of stored procedures Column names identical in all Stored procedures (PO_Date, PO_Data, PO_Pointer) Each stored procedure has three inputs pi_pid, pi_from, pi_thru Must execute each stored procedure in the array Must … | |
Hello all. I just installed wampserver2.0 and created a test php file to test it out (test.php). The only thing in the file is this: [code=php] <?php echo "Hello World"; ?> [/code] Here's the problem...when I navigate to [url]http://localhost/test.php[/url], the page displays a short line of what appears to be … | |
Hai,.. Can anyone help me in creating a cascading menu of below kind,.. ![]() | |
i'm trying to execute a program from my php. I want to execute it and pass it a variable, i've tried using exec($cmd, $op) but the array of $op doesn't have the output within it (or anything else). Should i be using a different function to get this working? any … | |
Dear all, I encountered the following error while trying to generate PDF file in my HTML code. It is same report while creating it in PHP. Warning: main(fpdf.php) [function.main]: failed to open stream: No such file or directory in c:\wamp\www\projectcode2\pdtest.php on line 3 Fatal error: main() [function.require]: Failed opening required … | |
Hi, I have created logout.php page which destroys all the session variables. Basically i want the the user to get directed to the Login page after logout button is pressed. But when the BACK button of the browser is pressed(even after logout), the user is still able to see other … | |
I'd like to know if it is possible to save or create an image made up of other images. The easiest way I can think of would be to have all the images as transparent pngs of the same height and width and then merge them together. Is it possible … | |
Hey everyone, Just seeking opinions as to whether or not you think it's wise to tackle learning more than one programming language simultaneously (eg..PHP and Action script 3.0). Ive noticed that languages have similarities which could lessen the learning curve for the ones you learn after the initial one. On … | |
heey guys i need some help with the PEAR package. i have some code which i would like to send emails through, however, i do not understand the documentation available on the web. Do i need to install it?. If i need to how? Or do i just put it … | |
This is part of the code to a login form. The only file is index.php. The code continues but it what you get after you have successfully logged in. It doesn't matter what I put the the login form, when I hit the "log in" button, if just reloads the … | |
Hello, I'm sarting a new project, a invitation to tender (Request For Proposal) website, but I have no idea about how to script it, is there any pre-made script for this knid of website or could you tell me how to script it, I mean the way it works. Thank … | |
I'm trying to display a certain amount of words on one page from a database entry. For ex., on my main page I want to display the first 50 words of a story then a link will lead you to the rest of the story. I kind of know what … ![]() | |
i got this script,in one of the very old artciles in sitepoint. everything is ok!except that PNG and BMP images are not resized. giving this errors [code=php] Warning: imagecreatefromwbmp() [function.imagecreatefromwbmp]: 'thumb/tb_128448486.bmp' is not a valid WBMP file in C:\wamp\www\wallsnap.php on line 97 Warning: imagewbmp(): supplied argument is not a valid … | |
Hello, I have my own website where I make programs and put them up on my web page, it has info on the programs ext.. I also allow other people to put up they just have to e-mail me with a specified template. But I want to make this easier … ![]() | |
Hi friends.. I am going to do the project in different languages...Anybody explain me how to do that...any procedure...any softwares...atleast how can i start the project... Thanks in advance..... Advance Happy Rakhi TO All ![]() | |
update.php [CODE] <?php session_start(); if (!isset($_SESSION['user'])) { die ("Access Denied"); } if ($_POST['submit']=='Update Information') { $name_box = $_REQUEST['name_box']; while (list ($key_check,$val_check) = @each ($name_box)) { $value_check .= $val_check.","; } $all_value_check = substr($value_check, 0, -1); } ?> <?php include 'dbc.php'; $user = $_SESSION['user']; $query = "SELECT * FROM student WHERE user_email … ![]() | |
i need to access the detailed search result page using curl, but for some reason i am not able to do so... Please help! The site is [url]www.justdial.com[/url] and i am searching for a* ... on the very first page there is a listing from banglore... i want to be … ![]() | |
hi hi... i'm working on this script for students to check their grades online. all they need to do is to login using their user id (which is auto generated) and matric. no. This will then display their details and grades. However, the tricky part for me is that they … | |
Hi. I have a kind of old script for polls that I heavily modified it during years. The main code still there. Today i realize that is using register_globals On (tested new changes in a local xampp installation). Is there any good information regarding register_globals On|Off around to share? I … | |
which is the best php editor for linux ubunto? i m using komodo right now but it is very slow. pls suggest something? | |
Hi All, Im busy working on a practice area for a CMS. I have it set so on a click, the edits are saved to mysql, but what im really after is a pop up window to show how it will look. ive tried java script, but the likes of … | |
I could not figure out how to pass data to next page. Here is my code. I hope someone who can help me with it. I am trying tp pass id=$_get['id']. Can someone look at the code and tell me what I do wrong. I am kind of new on … | |
Hi Folks, I want to maintain all the fields of the Form i.e when a form after posting return with some error then values in the other fields must be retained. Kindly tell me few good methods to do this. Thanks.:icon_wink: ![]() | |
update.php [code] <?php include 'recipe2db.php'; // get value of id that sent from address bar $id=$_GET['id']; // Retrieve data from database $sql="SELECT * FROM recipe WHERE id='$id'"; $result=mysql_query($sql); $rows=mysql_fetch_array ($result); ?> <form name="form1" method="post" action="update_ac.php"> <table border="1" cellspacing="0" cellpadding="3"> <thead> <th>name</th> <th>ingredient</th> <th>how to cook</th> <th>category</th> </thead> <tr> <td> <input … | |
Hi, In [B]search_results.php[/B] I have a variable named [B]$path[/B] which display something like: [I]C:/documents/personal/home.doc[/I] I would like to create a [B]button[/B] that link to a new window which is going to display: [I]C:/documents/personal/home.doc[/I] Right now is being displayed in search_results.php like this: [CODE=php] echo "<td align=left bgcolor=$bgcolor id='title'> <font face='Verdana' size='2'>$path</font></td>"; … | |
I can't figure out why this snippet of code isn't working :facewall: any ideas? [code] $productref = $order_detail[$i][2]; //#2 is the product ID $orderqty = $order_detail[$i][3]; //#3 is the SKU #[/code] The Array: [code] $order_detail array 0 array id_order_detail string = 1 product_id string = 7 product_qtantity string = 1 … | |
I have a table with entries for ItemID and Amount ... I am querying this table and displaying the contents from the previous date by itemID and amount. I have the array grouping the items by Item ID what would like to be able to do is to get a … | |
I'm working on a script that lists the number of additional records associated with a record id and returns the number as well as a link to each additional record. It works fine for the first record ... it tells me "4 additional records: and lists the links 1, 2, … | |
I have only been working with php and html for a few weeks now and i had a question about where is the proper place to put the <html> tag. Should I always put it as the second line(after the DOCTYPE) and then embed the php within it or can … | |
I can't get my sessions to work on my hosting account even though I had my site running perfect on my machine's xampp setup. The sessions just won't last at all. I dont know what the problem is. Is there a setting I have to change or something to make … | |
i am a real noob in php i have a php url say [url]http://xxxxxx.php?chat=[/url] if i give zzz at the end of the url like this [url]http://xxxxxx.php?chat=zzz[/url] the output is yyy i want a script to get the zzz from another script using $_REQUEST['msg'] and the final output of the … | |
Hi, A user go to search.php and input the term. If the user want to search for an exact prhase it add to the search term " " just like Google do. Example: "apple" But when the variable is passed to search_results.php it look like this: [CODE=php] //search_results.php $var = … | |
hi friends please help me to find contact importer & tell a friend script in php | |
i delete a row of data from this [code] ........ <a href="delete.php?id=<? echo $rows['id']; ?>">delete</a> [/code] delete.php [code] <html> <body> <?php include 'recipe2db.php'; // get value of id that sent from address bar $id=$_POST['id']; // Delete data in mysql from row that has this id $sql="delete from recipe where `id` … | |
Warning: Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to … | |
add.php [code] <?php include 'recipe2db.php' ?> <div align="left"><img src="Cookie Banner edited.jpg" width="1100" height="200" /> <form name="form7" method="post" action="add_process.php"> </p> <p> </p> <table align="center" border="3" cellpadding="2" cellspacing="2"> <tr> <td>catagory :</td> <td> <?php include 'recipe2db.php'; $query="SELECT id_category, category_name FROM category"; $result = mysql_query ($query); echo "<select name=category value=''></option>"; // printing the list box … | |
Hi frnds... from last 3 days i am struggling on same errors...i tried my level best..still i cant get it....this is my code... [CODE] $bottomline=stripslashes($_POST['bottomline']); or if(!file_exists($dir)) mkdir($dir)or die("Filename all ready exits"); [/CODE] when i inserting the data into table or creating directory i am getting error... [CODE]You have an … | |
hey all, been a while since I've been on here. I was wondering how I could make an rss reader for twitter, and make it so that it displays the content of my 'twit' and nothing else (like time/date ect.) Thx in advance, Maxicube | |
Hello, I'm looking for a way to make a simple multi line text box in PHP. I am trying to make a text box a couple thousand characters log. but when i try to create it, it just makes a very long text box. I can't seem to find any … | |
Hi i am fairly new to php and am trying to make an application where some1 enters a unique id which brings up a form with data in it retrieved from the database. the user should then be able to edit the information and submit & the details changed in … | |
I have one page that has several form actions: [CODE]form action="maze_enter.php" method="post" enctype="application/x-www-form-urlencoded" name="finance" target="_self"> <tr> <td colspan="2" align="center" valign="middle"><span class="style11"><a href="#" onclick="document.finance.submit();return false;">Enter Maze</a> </span></td> </tr> </form> <form action="maze_enter.php" method="post" enctype="application/x-www-form-urlencoded" name="shop" target="_self"> <tr> <td colspan="2" align="center" valign="middle"><span class="style11"><a href="#" onclick="document.shop.submit();return false;">Enter Maze</a> </span></td> </tr> </form> [/CODE] I want … | |
Hello guys, after some searching and playing around and ofcourse with alot of help. i have got this code, which basically GETs ID from browser and then sends them an email, but why isnt it working, can some one please show me why. thank you [code=php] <?php $con = mysql_connect("localhost", … ![]() | |
Hello I have a ticket helpdesk script that I am converting to make it completely skinnable. For this, there is a file called header.php which includes the link to a css file. The code is below [code] <link rel="stylesheet" href="<?php print $GLOBALS["URL"];?>/templates/gothica/aquarius.css" type="text/css" /> [/code] I want that the path … ![]() | |
Hi, I am trying to do my terms and conditions and I had trouble with this error it kept saying on line 68 I went to it and there was nothing I could see wrong, so I started all over again put it in a fresh and now it is … | |
I'm working on trying to approve photos that get posted. It works fine, but to keep files with the same name from overwriting each other I went with assigning them a random number. The problem is that even if a file is not uploaded it still writes a random number … |
The End.