52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for hmkk

hello, i am new to php and i am problem whie installing classifieds my database is hitech_classifieds and username is hitech_admin Please tell me how should i write that info in the following code so the errror doesn;t come <?php $haserrors=FALSE; function print_sql_error(){ global $haserrors; $haserrors=TRUE; print('<font color="#FF0000">' . mysql_error() …

Web Development mysql php web-design
Member Avatar for darkagn
0
302
Member Avatar for JBridges

This seems like the most basic issue in PHP, but I can't figure out the best way to do this. In short, I am working on upgrading an existing site and instead of Dreamweaver's clunky template function, am switching to PHP includes for various constant parts of the site (header, …

Web Development php
Member Avatar for codejoust
0
109
Member Avatar for Pleasant Day

Sometimes I see great javascripts on the net, but the size is wrong for the space on my web page, either the javascript is too small or too big, it would be great if I could re scale it so that it would fit in the space I have available. …

Web Development javascript
Member Avatar for codejoust
0
206
Member Avatar for jonow

I want to integrate the Google Picasa web album into my website. I am currently trying to do it through an iframe which is failing because I want to cut off certain parts of the frame like the top which also cuts off the scrolling bar. So if anybody knows …

Web Development flash google javascript
Member Avatar for jonow
0
141
Member Avatar for NguyenThai

Hello everyone. I get problem with the login control and login view during working with my ASP.Net project. I'm using VS 2008, C# language, AJAX Control Toolkit. I built the master page, and I want the login control is always available everywhere in my website, but I cannot find how …

Web Development asp.net
Member Avatar for NguyenThai
0
211
Member Avatar for osirion666

Okay very odd Error i created and admin page in jsp with add update and delete functions the add and update work perfect on both IE and FF however delete works 100% in ff and not IE when i refresh in FF the record is removed while IE seems to …

Web Development java-jsp
Member Avatar for osirion666
0
77
Member Avatar for osirion666

Okay so i have a delete button in my application and want to replace the button with an image i have tried using img type however when i click this the getparameter function - i need this to run jsp code sql delete query- it doesnt work - the button …

Web Development image java-jsp
Member Avatar for osirion666
0
72
Member Avatar for newcook88

how do i add two columns in a gridview and put the total in the third column example exam1 exam2 total 66 20 86 how to i create the colum to genrate the total aftrer doing the query in sql

Web Development asp.net
Member Avatar for newcook88
0
111
Member Avatar for mwouters

Hello, I found a lot of so called ajax (jquery) solutions to protect mailto's, but i found them still quite tricky. They used [mailto]test[at]domain[dot]com and then jquery to convert it to mailto:test@domain.com. But i don't think it's that safe. Now, what i want to do is to call a javascript …

Web Development javascript javascript-jquery
Member Avatar for codejoust
0
121
Member Avatar for osirion666

Okay so i am having a major problem i am using an image button to delete a recrod from a DB when i use FF it deletes perfectly runs are you sure you want to delete JS and if clicked okay deltes the record In IE 7 however this is …

Web Development image java-jsp
Member Avatar for osirion666
0
90
Member Avatar for shadwickman

Hello, I am currently trying to figure out some event stuff with Javascript. I have the page capturing all [I]onkeypress[/I] events by calling my function [I]keyPress[/I], and passing the event as an argument. The key presses get passed to a text field that I have on the page (even if …

Web Development javascript
Member Avatar for codejoust
0
167
Member Avatar for sarithak

Hi frnds... I am doing poll in AJAX..this is first time i am using AJAX.. The below code is working fine in mozilla, chrome...but not working in IE....plz check the below code...and change the code as correctly..i think problem in object creation in IE.. [CODE] <script> //VOTE POLL ------------------------------------- function …

Web Development php xml
Member Avatar for diafol
0
101
Member Avatar for mstrlouis

My code is a php search function which is supposed to search from two tables in my database and displays matching results from the two tables in a line after line format. It is supposed to match the two tables with a common key field. However, the primary table has …

Web Development php seo
0
183
Member Avatar for momo_rose

i need login code in my project. in my project two different category of user one is administrator and other is data operator. both have to redirect different page after login. my problem is that how to login the both user on different page .

Web Development asp asp.net c#
Member Avatar for Mongz
0
88
Member Avatar for Mujahid158

I'm running a PTC website. I want to show the last member registered on my website. I tried the following query but nothing is shown on the page; [CODE] <? $mem = mysql_query("SELECT username FROM tb_users ORDER BY id DESC LIMIT 1"); ?> New Member: <? echo $mem; ?> [/CODE]

Web Development php
Member Avatar for Mujahid158
0
81
Member Avatar for empoor

Hey. I've got this code, [CODE] // query article $query1 = "SELECT * FROM (articles LEFT JOIN authorisation ON articles.page_id = authorisation.page_id LEFT JOIN authors ON articles.author_id = authors.author_id) WHERE articles.page_id NOT IN (authorisation.page_id) ORDER BY issue ASC"; $mysql_result1 = mysql_query ($query1) or die ("Query '$query1' failed with error message: …

Web Development mysql php
Member Avatar for empoor
0
150
Member Avatar for no1uknow

I have several fields being updated for a parking structure... The client inputs the number of cars and can immediately see the percentage before updating the database.... The field names always change so I need the JavaScript to be able to pick up the unique field names calculate and place …

Web Development javascript
Member Avatar for accountholder
0
145
Member Avatar for wandor

When I fill my Contact Form 1) select option TITLE (MR. MRS. MISS) 2)First Name 3)Last Name 4) E-mail I make validation to all data, The question is when I select title e.g. MR and then fill first name, last name AND e-mail IS NOT right (info2company.com) validation said *Email …

Web Development php regex session
Member Avatar for cwarn23
0
2K
Member Avatar for beershits

I'm trying to setup a simple php code that will read .txt files. I want the links to change $x to the desired .txt file, then print the results below the navigation. The code works if i predefine $x, but i want to make it where clicking the links defines …

Web Development php
Member Avatar for almostbob
0
73
Member Avatar for praveen_dusari

hi all, i am generting a report where i need to display the monthly wise reports iam not able to display correctly [code=php] <?php ob_start(); include_once('login_check.php'); include_once('functions.php'); $mon=date("m"); $year=date("y"); $num = cal_days_in_month(CAL_GREGORIAN, $mon, $year); ?> <html> <head> <title>..</title> <META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW"> <link rel="stylesheet" type="text/css" href="../styles.css"> <style type="text/css"> <!-- body …

Web Development html-css php
Member Avatar for praveen_dusari
0
150
Member Avatar for Terry56

Hi to all, hope you all will be fine, I use a script to detect IE and Mozilla but the problem is when i run it in the firefox it won't work then i find out the name of navigator and it shows Netscape. How i detect Mozilla here is …

Web Development javascript
Member Avatar for Terry56
0
235
Member Avatar for severman

hi all i have a very urgent question i want to write a function that i can use what i want to do is something like that: [code] <?php $a=_GET["a"]; function radom() { $x=rand(0,4); echo "&b=$x"; } if($a==1) {random(); } [/code] the problem is that it doesnt work... i'm getting …

Web Development actionscript flash php
Member Avatar for codejoust
0
90
Member Avatar for becraig

I am a php noob and I have tried a few things and nothing so far has worked. I need to find some php code that allows me to do an http post and return the results into an array so I can parse the results for a string. The …

Web Development first-post php session
Member Avatar for becraig
0
133
Member Avatar for andydeans

Hi, Could anyone point me to some good tutorials on using PHP with Dreamweaver? Also any other helpful forums? Many thanks Andy

Web Development php
Member Avatar for andydeans
0
196
Member Avatar for InsaneVr6

I am creating a blog and wanted to be able to have the posts show up on the homepage (which I have coded flawlessly), but I want them to be posted to another page at the same time and ad a "read more" link where they can see the full …

Web Development php wordpress
Member Avatar for InsaneVr6
0
126
Member Avatar for brando|away

I'm uploading an image, and i need to store it with the rest of the requested content by the server. so right now im using [code] streamreader getimg = new streamreader(imagepath); string image = getimg.readtoend(); getimg.close(); string DataToBeUploaded = "requested content..." + image + "more requested content"; [/code] Everything is …

Web Development asp.net image
Member Avatar for brando|away
0
113
Member Avatar for justted

Hello, I have been trying to find a way to load my page in the following way and wondered if there is a solution using PHP/AJAX,etc? I have a webpage that has an iframe. This iframe contains alot (100 plus) small images and takes forever to load on a 56k …

Web Development php
Member Avatar for almostbob
0
125
Member Avatar for shockeye

I have an anchor with a class name. When I click the anchor I want the class to change. When I click it again, I want it to change back. Simple, but I don't know JS. Thanks

Web Development javascript
Member Avatar for codejoust
0
247
Member Avatar for Weesh

hi, I am currently using an IFrame (in my jsp) to bring up a third party web content(ex.a payment page from [url]www.hsbc.com)[/url]. i want the external site to handle all the user actions (within the iframe). In this case I am unable to capture the errors or exception that the …

Web Development javascript
Member Avatar for codejoust
0
171
Member Avatar for lastleave

Hi experts I have three tables Section: sectionid (int), title (varchar) Category: catid (int), title (varchar), sectionid (int) Content: id (int), title (varchar), body (varchar), sectionid (int), catid (int), published (bit) I build a formview for adding, updating and deleting a Content in the EditItemTemplate I replaced the section and …

Web Development asp.net web-server
Member Avatar for kvprajapati
0
158
Member Avatar for TechExpressInc

Objective is to redirect the website user based on the location. If the user is at the office at a specified ip address, when an icon is clicked they will have access to the employee area. If the user is not at the specified ip address they will get a …

Web Development php
Member Avatar for cwarn23
0
174
Member Avatar for ishlux

Hi all, i am trying to install xamp on my pc which is Xp. but its showing setupXamp.bat is not found how to proceed , thanks ishlux

Web Development php
Member Avatar for cwarn23
0
91
Member Avatar for Baddesley

Hi everyone, hope someone can help. I'm very much a beginner in Javascript and 'ok' in html but just cannot get a new (picture) window to open in Firefox without the title and address bars (or anything else, just the image). IE shows just the title bar, with or without …

Web Development javascript
Member Avatar for Baddesley
0
1K
Member Avatar for mrcniceguy

I never worked with video at all. Just asking how is it possible to enable members in my site to upload videos. I have seen in some site example Tagged.com,there videos got Youtube player)))how is possible to play tube videos in my website. Its a Social Network web

Web Development php video
Member Avatar for mrcniceguy
0
187
Member Avatar for severman

hi all im writing a flash game, which the "brains" is in php and the client is on flash. i've written the board in flash and now i have a 9 same movie clip in flash. this movie clip has 4 frames in it and they all sits on the …

Web Development flash php
Member Avatar for mazeroth
0
140
Member Avatar for Capra

Hi, I am trying to setup a tomcat server in eclipse galileo java ee to test a simple JSP page. I have problem, but no solution to it. So, if i want to see [url]http://localhost:8080/Project/WEB-INF/Hello.jsp[/url], it gives me error page HTTP Status 404 - /Project/WEB-INF/Hello.jsp I have tried to change …

Web Development ide java-jsp web-server
Member Avatar for peter_budo
0
376
Member Avatar for MARKAND911

Is there any control to change the image automatically which is stored in database. if so then send me reply. Please its urgent.

Web Development asp.net
Member Avatar for sknake
0
126
Member Avatar for sssss01

how to store image in a folder and database using php and mysql and how to retrieve that image.

Web Development image mysql php
Member Avatar for Graphix
0
298
Member Avatar for timon_zed

Hello people, I want to find exactly how I would upload an image to a database from a JSP web form.The form would have to support other formats as well such as text and should cater for the image upload as well.

Web Development image java-jsp
Member Avatar for peter_budo
0
994
Member Avatar for Haimanti

Hi, i'm making a regitration form. In that i need to validate the email taken from user. for thgat i've written a class in .cs file [code] public bool ValidateEmailAddress(String txt) { // Confirm there is text in the control. bool abc = false; if (txt.Trim().Length != 0) { // …

Web Development asp asp.net
Member Avatar for sknake
0
127
Member Avatar for Haimanti

Hi, In the registration form am abt to make, i want the system to generate the password for the user. The simple way to enter the data to the backend is : [code] SqlCommand cmd_insertuserDetail = new SqlCommand ("Insert into fwm_user (last_name, first_name, birth_date, address, city, postal_code, country, email, password, …

Web Development asp.net
Member Avatar for sknake
0
129
Member Avatar for push

hi pls...any one replay me i wanted to update status of shoping cart item(status using dropdownlist for selecting option). And this value should depend on selected checkbox value. That is i wanted to select required item and for that item status should be updated by passing this itemid and status …

Web Development java-jsp
Member Avatar for javaAddict
0
475
Member Avatar for sbanik

hello, i have visual studio 2005 installed in my computer and i am using oracle as server. i am not able to write the connection string in the web.config. from control panel-> add administrative tool->data odbc->system dsn i have added a dsn 'data'. database name is employee please help me. …

Member Avatar for Ramesh S
0
92
Member Avatar for hbmarar

Hi , I have a scenario where I have to fetch the dates in 1/1/1900 format and insert it to a new database as 1900-01-01. The issue i face is my date before 1970 gets reset to 01-01-1970. I tried as strftime("%Y-%m-%d", strtotime(''1-1-1900)). I also tried with mktime but same. …

Web Development php ubuntu
Member Avatar for cwarn23
0
1K
Member Avatar for Techwriter10

You have to give Sony credit, they are really trying new strategies to wrestle eBook marketshare from the Amazon Kindle. This month [URL="http://news.sel.sony.com/en/press_room/consumer/computer_peripheral/e_book/release/41492.html"]they announced several new editions [/URL]of the Sony Reader, including the brand new Reader Daily Edition, which should be in stores in time for the holiday shopping season. …

Web Development adobe coldfusion pdf
0
766
Member Avatar for EddieC

Research released this week by Evans Data showed that 73 percent of the market currently use or plan to adopt the [url=http://en.wikipedia.org/wiki/Spring_framework]Spring application framework for Java[/url] within the next two years. More remarkable is that 83 percent of companies with 500 or more developers use Spring, according to the study[/url]. …

Web Development java ruby spring-framework
Member Avatar for ~s.o.s~
0
669
Member Avatar for Lisa Hoover

Good IT management doesn't take place in a vacuum. If you're going to make the right decisions and lead people in ways that will make them want to follow, you need an arsenal of information. Of course, overworked CIOs and IT managers don't have time to sift through hundreds of …

Web Development iphone storage xml
0
399
Member Avatar for Techwriter10

Last week [URL="http://www.adobe.com"]Adobe[/URL] surprised a few people—well, at least it surprised me--with the announcement that it was including [URL="http://www.alfresco.com/"]Alfresco[/URL] content management services as part of its LiveCycle Enterprise Suite Update 1 package. The surprise was two-fold, that Adobe felt it was necessary to add content management services at all and …

Web Development adobe coldfusion open-source
0
258
Member Avatar for EddieC

If you’re a Ruby or Python developer building AJAX applications, you’ve got to learn JavaScript. Even if you’re converting Ruby code to client-side JavaScript with a tool like [URL= http://www.scribd.com/doc/220397/RJShow-it-works] RJS[/URL], it can still be helpful to know the AJAX component for adding features and debugging. Now Microsoft is promoting …

Web Development javascript microsoft python ruby
Member Avatar for lkcl
0
342
Member Avatar for stevenpetersen

1. Copy the coding into the HEAD of your HTML document 2. Add the last code into the BODY of your HTML document --> <!-- STEP ONE: Paste this code into the HEAD of your HTML document --> [ICODE]<HEAD> <SCRIPT LANGUAGE="JavaScript"> <!-- Begin function ViewImage(ifile,ix,iy,ititle) { var win; var sWidth; …

Web Development javascript
0
198

The End.