39,402 Topics
![]() | |
Hi, I just start using Linux Ubuntu 8. I need a PHP development software like Dreamweaver with good features to use under Ubuntu. What do you prefer? It is to use PHP, HTML, XHTML, Javascript, CSS, XML etc. Thanks | |
[code] <?php $con=mysql_connect("localhost","root",""); if(!$con) { die('Could not connect:'.mysql_error()); } mysql_select_db("test",$con); $result = "SELECT Fieldvalue FROM jos_rsform_submission_values WHERE SubmissionId IN (SELECT FieldValue,SubmissionId FROM jos_rsform_submission_values WHERE FieldValue = '".$_POST['searchterm']."')"; print_r(mysql_fetch_array($result)); --> i dont know what to do with this part.. mysql_close($con); ?> [/code] | |
Hi This Is Girish I want to integrate payment gateway(Paypal) in my form (php) please do the need full for me. i am new to payment gateway so this is my first project , can any body help me out..[code]HI GIrish HEre i want know how to start the payment … | |
I am trying to put a variable in as the value of the mail function on my script. I am relatively new to php and I may be making a simple mistake. Here is the script: [code=php] $busmail = $_POST['field_2'] mail(" . $busmail . ","Order Confirmation","Your Order Has Been Received … | |
hi i have following code. it has a problem when i submit username and password it does not display that username and password back. index.html [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script src="jquery-1.4.min.js" type="text/javascript"></script> <script> //window.onload = initAll; function initAll() … | |
I've made a little progress but become stuck with some PHP code. I have a small database of codes, which I need a PHP form field to check against and then direct the visitor to one of two pages depending whether what they type into that field matches a record … | |
Hi, I would like to submit form data in two ways, with the one submit button. The posting methods i want to use are... To post to mysql database: [code=html]<form action="success.php" method="post" name="form" id="form" onsubmit="return validate(this)">[/code] To post to email: [code=html]<form action="http://www.mywebsite.com/cgi-bin/cgiemail/form/form.txt" method="post" onsubmit="return validate(this)"> <input type="hidden" name="success" value="http://www.mywebsite.com/form/success.html"/>[/code] How … | |
Good day guys.! Just need a little help on how to create a php function that will loop all the rows with a text box in a table(name="gradetbl") in column 1 and save the value of the text box into mysql database when ok button is click. This is the … | |
Schedule Repeat events Hi I am stuck in fact I don't know where to start, can you point me in the right direction? I have the form to capture the user input but don't know how to proceed to use this information. I need to allow the user to schedule … | |
This code sends a message to a user with a link. The link opens up a new window using the iframe method i want it to just open it in the same window meaning load the page onitself. Heres the code: [CODE]<?php /** * This file is under the GPL … | |
Need help to make a little php code anyone willing to help than please reply to this post and than we will start | |
Good Morning Hello Friends, Is there any admin side opensource code r editors by which we can create Admin in PHP. means just including and modifying the fields Thank You in advance Viru | |
Can someone please tell me what I am doing wrong. I continue getting an undefined variable notice when "bar" is define in my page. Also the Previous and Next (page) is not working because bar is undefined. Previous and Next is only shown as text and nothing else Notice: Undefined … | |
Hi all, Im failing to see why this record wont update...... [code] $sql = "UPDATE tbl_sellers SET propertytype = '$propertytype', propertyaddress = '$propertyaddress', propadd2 = '$propadd2', proptown = '$proptown', propstatecounty = '$propstatecounty', proppostzip = '$proppostzip', propcountry = '$propcountry', propbedrooms = '$propbedrooms', propgarage = '$propgarage', eighteenplus = '$eighteenplus' WHERE ID = … | |
Hi, I'm very new to web developement. I wish to develop a purchase order application wherein it has fields po_no, item, item_description, quantity, price. Out of these items po_no is common to all entries. Initially the form will have one row containing item, item_description, quantity, price. I need an option … | |
Hi to you all. I am working on an application that accepts various source files from the users and stores them on the server with the appropriate extension e.g (.cpp, .py). This has been working fine as php allows a programmer to check the type of the uploaded file type … | |
![]() | hi there. is there a simpler way to work with date and timestamp functions of php? i need to increment the age field in my mysql table by 1 EVERY DAY to output its current age in my web page. somebody suggested working with timestamp but how do you know … |
Hi all. Here's my situation and how I'm solving it. Please let me know if my methods look good or if there is a better way of doing it. A local business around here has a drawing each day where they pick some customers' names to win something. The winners' … | |
the below code i am used to retrieve data from table to the list. it is working. but when i am trying to insert value from this list to another table, it inserts only the first word of each list value. eg: for "On Process", it inserts only "On". can … | |
good day mates! is there any alternative for this code? i need to get the user input so i can count the number of records to a condition. [CODE]$result = mysql_query("SELECT * FROM exam order by rand()") or die(mysql_error()); echo "<center><font size=2 face=Arial><b>Awareness and Reminders</b></font></center><br/>"; echo "<font size=1 face=Arial><b>Type in … | |
Theres an error on this script, A mate of mine has asked me to look at this for him, and to try and fix it. the error message he gets is "return_msg=no_good" once he trys to login to his profile based website \ page heres the form that is used … | |
Hi, I need help on updating webmails n sync servers. I'm adding user in linux server(logon server) and then i want to sync the password to 10 other IMAP servers. Later on in order to check mails I should update the webmails/ mail routers also. Can anybody help with the … | |
Hi guys, How I could build a playlist linked to swf object video player to play uploaded video in php ?? Thanks, | |
hi, I want to display the mysql records in to row and column....like [CODE]user1 user2 user3 10 20 30[/CODE] where this users are dynamic and the rows also. here is the code [CODE]$sql=mysql_query("select * from report,admin_table where report.admin_id=admin_table.admin_id and which_day='".date('Y-m-d')."' ") or die(mysql_error()); while($row=mysql_fetch_array($sql)) { $admin_name=$row['admin_name']; $activity=$row1['activity']; }[/CODE] Now it … | |
Hi all, I got this code and try to add a +1 to the .$order_details_arr[0]['Order']['id']) | <a href="<?php echo $html->url('/admin/order_products/view_details/'.$order_details_arr[0]['Order']['id']); ?>">Next</a> Basically I want to be able to show a URL that will be the .$order_details_arr[0]['Order']['id']) result + 1 so the link will link to the next order id in … | |
Like if you have to run a query for one million people, how would you display the percentage of the query finished? | |
Hi, i am trying to create a function that will allow me to update names in a textfile i got. I am actually having problems creating the function. I wAS FOLLOWING AN EXAMPLE I FOUND IN A C++ BOOK, DOING IMPLEMENTATION, BUT GOT MIXED UP. CAN SOMEONE PLEASE HELP ME. … | |
Hi I have designed a simple login area on a website that creates a few session variables to use to query a database of products which works fine: [CODE]<?php session_start(); // dBase file include "dbConfig.php"; if (!$_POST['username'] || !$_POST['password']) { die("You need to provide a username and password.<p>Click <a href='main_login.html'>here</a> … | |
Hi all, The following script works fine by allowing me to set a session variable with the users password, but i can seem to extract other information that isnt included in the $_POST. I know usually i would use something like [code] while ($row = mysql_fetch_array($sql)) { $user_type = $row['user_type']; … | |
Hi all, I'm new to this forum and have searched the web for days now trying to find a solution to my problem: function 1 builds the top of the page where the total ordered items are displayed. For example: total 10 items. function 2 (uses javascript's onchange=this.form.submit) builds the … | |
I am new to PHP and have not yet learned all the syntax and commends but was wondering if an easy script can be made to copy files of the same name from one directory over to another directory thru a PHP script in other words if I have 2 … | |
i try to validate my login page.. all special characters are not accepted but when i input a backslash ( \ ), an error message appears.. error in executing query.. please help how to validate it... tnx | |
hello........... i m facing problem regarding storing DOB of employee into database using html form m using date as a datatype and in database format for date is yy-mm-dd.... all other fields are properly working and storing into database but dob filed shown empty.... [code=html] <html> <head><title> Employee Data</title></head> <body … | |
Hi guys. i am having problem regarding of passing session data from one page to another. In start.php i have this session initialization & assignment. [code=php] session_start(); $_SESSION['course']=$_POST['course']; [/code] where the method of the form that this course menu has is set to POST and the action is set to … | |
Hi.. I am curretly developing on a site which has two dropdown lists which are linked to two database tables; one of which is 'station' and the other 'type'. I have a third table called 'stores' which includes all the information, and has Type_ID and Station_ID as foreign keys. Could … | |
Hi Dear All Is it possible to compare two PDF Image Files and if Name of Person is same in both documents only then we can save it to server and save the path to the Database. actually its about confirmation. But Problem is Both PDF are Images and name … | |
Hi, okay i've spent hours in the web searching for the right image slideshow/gallery to use for my website but in vain! Dont get me wrong the jQuery, Ajax scripts i've seen so far are so good but they all use lists to load all the images at once and … | |
good day! Please help me here, I need to count the record according to my condition but with my code it only counts the last record in the table in MySql. Here is my code.. Thanks! [CODE]<?php //establishing connection mysql_connect("localhost", "abc", "bbb") or die(mysql_error()); $submit = $_POST['submit']; $cancel = $_POST['cancel']; … | |
I want my cookie not to be reset when i close the browser. The way i have it right now it expires whenever i close the browser... I REALLY REALLY need a solution to this so please if someone could give me some time id REALLY appriciate it!! I dont … | |
Hi guys i need some project ideas for my major project... i want some innovative idea i had thought of doing image processing in PHP but it wil take tym to complete and i have to preapre for competetive exams too.. so pls tell me some good ideas for project … | |
Hi, This is what I am thinking to do. Do you think this approach is useful? Thanks index.php 1.Get user's ip 2.Get session id 3.Combine them together and do SHA1 it 4.Store result in a $_SESSION["secret"] login.php 1.Get user's ip 2.Get session id 3.Combine them together and do SHA1 it … | |
Hi I currently have date in database in this format: 11-7-2009 But I think I need to echo this in this format: 2009-11-07 | |
Hi, This is my first post so please be gentle.. I am building a site that has 100 or so pages the majority detailing a seperate training course. I have a contact.php page where visitors can fill in there details as most sites. this then gets sent via a mailer.php … | |
hi can any one tell me how to make a profile page for my website i have been tring for a bit but just can not do it sort of new to php. i have a dater base called clubwigan with a table in it called wigan_users in that table … | |
Hi Guys! I am starting a social networking web application project. I cant make up my mind whether to use PHP or ASP.NET. Which one is better, easier and more useful? Any suggestions...TY. | |
Hi i m trying to create two drop down list boxes where the second drop downl list box is populated based on the selection of the first one.I have searching the net for days and even the scripts i downloaded don't seem to be working..Can anyone help me plz.....Its urgent...I … | |
Hi, I am trying to validate email address's on my registration form. Everything works great except for checkdnsrr function. I was wondering can anyone help with this. I never used checkdnsrr before. Here is the code I'm using: //set flag that sais pwd is OK $pwdOK = true; //trim whitespace … | |
I have a multi page form that uses hidden fields to pass the submitted data. The final page displays the results to the user, this is working fine. If the user is happy they submit the form which is then emailed to me and they are forwarded to a thank … |
The End.