41,412 Topics

Member Avatar for
Member Avatar for Joaoalex7

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> …

Member Avatar for sourcebits
0
78
Member Avatar for seularts

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:)

Member Avatar for sourcebits
0
91
Member Avatar for whitestream6

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] …

Member Avatar for sourcebits
0
166
Member Avatar for izagaren123

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; …

Member Avatar for pclfw
0
157
Member Avatar for sonia_demo

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 …

Member Avatar for sonia_demo
0
94
Member Avatar for Stefano Mtangoo

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 = …

Member Avatar for Stefano Mtangoo
0
203
Member Avatar for Member #687975

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 - …

Member Avatar for Member #687975
0
121
Member Avatar for virspy

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 …

Member Avatar for Member #334542
0
121
Member Avatar for Helleshtern

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']) …

Member Avatar for Helleshtern
0
3K
Member Avatar for niths

[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) …

Member Avatar for prem2
0
87
Member Avatar for xo_vicke93_xo

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 …

Member Avatar for liamfriel
0
103
Member Avatar for QWaz

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 …

Member Avatar for QWaz
0
124
Member Avatar for rukshilag

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 …

Member Avatar for Ricardo Mariaca
0
93
Member Avatar for amaresh417

Hi I am Amaresh Maurya plz tell me about the best book or best tutorial site for PHP........ thanx....

Member Avatar for Member #334542
0
49
Member Avatar for rukshilag

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..

Member Avatar for Ricardo Mariaca
0
82
Member Avatar for babusomu
Member Avatar for Darkicon

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 …

Member Avatar for Member #334542
0
152
Member Avatar for niths

[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 …

0
70
Member Avatar for sjusts

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 …

Member Avatar for sjusts
0
148
Member Avatar for adity

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, …

0
95
Member Avatar for xuexue

plotting data coming from a live database using mysql in a webpage using php/html. thanks in advacne.^^

Member Avatar for xuexue
0
156
Member Avatar for java=hard

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); ?

Member Avatar for java=hard
0
131
Member Avatar for KBL

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 …

0
70
Member Avatar for danielagaba

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 …

Member Avatar for CFROG
0
152
Member Avatar for rukshilag

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!

Member Avatar for rukshilag
0
125
Member Avatar for caro88

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

Member Avatar for caro88
0
169
Member Avatar for tatt727

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 …

Member Avatar for tatt727
0
178
Member Avatar for ayesha789

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.

Member Avatar for ayesha789
0
199
Member Avatar for Member #746260

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 …

Member Avatar for Member #746260
0
207
Member Avatar for Lolalola

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 …

Member Avatar for colweb
-1
100
Member Avatar for RisTar

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 …

Member Avatar for almostbob
0
201
Member Avatar for preetg

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 …

Member Avatar for saiprem
0
172
Member Avatar for niths

[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(); …

Member Avatar for almostbob
0
48
Member Avatar for zura

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 …

Member Avatar for colweb
0
73
Member Avatar for aneeka

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 …

Member Avatar for canterorist
0
266
Member Avatar for jokomamamita

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 …

Member Avatar for Member #334542
0
239
Member Avatar for Hypalink

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 …

Member Avatar for Hypalink
0
2K
Member Avatar for sandipan.rcciit

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 …

Member Avatar for whois101
0
4K
Member Avatar for dan1992

Wat i need to choose in sql db tabel "Collation" to make posible to read russian letters please help THX

Member Avatar for colweb
0
155
Member Avatar for seularts

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 …

Member Avatar for Member #120589
0
145
Member Avatar for BlueCharge

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 …

Member Avatar for BlueCharge
0
147
Member Avatar for toocoded

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 …

Member Avatar for sourcez
0
148
Member Avatar for Encrypted

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 …

Member Avatar for Encrypted
0
114
Member Avatar for knkk

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.) ; …

Member Avatar for knkk
0
187
Member Avatar for parzhen

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.

0
27
Member Avatar for qazplm114477

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.

Member Avatar for mackone
0
37
Member Avatar for pwhitrow

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 …

Member Avatar for Member #120589
-3
241
Member Avatar for danielagaba

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 …

Member Avatar for peter_budo
0
87
Member Avatar for Venom Rush

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 …

Member Avatar for rh solar
0
296
Member Avatar for QWaz

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 …

Member Avatar for colweb
0
1K

The End.