52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for futhonguy

Hi, Currently i have 3 Tables - A, B and C. All 3 tables have their unique IDs (which are auto increment) and Table B and C are a foreign keys to Table A. says: Table A = A_id, A_fname, B_id, C_id Table B = B_id, B_add, B_pcode Table C …

Web Development php
Member Avatar for futhonguy
0
190
Member Avatar for Rblalock

[B]I need help understand where to place (and how to create) [CODE]function calcPrice() { product = document.form1.prod; pindex = product.selectedIndex; product_price = product.options[pindex].value; quantity = document.form1.qty; qindex = quantity.selectedIndex; quantity_ordered = quantity.options[qindex].value; document.form1.price.value = product_price*quantity_ordered; }[/CODE]. I also need to know where to add the [CODE]onchange = "calcPrice()"[/CODE] event handler. …

Member Avatar for Rblalock
0
482
Member Avatar for Phil++

That I can get the street name from a post code in PHP? For example, someone enters their post code and it comes up with the street name rather than them having to type the whole thing out? Please help

Web Development php
Member Avatar for almostbob
0
154
Member Avatar for Arianna

Just so you know, I'm a PHP beginner, so I won't understand complicated stuff or anything of the like. xP I've started to make a part of my website (may I link to it, or should I just post the code) and I'm pretty happy with it. A user can …

Web Development data-structure mysql php session
Member Avatar for Arianna
0
286
Member Avatar for scottholmes

I have a snippet of code, thus: [CODE]$match |= in_array($type, $types);[/CODE] but I am unfamiliar with the |= expression and have been unable to find it in the PHP manuals.

Web Development php
Member Avatar for scottholmes
0
78
Member Avatar for Bhuddha

I have an issue. My form/submitform, isn't breaking/spacing, the information its emailing me.. I've tried everything I can, and for some reason, its still not doing it, anyone have a solution? I've been researching for 3 days trying to find answers, I've tried the answers shown online, and none have …

Web Development gaming php
Member Avatar for Bhuddha
0
88
Member Avatar for thanigaics

Hi all, this is mohan started working recently on ajax with struts2 framework. I can able to make a ajax request to an struts2 action class.But in the response I am getting the whole jsp page as a response mentioned in the result tag in struts.xml file.But I need only …

Web Development javascript xml
Member Avatar for VaishaliVinay
0
63
Member Avatar for crazygolfer

I have a table that is populated by php/mysql. I would like to have it were when you click on a row any where on the row the check box for that row gets checked. I have been searching the net for days looking for a way to do this …

Web Development javascript
Member Avatar for ogunm
0
299
Member Avatar for tmv105

Can someone help me store a string that has an apostrophe within it? I thought that using [B]mysql_real_escape_string[/B] was supposed to add a slash when retrieving, but remove the slash before storing. Here is a portion of my code and then also the result of the data after it is …

Web Development mysql php
Member Avatar for Atli
0
129
Member Avatar for web3

I made star voting script and i was wondering how to display average result?

Web Development php
Member Avatar for mattsmomdotcom
0
77
Member Avatar for michelle1

Hello there, [B]Ruby Version Installed:[/B] ruby 1.9.1 (2008-10-28 revision 19983) [i386-mswin32] [B]Operating Systems:[/B] Windows XP (both PC and laptop) [B]Laptop:[/B] I can run a gem command on with no problem [B]PC: [/B][COLOR="Red"] gem won't work despite that ruby works fine. I get this message for any gem command: [/COLOR] [CODE]% …

Web Development operating-system ruby
Member Avatar for michelle1
0
351
Member Avatar for GradStudent

I am trying to develp a webpage that takes in TO and FROM Addres and displays the Google Map as well the directions. I understand JScript helps out with the Google Map display and I played around with the URL google.maps.com to get the directions. Now my issue is I …

Web Development api asp.net c# google google-api
Member Avatar for kvprajapati
0
384
Member Avatar for tobisan

Hi there. Im pretty new to PHP and have made a terrible mistake, Im getting this message Parse error: syntax error, unexpected T_STRING ......functions.php on line 2 the site workd fine but failed once Ive tried to add a sidebar, Ive tried to replace the function.php code Ive just eddited …

Web Development php
Member Avatar for tobisan
0
453
Member Avatar for muralibobby2015

hi, i am doing mailing concept in php. In this admin side admin send mails to users with attached files. but i wrote normal code for email without attachments. how to write code for attachfiles.

Web Development php
Member Avatar for muralibobby2015
0
102
Member Avatar for oku

Hello! I have been working on a dynamic solution for a web based purchase order system. When i enter a purchase order i am greeted with: [IMG]http://nenuno.co.uk/temp/12-rows.jpg[/IMG] And i have started to code a solution where I can add rows when I need them! Inspiration is: [IMG]http://nenuno.co.uk/temp/example.jpg[/IMG] The code I …

Web Development javascript
Member Avatar for network18
0
215
Member Avatar for lydia21

hi, i want to implement paging concept in php with mysql.i tried lot of code.....the page next,prev links at the bottom which is used to move to and fro is not working please do give a code for paging........

Web Development php
Member Avatar for farrukh1
0
147
Member Avatar for phpbeginners

Is there anyway so that i can make my dll and put my functions in dll and then access them so it protects my function source code.

Web Development php
Member Avatar for network18
0
112
Member Avatar for reddy5081

[B]good day ,[/B] [B]i am new to java ,[/B] [B]i am using two different databases and i want to insert data from one table to other empty table using jdbc .and it consists of null values in one table along with some data .when ever we add new data to …

Web Development java-jsp
Member Avatar for javaAddict
0
172
Member Avatar for love_dude1984

hi.. im using file upload control to upload some files on my server. but the problem with the same is it uploads the files of specific size only. for ex, if i upload a file in KB's, it works perfectly...but when i try to upload files of more than 1 …

Web Development asp.net file-system
Member Avatar for mail2saion
0
93
Member Avatar for mshravs

i want to start a website, but i don't know how to. can anyone guide me with this process. thanks

Web Development asp.net
Member Avatar for ithelp
0
175
Member Avatar for muralibobby2015

[CODE] <?php ob_start(); extract($_REQUEST); extract($_POST); session_start(); $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } $db=mysql_select_db('murali',$con); $message = ''; $error = array(); $select=mysql_query("select * from registration where username='$_REQUEST[username]'"); $taken_usernames=mysql_fetch_array($select); // main submit logic if (@$_REQUEST['action'] == 'register') { $resp = check_username($_REQUEST['username']); if ($resp['ok']) { $message = …

Web Development json php
Member Avatar for venkat0904
0
124
Member Avatar for n_hernandez

I have created a website using dreamweaver. I am very new to all of this and have kind of been learning along the way. At any rate, I CANNOT get the booking request form to submit the gathered info to my email. I do not like the mailto: option because …

Web Development php
Member Avatar for phpbeginners
0
182
Member Avatar for phouse512

Hello, I've looked on google for information about storing multiple pieces of information in one database column, but I can't find anything helpful. If I want to have some sort of etc. inventory, and there is more than one 'item', how would I store multiple items inside the database? Thanks

Web Development php
Member Avatar for Designer_101
0
111
Member Avatar for ArunRaj.SRM

Hi, Can anyone provide a sample application that usses a login page, in which users can login and the login details will be checked from the oracle db. Thanks in advance.:)

Web Development java-jsp oracle
Member Avatar for peter_budo
0
87
Member Avatar for marulu

I am in the process of learning PHP with JS and Ajax and have the foll. problems. I have created a class to generate master data entry screens. (1) Javascript code that works when I run master.class.php independently does not work when I run users.php. I came across this problem …

Web Development javascript php
0
145
Member Avatar for dpatz

Hi, I am reading in a bunch of files to upload but they are in an array: [CODE]<input id="tab1file0" class="tab1Files files" type="file" name="tab1file[]" /> <input id="tab1file1" class="tab1Files files" type="file" name="tab1file[]" />[/CODE] To upload the files I call a function uploadFile() which looks like this: [CODE]function uploadFile($thefile) { $base_path = "files/"; …

Web Development file-system php
Member Avatar for network18
0
166
Member Avatar for tiger86

Hey; I have 6 months of work done in PHP and I really don't want to re-invent the wheel but I want to use some Ruby in my site. Is it possible to "mix languages" like PHP and ruby or will I run into some major problems? I would really …

Web Development php ruby
Member Avatar for codejoust
0
273
Member Avatar for InsaneVr6

I am having trouble getting PHP to run on Windows 7 under Apache. I know I installed everything properly because I have them running on 3 different machines (one with XP, one with Vista), but for some reason when I use my phpinfo(); script it shows up as plain text …

Web Development apache php windows-vista
Member Avatar for network18
0
83
Member Avatar for Bhuddha

Hey, I'm trying to get a form submit to work, I've got this made: <?php $to = "xxx@xxx.xxx" ; $subject = "Application form" ; $firstname = $_REQUEST['first_name'] ; $charname = $_REQUEST['char_name'] ; $class = $_REQUEST['class'] ; $level = $_REQUEST['level'] ; $age = $_REQUEST['age'] ; $timezone = $_REQUEST['timezone'] ; $raidavail = …

Web Development php
Member Avatar for phouse512
0
112
Member Avatar for ytregnn

I just bought this script; [url]http://www.scriptsez.net/index.php?action=details&cat=Reviews+and+Ratings&id=2519672139[/url] You can see a demo of the script here: [url]http://www.scriptsez.com/ez_comment/demo.html[/url] I'd like to create an 'average' of the total votes for each review/comments. Is this possible to do in an easy way? I would also like to create a top 10 list based upon …

Web Development php
Member Avatar for diafol
0
91
Member Avatar for webmastercook

I have a clone script and i have uploaded it to my server i followed the instructions but to be frank with you all i don't have a clue whats happened or why its happened but i keep getting error page at this site [url]www.freefacebookinfo.co.cc[/url] "Internal Server Error The server …

Web Development apache unix
Member Avatar for webmastercook
0
142
Member Avatar for codewalkz

Anyone who knows how to apply this in php scripting? the scripts in this site can be xecuted in mysql console but I can't get it working in php script in the website im studying. I want to create a tree like this: [URL="http://sitepointstatic.com/graphics/sitepoint_numbering.gif"]http://sitepointstatic.com/graphics/sitepoint_numbering.gif[/URL]

Web Development php
Member Avatar for codewalkz
0
451
Member Avatar for zeusofolus

I am wanting to create a drop down menu that displays one value in a database inside the form, but passes another value when the form is submitted. For example I have a table named users with entries: ----------------------------------- ID | UserName ----------------------------------- 1 BobG ----------------------------------- 2 JaneD I want …

Web Development php
Member Avatar for emhmk1
0
93
Member Avatar for xueping

How can we filter categories (checkbox) like this: [url]http://tp.jobscentral.com.sg/pubsearchjobs.php[/url]

Web Development php
Member Avatar for diafol
0
101
Member Avatar for TomMan

I am making a PHP blog library. I am new to web development and only really programme in C++ or Python. So, I have probably done something really stupid, but this code doesn't work: [CODE] <?php class Blog { public $version = 1.0; public $mysql = NULL; public $servername = …

Web Development php web-server
Member Avatar for TomMan
0
226
Member Avatar for tiger86

Is it possible to overwrite internal javascript? I am working for a non profit as an internship and they want to escape a template that almost all of the non profits in that organization have to use, the catch is the template is written in Javascript if it is possible …

Web Development javascript
Member Avatar for sozeran
0
186
Member Avatar for JackSkylar

I keep getting this message Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/content/j/a/c/jackattacksite/html/register.php on line 80 Here's the code: [CODE=php] // Connect to database include_once "scripts/connect_to_mysql.php"; $emailCHecker = mysql_real_escape_string($email1); $usernameChecker = mysql_real_escape_string($username); $emailCHecker = eregi_replace("`", "", $emailCHecker); $usernameChecker = eregi_replace("`", " ", $usernameChecker); // Database …

Web Development mysql php
Member Avatar for ShawnCplus
0
314
Member Avatar for muralibobby2015

hai, i want to select only parent checkbox. then automatically check all child checkboxes. i mean checkall checkboxes at once. using javascript[CODE] <SCRIPT LANGUAGE = "JavaScript"> <!-- function modify_boxes(to_be_checked,total_boxes){ for ( i=0 ; i < total_boxes ; i++ ){ if (to_be_checked){ document.forms[0].chkboxarray[i].checked=true; } else{ document.forms[0].chkboxarray[i].checked=false; } } } --> </SCRIPT> …

Web Development php
Member Avatar for muralibobby2015
0
2K
Member Avatar for pcs123

I wonder if it is possible to send text file which is just at this moment prepared and it would be best if the file coud be send without creating on disc. For example I would like to have on my web [code]<a href="day.php">this day</a>[/code] and when you click on …

Member Avatar for digital-ether
0
1K
Member Avatar for Ana D.

Hi, I have a checkbox list with a list of books. Depending on the user, some of these books were already chosen. Let's suppose that I have a list of the following books: Programming ASP.NET Learning ASP.NET Beginning Web Development ASP.NET for Dummies But the books the user A chose …

Web Development asp.net
Member Avatar for alexymasilamani
0
772
Member Avatar for cguan_77

hi guys, just want to ask if it is possible to check which link on the page receives a focus? For example, i got Links name A1, A2, A3, A4 and A5. How to check which link is currently receiving the focus? is it possible to do? thanks ...

Web Development javascript
Member Avatar for cguan_77
0
308
Member Avatar for gunbuster363

I want to use the function preg_match_all to catch data in a web page ------------------------------------------------------------------------------------------ int preg_match_all ( string $pattern , string $subject , array &$matches [, int $flags [, int $offset ]] ) Searches subject for all matches to the regular expression given in pattern and puts them in …

Web Development php
Member Avatar for pritaeas
0
147
Member Avatar for veledrom

Hi, index.php posts data to process.php I want users to remain in index.php when they summit their form. I have seen this in some websites but don't know hot it done. Can anyone help me? Thanks

Web Development php
Member Avatar for SKANK!!!!!
0
183
Member Avatar for rikb53

i have looked and looked for this and so far all the code i've downloaded simply doesnt work. this code (below) works fine - however it opens up the "save file Dialog" and requires that the user select the path to save the .html file. how can i by-pass that …

Web Development asp.net html-css
Member Avatar for chandru7
0
528
Member Avatar for rukshilag

i have installed drupal in my xampp root. but recently even though my drupal sites work, when i call localhost, unlike other times where "xampp" page shows up to say that apache server is running successfully does not show and the following errors display. Warning: require_once(C:\xampp\htdocs\includes\defines.php) [function.require-once]: failed to open …

Web Development apache file-stream php
Member Avatar for sen2009
0
149
Member Avatar for comp_231

Hi, I have been trying to transfer some data from one page to another but nothing seems to work. Data is not being passed to the next page. Can anyone tell me a reason why this could happen?

Web Development asp.net
Member Avatar for Sals
0
174
Member Avatar for RAMAN2233
Member Avatar for Ramesh S
0
106
Member Avatar for Baradaran

Hi, This is probably a very simple problem, but still it is bugging me for a while. I have tried to google for solutions, but I did not find any. I have a div containing a few text elements like date and description. I want to change the background-color of …

Web Development javascript
Member Avatar for Baradaran
0
251
Member Avatar for Altairzq

I'm showing in a field the name of the file the user has chosen. I would like to show the whole name as the title when passing the mouse over the field, in case the name is too long. I swear this was working, but it's not anymore (I'm testing …

Web Development javascript xml
Member Avatar for Jupiter 2
0
270
Member Avatar for web3

I need to make a map of country Croatia seperated in regions and when you click one region it takes to a site that i made.

Web Development google php
Member Avatar for pritaeas
0
70

The End.