39,320 Topics
| |
Hi..Currently creating a voting system.On which i have to save all the total votes in database.What is the format or should i say the code in counting of votes. I have already a list of candidates and radio button.I want that if i click one of the radio button for … | |
So I made a register script and a login script for my website; here is the register script: [CODE] <?php $host="localhost"; $username="root"; $password="quatre"; $database="binary"; //make connection to mysql //and store connection in the variable $con $con=mysql_connect("localhost","root", "quatre"); if(!$con) { die('Could not connect'. mysqlerror()); } mysql_select_db($database); $aid=$_POST['aid']; $pass=$_POST['password']; $fname=$_POST['fname']; $lname=$_POST['lname']; $phone=$_POST['phone']; … | |
please help... I have a looping textbox.. i cant get the value of the textbox when a user input a value. when a user click the submit button, i want to post in to another page and display it.. I have a code here [CODE] for($i=1; $i<=$_REQUEST['no_textbox']; $i++) { echo … | |
Hi, I want to write a script which can do the following job, i have looked with Google but could not find any. The script should click a link and get the file to download on the server on which the script is running to a folder. The link to … | |
i am trying to use a flatfile database just for a basic webpage. i have no mySQL and need a login file to keep certaian things private from guests, and to also have members view a personal page each time they login. i have been trying to use this code … | |
Okay, I am creating a simple forum for my Grade 12 Summative Project, and am having a hard time searching the forum. I have two tables which i would like to search, setup like so: table1 --------- post_id - AI primary poster_username post_subject post_text post_time - stored as time() would … | |
I am building an AJAX web application in ExtJS im not sure what I should use for the back-end of my application. Can someone help with a comparison of PHP vs. Ruby vs. Jaxer? | |
im making reservation system online, i have a problem how to show the data choosen by the user to another php script? here's my code. index.php code [CODE]<form method="post" action="confirmreserve.php" style="margin:auto;"> <table width="95%" border="0" align="center" cellpadding="4" cellspacing="0"> <tr> <td width="50%" align="left" valign="top"><strong>Check-in Date</strong></td> <td width="50%" align="left" valign="top" class="body2"><strong>Check-out Date</strong></td> </tr> … | |
Hi all, i am trying to develop a plugin that sets a calendar in which i define date ranges... for example, spring, from 21 march may to 21 jun summer from 21 jun to 21 september and so on , what i would like is that given a date range … | |
Hello all, I have a php function that deletes the contents of a database table that relies on a javascript confirm box to tell it what to do as follows javascript function as follows [code] function deleteMasterList() { var outcome = confirm("Delete Master List, you will have to re-enter all … | |
Just posted this in the PHP forum, but thought it was the wrong place: [URL="http://www.daniweb.com/forums/post1092005.html#post1092005"]pdo_mysql and gd recognised/enabled in terminal but not on phpinfo()[/URL] which is basically: I've got GD and pdo-mysql enabled on my version on php (ran php -m to check and they are both there) but when … | |
hi, i'm new to php... i have created a login page -- login.html, where user can enter username & password. when they submit the form, leads to a validation page -- login.php if login succes it forwards to 3rd page. Suppose if it fails, then again redirects to login.html where … | |
Hi, I'm trying to run a Java App from PHP. [B]system('java -jar /home/dave/web/drupal/java/dist/emp.jar');[/B] fails. nothing prints out, it just returns FALSE. However, this works: [B]system('java -jar');[/B] Prints out the help info normally associated with incorrect parameters passed to Java. This also works: [B]system("ls -l /home/dave/web/drupal/java/dist/emp.jar");[/B] Prints out a listing of … | |
Hai, I had found in many websites that they pass their variable using GET method and their URL is like this [ICODE]http://www.sitename.com/variablename[/ICODE] My webserver is apache and please any one help me to pass a variable in this way Thanks in advance Rajeesh | |
Hi, this is my first post here at DaniWeb, so be gentle! :icon_smile: I am trying to learn PHP, but first want to set up an IDE on my MacBook, because others have said it will speed up the learning process. I installed Eclipse PDT All-In-One v2.0.0M2 and it seems … | |
Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error … | |
I want to intergrate a video sharing CMS into a desktop application where it shows full screen (like a home cinema hard drive) with menus etc... but I want all the content to be linked to from megavideo and youtube etc AND uploaded by users | |
I just went all through the PHP manual and can't find what i need. A form has a dual function where it will display dates from mySQL if they exist in US english date format m/d/y. strftime() works fine as long as there is a date argument. When i display … | |
| I've created an array, but am struggling to get the end result I'm looking for - could anyone point me in the right direction? Current result: http://www.equinefocus.co.uk/random/4l56fdfm/20091230.php Array $filters_array = array ( "Filter001"=>array ( "<a href="http://www.equinefocus.co.uk" target="blank">Filter 001: Where rating = 1</a>", // filter name and link "SELECT * FROM … |
hello friends.. i have a value in database in this format.. 20091231190903 i want to split in date format in php 2009-12-31 19:09:09:03 how can i do it...? kindly guide me plz.. | |
hello.... i want to do text fadein ,fade out using javascript onload page. actually i want to display text which is in database that text will appear in front end with fadein and fadeout effect. anybody plz help.............. | |
How to create independent search engine like google? Without linking with google how to search images and videos? | |
Hi, I'm currently trying to learn how to use php gtk2 to work with sqlite in stand alone application. If i try to open it in browser all working. But, its not working when i try to use php gtk and open it in stand alone application. i've already enabled … | |
I've managed to get PHP to work well with SQL, but date and time-related parts of my site are proving difficult to understand. I've created 3 records with these dates: December 26th (2009) - 2:25pm January 5th, 2010 - 3:00pm January 7th, 2010 - 9:00pm I'm trying to get it … | |
How to search images from diferent websites and display without storing it. (Problem is how to search and display images like google image search with perticular word entered by user) | |
So i've set up user profiles on one of my sites to enable users to add custom colours and change the background. Only thing is the CSS only shows up sometimes on Firefox and in IE it doesn't even appear in the source code :icon_confused: Anyway here's the PHP used … | |
hi i am creating a webpage with a menu down the left hand side. depending on which link in the menu you click a table on the right of will show the relavent information. the table will show the relavent information from a mysql table based on the link clicked. … | |
Hi.. I'am asking if you know how to code in back up files in database.. I have my submit button, and i want that if i click it,the process of backuping files will perform..and all the records stored in database will save in other disk.tnx in advance.. | |
I am using same login information for three sites at different hosting servers. I am using same database for three of them but i just want if i am login at one site and then move to second site then my i should be already loged in. how can i … | |
| Hi folks, I know this ain't php, but seemed the best place to put it for now. Am trying to mod_rewrite the following: http://www.nu.wetwork.org.uk/index.php?adran=first&tud=second to http://www.nu.wetwork.org.uk/first/second/ I'm a complete idiot when it comes to regex/apache, so any advice would be welcome. I have already managed to place 2 rules which: … |
The End.