39,393 Topics
![]() | |
Hi! I want to update or delete a record in database whose values will be taken from form. I tell you the scenario.... First, I created a form for data input which i then saved in database . Then i get the results from database in the form of table. … ![]() | |
Hello all. Quick question. I have a table in my database with 'feedback' items which are assigned to pages/items in another database. I have a inner join to list all of the items on the feedback table and which items they are listed on. I have used a DISTINCT on … | |
Hi i installed the system as instructed but when i try to login with my username and password this error is shortly being displayed: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/smledit/public_html/sms/classes/crc_login.cls.php on line 129 You can check it out at: [url]http://www.sml.com.mt/sms/pages/crc_login.php[/url] Looking Forward to … | |
pliz help ma have this code but it doesnt delete records ,am tuck what could be the problem,thanks here is the code <?php require_once('Connections/Database.php'); mysql_select_db($database_Database, $Database) or die("Unable to select database"); $aa=$_POST['pnum']; $bb=$_POST['dnum']; mysql_query("DELETE FROM doctor WHERE dID='$aa'"); $checkresult=mysql_query($query) ; if ($checkresult) echo 'delete query succeeded'; else echo 'delete query … | |
cursor move on to "menu" then i get submenu in submenu i click on one option the page will display on <div> of same page, plz help me.thanks in advance. my code is: <a href="#" onmouseover="javascript:test(1)" id="ss">tutor</a> <div id="frame1" style="position:absolute; top:120px;left:65px;" class="hide";> <table id="itut" border="1"> <tr> <td> <a href="#" onclick="tutorlogin()">tutorlogin</a><br … | |
Hi, I wanted to know what you PHP programmers recommend. I am new to PHP and am doing pretty good. I gone to w3schools and tzig but found they only explained so much and not much indepth. I been watching videos online that has made a huge difference in my … | |
HI, I am developing a new website..The design is sowhat over .My problem is its taking too much time to load.I need a very simple interface but i ended up in this bottle neck .I used jquery to add some effects .. Do u have any suggestion to reduce the … | |
Hello everyone, I have an xml document that contains the captions of photos in a photo gallery I wanted to put the caption after uploadind the photos and also delete a specific caption Like <caption>Name1</caption> <caption>Name2</caption> can anyone tell me how to edit the xml | |
Hey Hii .... I am solving this problem from last 2 days.... but unable to find solution. What i am doing is ..... On click of submit button i want to send email and i am taking client to paypal page to do the payment..... i. e. i want to … | |
Hi forum, Trying to create an RSS feed for my blog (not using a blog host or blog software). Seems to me the best way for me to do it is to use PHP in the XML to draw the last X posts from my MySQL database. So first, I … | |
HI every body, I m having a file aaa.php in my root directory(ie in my main domain) . Now i want to use that aaa.php in my subdomain.How can i point that file from subdomain to main domain. Just i am giving the full path <?php include("http://www.mydomainname.com/aaa.php")?> The above is … | |
Hello, I have a system that generates quotes, it opens a new window with the quote itself. I am trying to make it so I can generate a PDF automatically to a temp file on my webserver, and then use a script I wrote to email the attachment to the … | |
Hi i have one small application which includes clients registrations and contact details.Now i want voice recording which records the customerts conversation with the web site holder n tht conversation has to store in database. So i need a PHP application which supports the voice recordins. | |
Hi! I was wondering if there is any way to just include a small part of a file? If I write include("c:\wamp\www\somefile.php"); then the whole file is included. I would like to only include the half of the file or a variable. Is this possible? Thanks in advance! | |
Hello, I am trying to add hyperlink to my mysql query result. I have a table called EastLondon which consist of the following: [code] (restaurant_id INT UNSIGNED PRIMARY KEY, restaurant_name VARCHAR(20), phone_number VARCHAR(20), picture varchar(8), website varchar(40)); [/code] I extract all these info into a table using php. What I … | |
Hi I am writing to a text file but end up having several duplicates in the text file, this is a basic program I am creating using PHP and HTML. How is it possible to fwrite only when record exists. Thnx [code]<?php $FirstName = $_POST['FirstName']; $LastName = $_POST['LastName']; $Email = … | |
Hi, Can any one please guide me that is there any way in php to add all country names automatically in a list box rather then making a static list of <option> Thanks for your time. | |
Hello everyone, I moved forward to purchase a book with PHP examples. This ecommmerce example did not make much sense to me at a certain point, it became too technial and I was unable to follow along with explicit understanding. There are two pieces of code that are problematic starting … | |
how can i pass the array which have some record fetched from the database from one php page to another desire php page without using session | |
[I]<< Split from [URL="http://www.daniweb.com/forums/thread6923.html"]http://www.daniweb.com/forums/thread6923.html[/URL] >>[/I] Hi i installed the system as instructed but when i try to login with my username and password this error is shortly being displayed: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/smledit/public_html/sms/classes/crc_login.cls.php on line 129 You can check it out … | |
DOES ANY ONE KNOW HOW TO VALIDATE THIS FORM? case 1: if any field is not completed, display in red colour and display a text message to correct, case 2: once is completed, display TANKS FOR SUBMIT YOUR FORM, AND REDERECT TO INDEX PAGE. [code]<?php $msg ="Name: $_POST[name]\n"; $msg .="Email: … | |
Hi. I am building a web site with online payment using paypal. I have a shopping cart which I built and I managed to include the buy now button from paypal, but I the customer has to enter the total amount themselves. I cant send the total amount. Also how … | |
HI, I was given the chance to maintain a wordpress based php website. Unfortunately, I could not find any connection string for that website. How to fetch that. | |
hello everyone! im having trouble with php have anyone know how to create shopping cart using php? im using html, php, mysql, navicat for mysql. i just want to create the very simple one. like add, delete, update somekind like tat.. i hope u guys can help me. thanks! | |
HI, I need help in .htaccess to hide php extension. if someone request [url]www.mysite.com/profilename[/url] , then profile should be open of the particular person. Please help me in this, how can i accomplished this using .htaccess?. Your help in this will be highly appreciated. Thankyou, syed. | |
Hi I am brandnew to php and my sql. i am trying to put guest entry to my web. when i run my web, i get this error : `Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource` Here are the surrounding lines $SQL="SELECT * From Guestbook"; $Content=mysql_query($SQL); … | |
HI, DOES ANY ONE KNOW WHAT IS THE RIGHT STEPS TO MAKE THIS FORM MAIL TO WORK? [B]HE IS THE CODE:[/B] 1. <html> 2. <head> 3. <title> send mailf from the form </title> 4. </head> 5. <body> 6. <?php 7. echo "<p> your name is: <b>$_POST[name]</b>,</p>"; 8. echo "<p> your … | |
Hi Everyone, I have made one google checkout payment gateway integration in PHP in a shopping cart. But with which user id or merchant id i am using in that integration . when i am going to login with that google id . I am getting some error message there. … | |
Hi! I'm trying to take the XML feed from Google Calendars: [url]www.google.com/calendar/feeds/jeffc418%40gmail.com/public/basic[/url] And make it into a PHP variable so I can set each calendar event as a variable. How would I go about that? I contacted my hoster about simplexml and I got a response about PHP 4/5. If … | |
In a code routine I receive strings like “04242009” and I need to convert it to April 24, 2009. I have played with several of the date conversion routines but I am getting no where. Help would be appreciated. Thanks! WBR |
The End.