39,320 Topics
| |
Does anyone know of any PHP and MySQL code that will help me out? I'm looking to translate my website but without the use of Google, Yahoo, Bing and so on, but would like to try drive the website through a database. The idea was to have friends from around … | |
i wanted to make a website serach which can search inside my website... pls help me in this | |
I have a small website,I have created html page having form in it.the form contains 3 text boxes that is.. name,email,comment.I need an e-mail script that can submit this form fields to my gmail or yahoo account.I have tried lots of script on internet but they are not working.Can anyone … | |
Coding as below havinf error, help me please; echo"<input type='submit' name='submit' value='DELETE' "onclick="return confirm('Are you sure you want to delete?')">; | |
hello , I want to develop mlm website.I know concept of parentID but i dont know how to give commision to all parents if any one join at the leaf.please help me ... | |
Hi all, i don't know how to solve this problem...i want store all the data into database. help pls~ thanks~ <!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" xml:lang="en" lang="en"> <head> <link href="/style.css" rel="stylesheet" type="text/css" /> <title>Insert New Institution</title> <script type="text/javascript"> function addRowToTable() { var tbl = document.getElementById('tblAddress'); … | |
Hi, I'm trying to figure out the best way to determine if a user is currently downloading a file from my website. The way my site works, is the user waits 30 seconds and views an ad. After the timer is up the download becomes available. I heard that I … | |
Hello I'm having trouble solving the following error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '( )' at line 1 I have a php script which I've written in PHP6 which creates … | |
Hi All, Is there a way to have a login system that needs a file that is stored on the users computer present, similar to online banking sites that use a locally stored certificate (file) for verification or redirect to another page? Thank you, Max | |
Hi everyone, I wrote an INSERT for an insert form but for some reason it wont save the data tot he database. In phpMyadmin the rows are taken up with blank nothings. It seems to work but nothing is being stored. code as follows... [CODE]session_start(); $db_hostname = "localhost"; $db_password = … | |
I keep getting a T String parse error. I am not sure what I'm missing? Any help would be appreciated! <?php $filename = "http://www.empowergroupusa.com/cambiolabs/extension/catalog/files/inspection_886.pdf"; if (file_exists($filename)) { echo "<a\href="http://www.empowergroupusa.com/cambiolabs/extension/catalog/files/inspection_886.pdf </a>"; } else { echo "The file $filename does not exist"; } ?> | |
I am assuming I will use the date function but I want to get the day that is the 3rd wednesday of the month. My site has dates for meetings and they are always the 3rd wed of the month. I like to show the next 3 meeting dates. Could … | |
Hello, Few days ago I was searching online for a way to create a PHP forum though which the visitors can leave their messages and to automatically appear on the page. I found the a code and I used it to create the PHP form, but unfortunately I discovered the … | |
Hello all, I am new to php and thus far i'm love the potential this language has as I learn more about it. I have been trying to write a script to no avail. What I am trying to accomplish is to setup a sms site from web to mobile. … | |
I am creating a form that our company uses to send denial emails to customers that we reject. The problem is, I need to know how to store form checkboxes as a variable, so i can use them in my mail_body. the email has the following format: you have been … | |
hello, i m beginner in php, and i want to download a file, here is my code [code=php] ob_start(); // location with filename $filename = "downloads/code.zip"; if(file_exists($filename)) { header("Content-Disposition : attachment; filename=" . urlencode($filename)); header("Content-Type : application/force-download"); header("Content-Type : application/octet-stream"); header("Content-Type : application/download"); //header("Content-Type : application/zip"); header("Content-Description : File Transfer"); … | |
I'm trying to figure out how can i display the value from several text field and it will be recorded on the database. am i going to use an array? it's a code to determine the quantity of the items listed and which of the items is to be replace … | |
Hello everyone! I have a problem, I need to draw a number of squares along a path. The drawing of the squares I should be okay with, but I was wondering if it's possible to draw them on an invisible path. That way I could calculate how "far" those squares … | |
hi can any one suggest why this code doesnt work [ICODE] if(mysql_num_rows(mysql_query("SELECT * FROM users WHERE username = '".$username."'")) == 1) { echo "<h1>Error</h1>"; echo "<p>Sorry, that username is taken. Please go back and try again.</p>"; } else { $registerquery = mysql_query("INSERT INTO users (fname,lname,age,email,phone,address,username,password, amount,plan,benefit,prem1,prem2) VALUES ('".$fname."', '".$lname."', '".$age."', … | |
Hi! Sorry for my bad english. I have this code: [CODE] <html> <style type="text/css"> #traka{ border:1px solid black; position:relative; width:300px; } #boja{ position:absolute; top:0; left:0; height:100%; background-color:yellow; } #tekst{ text-align:center; position:relative; } </style> <script type="text/javascript"> wid=0; function kreni(){ setTimeout("izvod()",700); } function izvod(){ wid+=10; pos=(wid*100/300); pos=Math.round(pos); pos+="%"; document.getElementById('tekst').innerHTML=pos; document.getElementById('boja').style.width=wid; if(pos!="100%"){ kreni(); … | |
hey i have multiple sessions with aray values from DB within, now i'd like to run through a loop and have all those values which displayed... here's my code: [CODE] echo "<div id='RoomBorderPayment'>"; echo "<table border='0' width='70%' cellpadding='3' style='border-width:thin'>"; echo "<tr><th colspan='2'><p>You are booking:</p></th><th>Amount</th></tr>"; $res = mysql_query("Select * from room"); … | |
hi all, i am having a upload files field with browse button...Now what i want actually is when i click the button "Browse..." the popup screen will popup, then normally it will browse all the files(doc, html,xls....) but i just want it to show the *.doc files ....so can any … | |
Hello all, I am wondering if anyone can suggest any software preferably open source that can be installed on a LAMP server to help debug a php web app. I have looked at [url]http://www.nusphere.com/products/php_debugger.htm[/url] Has anyone used the above or know of any others ?? thanks | |
Can anyone suggest some good php Script(or Weburl) to do chat part in my php system please... Thanks in advance:) | |
I have the following code to upload an image using a form. I have added a button to the form to use to remove the image, but I cannot figure out how to code the button to remove the users image. (memberFiles/$id.".jpg") Here is my code to upload an image. … | |
i want to know about smarty please tell me the best website or tutorials for that | |
i need a code for image retrieve from database by calling through id...using php code and mysql database.. thank you.. | |
i am developing a social networking site as my project in college. i have a doubt on php and mysql.. """ I TWITTER OR FACEBOOK OR IN GMAIL WHEN THERE IS NO ACTION FROM USER(BROWSER) THAT IS, THE USER LOGS IN AND STAY STILL(NOT RELOADING THE PAGE). HOW CAN WE … | |
[CODE=php] $file=file("templates/index.html"); $rcontent=join("",$file); preg_replace("/{{(.*?)}}/e","$$1",$rcontent); //explain this regular expression statement alone print $rcontent; [/CODE] | |
Hi, I want to create a im(Instant Message ) bot for my company.So, i searched in our forum.I found the below url. [url]http://www.daniweb.com/forums/thread9761.html[/url] But, i did not get the more information in that thread and more number of links are expired .I want to send instant message to gtalk,yahoo from … |
The End.