41,412 Topics
hey all, I'm having some troubles with radio buttons. I'm trying to create them dynamically (which i can do without any problems) but now i'm not sure how to get the information of which button was selected. Can anyone help me? Thanks in advance:) this is my code: [CODE]<html> <head> …
How can I count unique IP clicks on a image link [B]without [/B]a MySQL db. If any tutorials are at hand could you give me a hint or something please, thanks:)
I've got my pagination script working, but now I need help trying to get it to extract data from 2 different sources. The episode data is stored in table episodes, whilst the main table (where the info on airdates for episodes is stored in epdata2). This is my code: [CODE] …
hey i need some helpn with some conversion the link currently links the item id to the shopping basket i currently have a submit button on my site which looks like this <!--<input type="button" value="Add to Cart" onclick="addtocart(<?=$row['itemid']?>)" />--> and is linked to this script <!--<script language="javascript"> function addtocart(pid){ document.form1.productid.value=pid; …
hello friends, I want to [B]display only those images which are checked.[/B] I had tried so many times but no use. when I checked any images. it displays only [B]last[/B] image. can any tell me where is the problem here is the code. display.php <?php $i=0; $connect = mysql_connect('localhost','root','') or …
Hi all, I have been running errors too much that I realized that I have learned 'bad' behaviour in writting PHP query. So I decided to change. Please tell me what is good behaviour of writting queries that involve PHP variables as well as functions like one below. [CODE=php]$query = …
Hi all, I used this method (link below) for my website, which works like a charm. [url]http://www.daniweb.com/forums/thread277139.html[/url] Now some of my website structure is : index.php contact.php mail-sender.php - ( script to send emails) template/wide_panel.php - (template where the content is) content/wide_panel/contact.php -( the content of the contact.php) content/wide_panel/error_invalid-email.php - …
Hi , this is shafi, i want small help here is the sample site [url]http://www.tailorstore.com/in/en/tailor-made-shirts[/url][B][/B] in this site he is using 3D model and loading fabric ... and i want help like how is loading fabric ... and it should without any 3d softewere... how we can do it... cn …
Hello! I have a script to update multiple rows in database but it update [B]all[/B] and I need to [B]only values in checked rows[/B] be updated. What should I change to update only checked rows? [CODE] <?php include 'connect_db.php'; $sql="SELECT * FROM $tbl_name"; $result=mysql_query($sql); // Count table rows $count=mysql_num_rows($result); if($_POST['Submit']) …
[QUOTE]hi all, in my insert project page wen i am above to insert project if the project size is greater than the allocated size then it should display some alert message,but my code not displaying anything.so please check my code. Thank u.[/QUOTE] [CODE]<?php $id=$_GET['f1']; @session_start(); require_once ("check.php"); createsessions($username,$password,$userid,$projectid,$projectname,$filename,$size,$allocatedmemory,$answer,$usedmemory); $con=mysql_connect("10.70.1.248","invensis","invensis"); if(!$con) …
Hi, i'm not really sure how to explain this. I have a table with a lot of places sorted by date, all connected to a MySQL database. I'd like the table to update automatically everyday and remove the top ones where the date has passed so that the table only …
Hi, I am having real trouble trying to figure out how I can add multiple rows into a MySQL database at one time. I have a form where the person selects a number from the drop down options. then I need to add that amount of new rows into a …
Doing a system in drupal using php and mysql. Want to integrate a function for reporting - that is print out watever search result in the search page which displays in tabular form. please help. i have only heard of jasper reports. is there something simpler? if so wat n …
Hi I am Amaresh Maurya plz tell me about the best book or best tutorial site for PHP........ thanx....
Doing a System in Drupal - coding with php and mysql - want to know how i can integrate jasper reports to it so i can generate reports at the click of a button.. does anyone know? please help..
I am new to php environment.... so guide me..... thanks friends........
I'm very new to PHP so I'm still learning how to do stuff. I cannot figure out what is wrong with this code: [CODE=PHP] if($row->played_time >= 60){ $time = round($row->played_time,2) / 60 " mins";} elseif($row->played_time >= 3600){ $time = round($row->played_time,2) / 60 / 60 " hours";} elseif($row->played_time >= 86400){ $time …
[QUOTE]hi all, I am doing a login page where different users can log in like Superadmin,Admin, User. when Admin logins he can create projects,note that each admin is also given some memory to use he should not exceed that.so my problem is that whenever admin creates a project and if …
Okay I am going to pull out my hair. I have been working on this for over 10 hours and I know someone out there can help me. I am looking to grab information from passed information [code].../testingform.php?name=Shannon&email=shannon%40resultsenterprises.com&char2=checked&ship1=CANADA&enter=1&x=61&y=32 [/code] the field I am pulling is char2=checked it will either come …
Hi, The following is what i want to do . Integrate R with PHP such that R functions can be called from within PHP, and the results from R (graphics output, result variables/arrays) are available for further manipulation within PHP. want a PHP extension that links in R capabilities directly, …
plotting data coming from a live database using mysql in a webpage using php/html. thanks in advacne.^^
I'm doing my assignment, and I can't figure out how do it. For instance, I have to decrease the prices in a "movie" column by 3%...how do you update the table like that? So, would you say: UPDATE table_name SET PRICE = (PRICE * 0.97); ?
Within this particular program... (yes i merged two that I had to see if I can get it work...) anyways its suppose to allow me to enter a number and then it will print out the time table for the entered number and also is to be validated so that …
Hi, I'm displayin data in my database in a table form using a for loop . In my loop i added a radiobutton so that a selected radio button would identify the row on the table. This is the code is used: [CODE] for($j=0;$j<=$nrows2;$j++){ while($row = mysql_fetch_row($result)){ print "<tr><td>".$row [0]."</td><td>".$row …
Hi i have downloaded a php class from a website. and i want to know how i am to integrate it with my system??? i mean do i unzip the file to where? please help!
can you run a query just by a button e.g [U]UPDATE DATABASE[/U] when click the button have a query in it to automatically update a table in the database
Hi, I have created a mock site for a shop which has a registration form which is validated and then, if all the items pass the validation it should move on to the next page. The validation of the individual form feilds work well, I just can't get the redirecting …
I have developed 2 Database using MySQL and PHP. I have created member table in which there is a type of user. On basis of type I restricted user to view private pages. Now I wanted to check status of users. when they login, logout means timing of the users.
Hi, I know this forum for a while and it has been helping me for a time, now I registered myself and I have a question to make you: I'm making a zone in my website where I can see a Top10 of links, products and news, and all of …
Hi, why in my new file put all program code? When i open "new_doc.doc", give: " first line second line<form method = "post"> Download: new_doc.doc, <input type = "submit" name = "ok" value = "OK" /> </form> " [CODE="php"] <?php if(isset($_POST['ok'])) { header("Content-type: application/octet-stream"); header("Content-Disposition: attachment; filename=new_doc.doc"); $data = "first …
Hi everyone, Im having some issues with a website that im working on. The website have mysql database and all of the server side code is done in php, therefor all of the files are named with a .php extension, I know it shouldn't make any different but for some …
HI everyone I want to install joomla . but dont know how to do it.. i download from internet a zip folder., that contains files but i could nt find any setup in it... plz guide me how i can install it using easy way i tried it from so …
[QUOTE]hi all, in my insert project page wen i am above to insert project if the project size is greater than the allocated size then it should display some alert message,but my code not displaying anything.so please check my code. Thank u.[/QUOTE] [CODE]<script language="javascript" type="text/javascript"> window.close(); </script> <?php $id=$_GET['f1']; @session_start(); …
helo, i'm newbie here.... i trying to make multiple login in one login page.. admin go to page admin.php and counselor goes to counselor.php.. i had try so many things n it doesn't work.. all this in database and it have it's own access level.. like admin =1 and counselor …
Anyone, please help me here. I created a view in mysql but when I use it in my code in php, an error appears that the view doesn't exist. What can I do? Here is my code. [CODE] $count = mysql_query("SELECT COUNT(*) FROM ViewName where ftTimeIn != '' AND ftTimeOut …
Greetings all, Me and my friend are doing a group project and we encountered a problem lately. If you check out the site : [URL="http://www.meteor-idea.com"]www.meteor-idea.com[/URL] And you click on Login -> Signup -> Put everything blank and hit submit, you will notice an error message saying "Please insert userid." We …
Can somebody help me understand how to retrieve user profile data when that user logs-in. I'm relatively new to this and am currently developing a site with javascript, ajax and php. For example in Facebook when a user logs-in their profile data is then displayed in their profile page. Im …
hi, if any one know that how to convert a [COLOR="Red"]excel file to csv[/COLOR] file with [COLOR="Red"]php [/COLOR]coding????? actually i want to make a site where user upload the data as a [COLOR="Red"]excel file format.[/COLOR] and when they clicked button the [COLOR="Red"]excel file is changing in csv file[/COLOR] first then …
Wat i need to choose in sql db tabel "Collation" to make posible to read russian letters please help THX
here is my little code: [code] <?php $dir1 = $filex.'/88x31'; $filecount1 = 0; $d1 = dir($dir1); while ($f1 = $d1->read()) { if(strstr( $f1, '.htm' )) continue; if(($f1!= '.') && ($f1!= '..')) { if(!is_dir($f1)) $filecount1++; } } ?> [/code] how can i add more file extensions to this code to be …
Hi Everyone, I have a page that displays information from a mysql database. The information is taken from the members table where the id is in the url e.g. [url]http://www.clancorner.net/tounament.php?go=MW2&[/url][B]id=2[/B]. And that works perfectly, pulls ou all the information i asked for. Unfortunatley i now need to just echo "Invalid …
Hello everyone, Im new here. I'm not new to web design but a bit new to PHP. I really need some help with this. I have an email script that sends a bunch of user choices to me. The choices ware one or more and are sent to the email …
Hello, I'm trying to pull data from multiple tables in a single mysql_query and I'm having trouble displaying the data that's pulled. Here's what I've got so far.. the highlighted code is the part that doesn't work. (sorry in advanced for the sloppy code.. i've been copying/pasting stuff all over …
Hi everyone, I recently migrated to PHP 5.3.2, and realized that I am unable to turn off notice errors in my site now. I went to php.ini, and in these lines: [CODE] ; Common Values: ; E_ALL & ~E_NOTICE (Show all errors, except for notices and coding standards warnings.) ; …
hello every one iam so glad to be freind with your and i anew member i wish to be agood member . i want from your to help me in my project writting by php language who good in php help me.
Greetings, Originally from the philippines but now staying in canada. Language: PHP, MYSQL and a little javascript/html/css. hope I can learn more here.
Hi fellow devs, not sure if this is the right place to post but I wanted to share my application with you, in the hope that it may be useful to someone if you are developing a website and need an off the shelf gallery... xFlow! ([url]http://xflow.pwhitrow.com[/url]) is a gallery …
hi i'm trying to create an application that sends information through a query string to a php page that stores the information in an sql database. when i run the application it brings no errors and displays the form at the end of the connection method but no data is …
Hi there I have a form which will delete items from a MySQL database. I'm having one problem though. I'd like to have a confirmation window popup and if yes is clicked then the php gets processed to delete the row out of the database. Is it possible for javascript …
Hi, I am pretty new to php. On my site, I have set up a form to store images in a database, it works fine, and the images are stored in there as BLOB files. However, I can't work out how to display the image from the database. I want …
The End.