52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for bmason

This is my first foray into the world of programming. I'm doing a practice project for the consulting firm I work for, and my current objective is to make my submission page textboxes insert the user input into specific tables in my database. Later I'll need to retrieve the data, …

Member Avatar for Momerath
0
123
Member Avatar for brianjoe

Hi all I have made a website for a client, a little like a small forum. There are these inputs when starting a new thread: Headline URL Content In the URL they can type only letters numbers and a "-". So that their threads URL can be like [url]http://www.something.com/show/this-is-my-thread[/url] But …

Web Development php
Member Avatar for MagicMedia
0
147
Member Avatar for chalasesha

hi friends i want to develop a site which uses the google search results and modifies them on some conditions. now i need to know which API to use to get google search response. is there any way to get XML/JSON response from the google for user search. please guide …

Web Development api seo xml
Member Avatar for edith135
0
105
Member Avatar for zeeshan_kust

Hello all, i have two arrays i.e [CODE]$ar1=array("Mobile","shop","software","hardware");[/CODE] and [CODE]$arr2=arry("shop","Mobile","shop","software","shop")[/CODE] i want to compare the elements of arr2 to arr1 i.e [CODE]foreach($arr2 as $val) { if(in_array($val, $arr1)) { //mycode to insert data into mysql table variable++; // here there should be a variable that must be increamented when ever match …

Web Development php
Member Avatar for kekkaishi
0
162
Member Avatar for begueradj

Hi people, I get an error when performing the following request: [CODE] $query=" SELECT * FROM vessel,cargo,customer ORDER BY ladate DESC WHERE vessel.id=cargo.id AND vessel.id=customer.id LIMIT $eu, $limit";[/CODE] it is about the ORDER BY ladate DESC Can you you show me where I should write ORDER BY in the correct …

Web Development php sql
Member Avatar for begueradj
0
115
Member Avatar for lsvife

I am trying to connect myphpadmin.. when i use 'localhost' i can connect easily to myphpadmin but when i replace localhost to my ip address i got an error it says Forbidden You don't have permission to access /phpmyadmin/ on this server. I've already change the privileges but still i …

Web Development php
Member Avatar for lsvife
0
432
Member Avatar for brynFlew

I have some code that adds and removes rows from html tables, the problem is that it does not save the rows if the page is submitted or refreshed. I also cannot see the added attributes in the source(how can i use them)what their ids and names are, so i …

Web Development javascript oracle
Member Avatar for brynFlew
0
105
Member Avatar for yorro

Anyone can tell my why it keeps saving at My Documents? [CODE] $newfile = 'temp.xls'; $wkb->SaveAs($newfile); [/CODE] If I [B]echo[/B] $newfile, it will display 'http://localhost/test/excel/temps.xls' Its suppose to save it at same level right? wrong, it keeps saving at "My Documents" How is that possible? Thanks

Web Development php
Member Avatar for yorro
0
119
Member Avatar for kokfui

hi all, im current doing a assignment, i looking for a solution for my problem, now i have a database to store my item information include item name,id,content,price. actually it is a bidding system, if someone bid on the item, the item id will stored into the buyer informatio, and …

Web Development php
Member Avatar for happytogether
0
124
Member Avatar for rupadiyabipin

I am getting the following error.................. [QUOTE]HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 9 in the generated java file Only a …

Web Development apache http-protocol java-jsp
Member Avatar for javaAddict
0
586
Member Avatar for darshini.dayal

[code] <% if (this._arr_design.Count > 0) { %> <% foreach (Ameronix.Teeone.Models.Design obj_design in this._arr_design) { %> <tr> <td style="width: 254px; height: 27px;"><%= obj_design.name_design.ToString() %> <div class="thumbnails"> <% foreach (System.Collections.Generic.KeyValuePair<int, Ameronix.Teeone.Models.DesignSection> kvp in obj_design.arr_design_section) { %> <div class="thumbnail"><a href="/snapshots/processed/designs/<%= obj_design.id_design %>_<%= kvp.Value.id_design_section %>.jpg" rel="lightbox"><img src="../resources/get_image.aspx?src=/snapshots/processed/designs/<%= obj_design.id_design %>_<%= kvp.Value.id_design_section %>.jpg&width=50&height=50" /></a></div> C# …

0
108
Member Avatar for Weppies

Hi Can anyone help me. I need to display the username in the lable of the masterpage. But I also have to show the logo of the business of the user. How should I do this! Regards Weppies

Web Development asp.net display
Member Avatar for agileswaran
0
813
Member Avatar for Kajeana

Need to find code for one way folder sync. I deliver a flash drive to users with an html front-end, leading them to the pdf file they need. I am creating a web site for the user to go to, click on a button and have them down load updated …

Web Development flash pdf php
Member Avatar for diafol
0
130
Member Avatar for ss90

I wanna showing the user name in every page when they are s successfully login to the page .But dun knoe why it cannot work~~ This is for login page ~~ [CODE]<?php require_once('../../../Connections/admin_db.php'); ?> <?php if (!function_exists("GetSQLValueString")) { function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { if (PHP_VERSION …

Web Development display html-css php session
Member Avatar for ss90
0
180
Member Avatar for pnguin232

Hey there i have some code i need to update multiple records at one time. can i get some help. i have a page that selects what team i want to edit the stats for. then it sends it to another page where i can make changes to the stats. …

Web Development php
Member Avatar for happytogether
0
159
Member Avatar for RobertKramers

Hi there, Im getting the error above, when i run my code. [code] string myCommand = "SELECT * FROM Manager WHERE UserName=" + ID; SqlDataAdapter da = new SqlDataAdapter(myCommand, con); DataSet ds = new DataSet(); try { con.Open(); da.Fill(ds); [B]// <- highlighting this part of the code..[/B] } finally { …

Web Development asp.net dataset
Member Avatar for samuelmac
0
3K
Member Avatar for erum

i have this code in aspx page [CODE] <div id=date_check visible=true runat=server> <strong>Check-In Date</strong> <asp:TextBox ID="txt_checkin" runat="server" onchange="checkdate(this);"></asp:TextBox> <a href="javascript:calendar_window=window.open('calendar.aspx?form1=form1.txt_checkin','calendar_window','width=554,height=488');calendar_window.focus()"> <img alt="" src="images/calendar.png" /> </a> <strong>Check-Out Date</strong> <asp:TextBox ID="txt_checkout" runat="server" onchange="checkdate(this);"></asp:TextBox> <a href="javascript:calendar_window=window.open('calendar.aspx?form1=form1.txt_checkout','calendar_window','width=554,height=488');calendar_window.focus()"> <img alt="" src="images/calendar.png" /> </a> </div>[/CODE] [CODE]<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="calendar.aspx.vb" Inherits="gfln1.calendar_aspx" %> <!DOCTYPE html PUBLIC "-//W3C//DTD …

Web Development javascript
Member Avatar for erum
0
294
Member Avatar for aldm

Hi, I have a problem. I'm working on one project. I want to find file which contains site logo words. Ftp has a tone of files, so I can't search file by file. I guess there is no way to get content of .php file in string? So I can …

Web Development php
Member Avatar for aldm
0
113
Member Avatar for amie900218

hello, need help from you guys. ok, i have create a prompt box that will ask user to enter a password, and this prompt box will take user to secured page. [CODE] <script type="text/javascript"> function show_prompt() { var name=prompt("Please enter your password","Fill Here"); if (name!=null && name!="") { location.href="index.php"; } …

Web Development mysql php
Member Avatar for amie900218
0
131
Member Avatar for anirban1087

Hi, I am working on some php based job. When I am accessing the pages from the same system (localhost) using IE, its work fine. But when I am trying to open the pages from a remote system using IE, the php part is not displaying. But Firefox is giving …

Web Development html-css php xml
Member Avatar for diafol
0
135
Member Avatar for senthamilgsa

I tried to execute a php code using Wamp Server and PHP 5. it didn't work with me properly. When i executed it All times the php code content itself is coming not the things we expect. I tried with NetBeans IDE too. It returned as Connection Failed. How to …

Web Development ide php
Member Avatar for smantscheff
0
189
Member Avatar for branding4you

I have code like this, it shows data when tehre is data but if there is no data i want to say "no records" where am i going wrong? [CODE]<?php require_once('db_conf.php'); $sql = "SELECT * FROM tbl_holidayspecials WHERE fld_country = '$countryname' AND fld_state = '$statename' AND fld_city = '$cityname'"; $result …

Web Development mysql php
Member Avatar for branding4you
0
148
Member Avatar for semth94
Member Avatar for diafol
0
74
Member Avatar for kunal_28parikh

Hi, i am new here and complete amateur to PHP. I get the above error on line 2. but i don't get it? Can someone help please? [CODE] <?php function bp_dtheme_add_custom_header_support() { $get_current_scheme = get_option('dev_buddydaily_custom_style'); if(($get_current_scheme == '') || ($get_current_scheme == 'default.css')) { $headerpath = "%s/library/styles/images/default_header.jpg"; } else{ $headerpath = …

Web Development api php politics
Member Avatar for tiggsy
0
304
Member Avatar for Sorcher

So.. I dont know why i cant find a specific tutorial / tip on this, so i'll ask you guys. I'm trying to get $date to get the current date and insert it as the query executes. [CODE]$result=mysql_query("INSERT INTO articles (`loginid`,`title`,`author`,`body`,`date`,`category`) VALUES ('$loginid','$title','$author','$body','$date','$category')") [/CODE] this is my Database. [CODE]CREATE TABLE …

Web Development mysql php
Member Avatar for tiggsy
0
151
Member Avatar for Sorcher

I am trying to update a mysql entry. Getting this error; [CODE]Insert Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '('loginid='15',title='Test',author='Sorcher',body=' Yeah just testing this aga' at line 1[/CODE] [CODE]if ($_GET['edit']){ $getedit …

Web Development mysql php
Member Avatar for Sorcher
0
93
Member Avatar for vijiraghs

How can I retrieve an entire database in JSP and compare the first record with the first parameter obtained from a HTML form, the second record with the second parameter obtained from the HTML form and so on..?? Here is my code: MS-ACCESS database:- database name: question table name : …

Web Development html-css java-jsp
Member Avatar for vijiraghs
0
111
Member Avatar for RoyalElite96

Hello everyone. I am working on this forum/post/script type thing. What I want to do is convert this example to HTML. [div] [p]Some text[/] [div] Some more text [/] [/] ---> <div> <p>Some text</p> <div> Some more text </div> </div> I don't want to use [/div] or [/p] to keep …

Web Development php regex
Member Avatar for kekkaishi
0
110
Member Avatar for bmason

This is my first foray into the world of programming. I'm doing a practice project for the consulting firm I work for, and my current objective is to make my submission page textboxes insert the user input into specific tables in my database. Later I'll need to retrieve the data, …

Member Avatar for ArtistScope
0
203
Member Avatar for ahsan1

I have used if($_FILES['file']['type']) but it does not upload it. Can anyone help me. I'll be thankful t you.

Web Development php
Member Avatar for RoyalElite96
0
73
Member Avatar for vforchova

Hello everyone, I need help with my javascript code. I'm trying to create a dynamic table with onclick event like this but onclick event seems to do nothing: [CODE] var srcTable = this.iContext.getElementById("tbody"); var tmpRow = null; var tmpCell = null; var i; for(i=0; i<5; i++) { tmpRow = srcTable.insertRow(); …

Web Development javascript
Member Avatar for R0bb0b
0
223
Member Avatar for greeshmapc

Fadein and FadeOut is not supported by IE8. Please let me know any way to fix that.

Web Development java php
Member Avatar for diafol
0
64
Member Avatar for newbie14

Dear All, In my database I store different vehicles. So each vehicle have different setup of the wheels e.g some 2 infront and 4 at the back some 2 infront and 8 at the back etc. So based on this configuration I would like to programmatically show all the wheels …

Web Development php
Member Avatar for diafol
0
92
Member Avatar for xanawa

Hi, I created an image button and i would like to put a bmp image icon i can't figure out how. I putted my icon in the bin and gave the imageURL: Bin\IconRegister.bmp In the interface the picture is shown put when i run the web appliction it does not …

Web Development asp.net image
Member Avatar for xanawa
0
79
Member Avatar for mbarandao

Good day all: Is there a mechanism through which I can have a button on my html form which on click calls a script that converts the form (or the html page) into a pdf file and inserts the file into mysql table with a specified name originating from the …

Web Development html-css mysql pdf php
Member Avatar for chrishea
0
2K
Member Avatar for vforchova

Hello everyone, I need help with my javascript code. I'm trying to create a dynamic table with onclick event like this but onclick event seems to do nothing: [CODE] var srcTable = this.iContext.getElementById("tbody"); var tmpRow = null; var tmpCell = null; var i; for(i=0; i<5; i++) { tmpRow = srcTable.insertRow(); …

Web Development javascript
Member Avatar for R0bb0b
0
1K
Member Avatar for epicrevolt

Alright, so I am creating a website for an upcoming band and they want a website. I was planning on using Wordpress, but ran into problems when trying to display a list of songs. What is the best way to have a page list songs in Wordpress? Do you recommend …

Web Development php wordpress
Member Avatar for Nahiyan
0
183
Member Avatar for Giggaman

I have the login page created that captures the userid & also an edit page that shows all info of a certain table in database. Trying to figure out when a user views the edit page to have it only show the info the user created. Making it only possible …

Web Development php session
Member Avatar for Giggaman
0
290
Member Avatar for arshi9464

i made a jsp page, now i made a LAN named "ar", and connected another computer with "ar" network. Now i want that the client computer i.e. computer 2 should access my jsp page which is arsh.html , how to do this????? My approach: i set my IP as 192.16.1.44 …

Web Development java java-jsp
Member Avatar for arshi9464
0
126
Member Avatar for abhi10kumar

I have two combo boxes, Country and Cities. I user clicks Country Combo box its corresponding value will fetch from DB and fill into its child combo box (also came from DB)

Web Development php
Member Avatar for diafol
0
158
Member Avatar for pavankumarr

Hi, I created a new Virtual Directory in Windows Server 2003 . But when i click Browse I'm getting this error: [B] System.Data.SqlClient.SqlException: Invalid object name 'tempdb.dbo.ASPStateTempApplications'. [/B] Can someone please help me to solve this issue. Regards, Pavan Kumar

Web Development asp.net windows-server
Member Avatar for pavankumarr
0
205
Member Avatar for kudenv

i have a Menu that show or hide than a rolls the mouse pointer into ( mouseover ) and ( mouseout ) an element's space. But whan i fire mouseout an element space to hide menu, the open shave works only if i move mouse pointer an top eletment list …

Web Development javascript
Member Avatar for kudenv
0
143
Member Avatar for Mayank23

how do i acces a persons webcam with php, such as the one from chatroullette

Web Development php webcam
Member Avatar for cuonic
0
147
Member Avatar for Sorcher

It wont work, the script might be messed up, please help / give a hint, i'll rep any help. [CODE]<?php session_start(); error_reporting(E_ALL); //////POST STATEMENTS/////////// $loginid = $_POST['loginid']; $title = $_POST['title']; $author = $_POST['author']; $body = $_POST['body']; $category = $_POST['category']; $dbLink = new mysqli('xxxxx.xxxxxx.com', 'xxxxxxx', 'xxxxxxx', 'xxxxxxx'); if(mysqli_connect_errno()) { die("MySQL connection …

Web Development first-post mysql php
Member Avatar for tomato.pgn
0
135
Member Avatar for Kniggles

Can anyone see why this dos not work please [CODE]<HTML><HEAD><script type="text/javascript"> function x() { <IFRAME( src="inputstringA" name = "bob1" ></IFRAME> ); } </script><TITLE></TITLE><META name=GENERATOR content="MSHTML 8.00.7600.16722"></HEAD><BODY> <INPUT value=www.website2.com name=inputstringA> <INPUT onclick="x()" value=" Press Input A$" type="button" name="loadb"></TD> <IFRAME src="www.website1.com" name = "bob1" ></IFRAME></TD><TD align="center" width="556" vAlign="top" height="23"> ></BODY></HTML>[/CODE]

Web Development display html-css javascript
Member Avatar for Kniggles
0
156
Member Avatar for prakash_05

Guys, right now i am posting xml to a service running on certain port. my sample code is [CODE] Quote: $XPost = fread($handle, filesize($xmlfile)); fclose($handle); $ch = curl_init(); // initialize curl handle curl_setopt($ch, CURLOPT_VERBOSE, 1); // set url to post to curl_setopt($ch, CURLOPT_URL, $URL); // set url to post to …

Web Development php xml
Member Avatar for aafasihah
0
92
Member Avatar for Arsench

Hello world, I need your help/advice, I have a table last_acces where inserting a few data. The table columns are: Id Name Date I want to export this data into excel clicking on the link or button from the page. Anyone could help me on this please? The action will …

Web Development microsoft-office php sql
Member Avatar for rpv_sen
0
159
Member Avatar for ofrou

Hello, I would like help in change a bit the following code. It shows google map, but I would like to show google street view. Can you tell me what I need to do/change? I donĀ“t understand very well code. Thanks in advance. This is the code: [code]<?php // =============================== …

Web Development google google-api php seo
Member Avatar for ofrou
0
225
Member Avatar for raf11

i would like some help with making my search box work on my forum, at the moment when u type anything in it just refreshes the page and the same page is shown. I want it to show the thread if some types in say 'hello' it should show threads …

Web Development php
Member Avatar for raf11
0
128
Member Avatar for kingjes

Hello, I have a form that I need to add the feilds together as a total but it is not working. I have a JS that is doing taking the value from a select box then multiplying by .2 after this is done it is writting the result to another …

Web Development javascript
Member Avatar for kingjes
0
97

The End.