52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for craign924

hello forum, i work with oscommerce and i have to upgrade from 2.2 to 2.3. since all my tables --products, categories etc. are in 2.2 i thought i would just install 2.3 and then import the 2.2 db and viola!! but it did not, and does not work like that. …

Web Development php
Member Avatar for Stefano Mtangoo
0
91
Member Avatar for Draucia

I just started getting into php recently and I wanted to create a simple login with(out any SQL (haven't learned it yet :$). So Here is my code for login page: [code=php] <form action="index.php" method="post"> Username<input type="text" name="user" /> <br /> Password<input type="password" name="pass" /> <br /> <input type="submit" /> …

Web Development php
Member Avatar for Stefano Mtangoo
0
115
Member Avatar for davy_yg

Hey, out of the following codes: product_edit.php [CODE] <h2><center>Product Preview</center></h2> <p></p> <?php $data = array(); if(!empty($_GET['id'])) { $result = mysql_query("SELECT * FROM produk AS p, kategori AS k WHERE id_produk='".mysql_real_escape_string($_GET['id'])."'AND p.id_kategori = k.id_kategori") or die(mysql_error()); $data = mysql_fetch_array($result); } else { $data['nama_produk'] = ''; $data['nama_kategori'] = ''; $data['harga'] = ''; …

Web Development php
Member Avatar for kevindougans
0
125
Member Avatar for bangla

Hi, below code gives me error in line 8. 1. i had paymentform.php where i entered data. 2. below is paymentinsert.php where i am getting error in line 8. Fatal error: Function name must be a string in /home/content/59/8390659/html/COUPONDISCOUNTS/php/MySQL/paymentinsert.php on line 8 [CODE]<? $username="aaa"; $password="bbb"; $database="aaa"; $amount=$_POST['amount']; $description=$_POST['description']; $sender=$_POST['sender']; $mysql_connect("host",$aaa,$bbb); …

Web Development mysql php
Member Avatar for bangla
0
168
Member Avatar for jakeray

I have been searching for an answer to this for the last two days. I am trying to add a list of manufacturers to an existing form in php. This worked out ok and I got it to work somewhat. Here is the problem when the user makes the selection …

Web Development php
Member Avatar for joehms22
0
267
Member Avatar for ZeroEddy

Hey I have recently started to learn canvas in html5. As of now I can draw all the basic shapes rectangles arcs etc. I am also able to get the mouse coordinates and show them in a text box in the main body of the html. I am just wondering …

Member Avatar for ZeroEddy
0
269
Member Avatar for Violet_82

HI there, I was again watching a jquery/ajax tutorial and in the video [url]http://blog.themeforest.net/tutorials/jquery-for-absolute-beginners-day-10/[/url] they show how to use a [ICODE]return:false;[/ICODE]to determine whether a scrip will execute (javascript on) or will go to a separate page if the javascript is off. Basically I have 2 pages test.htm and new_file.htm. The …

Web Development javascript javascript-jquery
Member Avatar for Violet_82
0
229
Member Avatar for olybobo

dear all I have the following sample code which i am trying to use to connect to sql*plus in visual studio 2010 but i keep getting the error message connection string is not well-formed. see my code below [CODE] protected void Button1_Click(object sender, EventArgs e) { string oradb = "User …

Member Avatar for olybobo
0
718
Member Avatar for Paradox 99

Hi, A bit of searching reveals that a few people have asked this question before, but I can never see the solution revealed. I have a gridview and I've added a column with a template field so that I can put a checkbox control in it. Finding it is no …

Web Development asp.net
Member Avatar for catherine sea
0
208
Member Avatar for 0007sj

hello i am new in asp.net and working on my first project and facing problem on modalpopupextender. My thread- [U] When ever i set the properties of modalpopupextender it goes invisible from my design page. when i debug the project and click on link button it shows nothing .[/U] I …

Web Development asp.net
Member Avatar for jbisono
0
185
Member Avatar for markdean.expres

Guys I am having this error mess. Warning 1 sub 'Page_Load' shadows an overloadable member declared in the base class '_Default'. If you want to overload the base method, this method must be declared 'Overloads'. C:\Desktop\Vb 9.0\experimental_asp\experimental_asp\Default.aspx 6 9 experimental_asp I was just following the tutorial from w3Schools, and I …

Web Development asp.net
Member Avatar for Fortinbra
0
243
Member Avatar for thorin

I am new to JSP and I am not very familiar with what its advantages and disadvantages are. We all know that Java is a big and complicated language, but it's not as web oriented as PHP. I have also heard that it's more expensive to find a server for …

Web Development java-jsp
Member Avatar for peter_budo
0
156
Member Avatar for Buppy

Hi, So, let's say i have a string "--_some_String_123". What is the correct regular expression pattern to remove those "-" and "_" from the beginning of the string? They only need to be removed from the beginning, so after removal the string looks like this - "some_String_123". There can be …

Web Development php
Member Avatar for cwarn23
0
117
Member Avatar for azdonald

I have one html page with a form for searching. The form action posts to a new php page. I get results but when i click next(next page) i get the undefined variable error. i know undefined variable error means i'm using a variable that has not be defined but …

Web Development php
Member Avatar for azdonald
0
287
Member Avatar for xofth

i am runing this script it is fine for one contect but when i try this on 4 recepients it is not working just showing this error.. Fatal error: Maximum execution time of 30 seconds exceeded in D:\Hosting\8011955\html\admin\newsletter.php on line 60 please help me to improve this code.. Thanks i …

Web Development email php
Member Avatar for Stefano Mtangoo
0
147
Member Avatar for apanimesh061

I want know the reason why this code is not running ? My Wampserver IP address is 127.0.0.1:8080 or localhost:8080 ! The username is the default "root", but I changed my password to "abcd" ! [CODE] <?php /** * @author * @copyright 2011 */ $con = mysql_connect('127.0.0.1:8080','root','abcd'); if (!$con) { …

Web Development mysql php
Member Avatar for Stefano Mtangoo
0
708
Member Avatar for Ryujin

Folks, I'm part of a team of advisors at a school. Students go to a central office to physically sign up to see us. The office is far from most of us, so we all need to make a once-daily trip over there to learn who's coming and when. The …

Member Avatar for tjaank
0
439
Member Avatar for saikumars

I want to perform calculation in gridview :NetAmount=(ServiceAmount*Quantity)*Discount I had written code in rowdatabound but it is not working,i amnew to programming help me solve this proble i would appreciate if some one share ther knowledge my Axpx code is: <asp:GridView ID="GridView1" runat="server" Height="156px" Width="618px" AutoGenerateColumns="False" BorderWidth="1px" HorizontalAlign="Justify" onrowdatabound="GridView1_RowDataBound" BackColor="LightGoldenrodYellow" …

Web Development asp.net dataset
Member Avatar for tjaank
0
1K
Member Avatar for Vishwasdeep

I am designing a project in asp.net. I one page i have created a gridview having template field as checkbox. When I select any row in gridview using checkbox,that checked row goes to a new gridview on button click. Now what i want to do is to save that new …

Web Development asp asp.net dataset sql
Member Avatar for tjaank
0
226
Member Avatar for manu555

[CODE]<?php require_once 'library/config.php'; require_once 'library/functions.php'; if(isset($_SESSION['sql_view'])) { $sql_view=$_SESSION['sql_view']; $result = dbQuery($sql_view); extract(dbFetchAssoc($result)); }else { //header('Location: index.php'); } $FileName ="view.doc"; header('Content-Type: application/word; name="word"'); header('Content-Disposition: attachment; filename="' . $FileName . '"'); header('Content-Type: application/word;'); ?> <!--<form id="frmSample" name="frmSample" method="post" action="" enctype="multipart/form-data" onsubmit="return ValidateForm()" >--> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="11%"></td> <td …

Web Development cms pdf php
Member Avatar for jogesh_p
0
166
Member Avatar for blaaam

Hi! I have tryed do it from examples, but without succes. So my problem is - i have form where can change settings, but i have problem i need scripy wich will not insert into database new numbers or laters, but update(change) them. I have found some examples but i …

Web Development mysql php
Member Avatar for cwarn23
0
323
Member Avatar for shujat132

Hello Dear Brothers & Sisters how are you....? Well, i am facing a problem while handling a script and database. actually i am trying to shift some data (user id form database) form one page to another. through $_GET (if you have any other technique also suggest.) and after transfring …

Web Development php
Member Avatar for Metophase
0
221
Member Avatar for twoods99

Im trying to create a php webpages to update information in an access database using a odbc connection the page1 sends the variable to page3 and displays the result page two allows you to pick which row to update then goes to the update page where i want text boxes …

Web Development php
Member Avatar for cwarn23
0
156
Member Avatar for ujjwal uniyal

Hello all!!! My Javascript menu is giving me some problems. whenever i hover the mouse over the menu the dropdown is hiding behind the javascript slideshow. can u plz help me out. Here is the link to the website. [url]http://www.sewaindia.org/[/url]

Web Development javascript
Member Avatar for ujjwal uniyal
0
55
Member Avatar for jfunchio

I have this code that displays a thumbnail strip and then when you mouse over a thumbnail a bigger images shows up over the strip. The problem is it only is working on some of them and only when the mouse is over a certain part of the picture. When …

Web Development display html-css image javascript
Member Avatar for jfunchio
0
171
Member Avatar for montjoile

hi! I need to populate a flex combobox with the result query of a oracle db, using coldfusion. I have this code, but it is not functioning: my flex webpage: [CODE] <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> <mx:Label x="230" y="36" text="Selecionar Consolas"/> <mx:Script> <![CDATA[ import mx.events.*; import mx.collections.*; import mx.rpc.events.ResultEvent; …

Web Development coldfusion oracle
Member Avatar for montjoile
0
237
Member Avatar for govnah

Hi friends, i am trying to create a media gallery which will display images from a folder. I have sorted the images into a separate folders according to years i.e (2011,2010,2009). which i will be using as navigation. so far i've been able to list the folders in the directory …

Web Development image javascript php
Member Avatar for govnah
0
177
Member Avatar for gg3l

Hi, This is a demo of what I'm trying to do: [CODE]<html> <head> <script type="text/javascript"> window.onresize = resize; function resize() { if (document.getElementById('elm1').offsetWidth < 1000) { document.getElementById('elm2').style.width = 1000 } if (document.getElementById('elm1').offsetHeight < 600) { document.getElementById('elm2').style.height = 600 } if (document.getElementById('elm1').offsetWidth > 1000) { document.getElementById('elm2').style.width = "100%" } if (document.getElementById('elm1').offsetHeight …

Web Development html-css javascript
Member Avatar for raphie
0
244
Member Avatar for srinidelite

Hello EveryBody, Today i planned why not myself to do project in php... The idea behind in this is ... to avoid people just like that answering questions in objective type.. like if a person who ans a question who suppose to ans further Q..Who discovered php? a.ramus b.denis c.srini …

Web Development objective-c php
Member Avatar for Stefano Mtangoo
0
241
Member Avatar for tgr0ss83

I have the following PHP code [CODE]<?php // SimpleHTMLDom Library require_once('simple_html_dom.php'); // Source Data $source = 'table-array-data.htm'; // Displays Extra Debug Info $dbg = 1; // Read DOM $html = file_get_html('http://www.ercot.com/content/cdr/html/real_time_system_conditions'); // get the table. Maybe there's just one, in which case just 'table' will do //$table = $html->find('#theTable'); // …

Web Development mysql php
Member Avatar for Stefano Mtangoo
0
300
Member Avatar for Metophase

Hey guys whilst I was trying to solve this issue I came across your thread which I found helpful to an extent, basically I spent hours reading up and realised that the solutions you provided doesn't do what you actually wanted it to do so here I offer my solution. …

Web Development javascript
Member Avatar for Taywin
0
252
Member Avatar for ndeniche

I'm developing a web app in which I have a file upload option. The thing is, my file input is hidden, and instead, a textbox and a button are used, in order to style the input, copy the file input's value and allowing the user write a link address into …

Web Development file-system html-css javascript
Member Avatar for ndeniche
0
336
Member Avatar for Frankey

I am retrieving a string in json format from a php file and assigning it to a var in javascript string = {"name": "piet", "id": "45"} how do i convert this string into a real json object?

Web Development javascript json
Member Avatar for MartinRinehart
0
101
Member Avatar for Revlis

Hi all, So my task was to build basically photo-based department org-charts for a SharePoint 2007 environment. Not sure why I was asked to do this as the last time I web designed was when Netscape 4.0 and IE4 were still duking it out, but whatever. I inserted my images …

Member Avatar for Revlis
0
2K
Member Avatar for AngieS

With the code below I have the plant information printing out first and then all of the availability printing out last. Is there any way I can get both printing together, but not have duplicate pictures and information for the numerous sizes that sometimes list per plant. Ex. Buxus Green …

Web Development mysql php
Member Avatar for diafol
0
208
Member Avatar for prabhjitsw

Hello Everybody ! i have a few questions for u I have already made an appointment booking website on PHP using PHP Designer as editor and on WAMP platform, i run it on localhost. The website consults Database and puts forward the times available and lets users fix appointments and …

Member Avatar for chrishea
0
257
Member Avatar for scamquist

I have an intranet using php 5.3.8 on Server 2003 using IIS 6.0 and SQL 2005. I run a command to call a batch file that starts and stops sql server and then calls a stored procedure to delete records from a table Items and then refreshes the records from …

Web Development mssql php sql
Member Avatar for scamquist
0
216
Member Avatar for manjukakkadath

Im developing a script for dynamically creating html table structure so that from the input that has been given to the function it will fetch the values one by one and will create the structure. My problem is i want to add attributes to the elements created. sample code attached. …

Web Development javascript
Member Avatar for Taywin
0
166
Member Avatar for infernodeep

hi guys , im facing a small problem with javascript,it works fine in FF,but inIE6 & IE7 nothing is happening could anyone solve this problem....plz help me. Here is the HTML code: [CODE]<div id="div1" style="display: visible">Div 1</div> <select> <option onclick="javascript:changeDisplay('div1','block')">visible</option> <option onclick="javascript:changeDisplay('div1','none')">hidden</option> </select> [/CODE] Here is the JavaScript code: [CODE]<script …

Web Development javascript
Member Avatar for papiya
0
809
Member Avatar for Brachamul

Hello world ! First of all, i'd like to say that this is my first page in PHP, so i may have made the most basic of mistakes :) I wrote most of this from a tutorial i found somewhere on the web. I get the following errors : Notice: …

Web Development php
Member Avatar for Brachamul
0
704
Member Avatar for harsha_123

Hi! I'm new to asp.net.So,I created a simple project to connect it to a database to see whether its working fine. My database contains a table with three fields 1.EmpId 2.EmpName 3.EmpPhoto I created database and entered a row by using SQL SERVER MANAGEMENT STUDIO EXPRESS 2005. I used the …

Web Development asp.net image
Member Avatar for nextsolution143
0
257
Member Avatar for morrisproject

I currently have fields on my form which are set up as integers in phpmyadmin. I want to be able to display error messages if any field has been left blank when save is clicked, but at the moment i keep getting column '......' cannot be null. or maybe an …

Web Development php
Member Avatar for morrisproject
0
126
Member Avatar for begueradj

Hello people, I have downloaded a datepicker in order to use it in my script so as to allow people to pick their date of birth. The date picker in question is this one : core.ui.datepicker/ui.datepicker.js It works, but the problem is that it shows only the years that start …

Member Avatar for sudhirmadaan
0
1K
Member Avatar for godfather21

hello guys.i have an issue.i want to show certain tabs based on user level. my user levels are: master admin supervisor gp patient But it an admin might be a gp also.how am i supposed to do that?

Web Development php
Member Avatar for godfather21
0
162
Member Avatar for baig772

i am new to kohana. any body here to help me out?? :(

Web Development php
Member Avatar for baig772
0
93
Member Avatar for cdudefire

My assignment for my programming class is to create a script using JavaScript that asks a user to enter a number in a pop up dialog box on their browser, and then tell them if they entered an odd or an even number. This is what I have come up …

Web Development javascript
Member Avatar for sridhar_sam
0
2K
Member Avatar for IanArcher

Here is the code It's an Open type free use code for convert css to inline style codes by capturing from your own html code or a url and it outputs an html code when finished. Because i need to send webpages in an e-mail. I am brand new to …

Web Development api html-css json open-source php
Member Avatar for pritaeas
0
245
Member Avatar for xofth

having much problem in email. i tried everything..but dont know whats hapening im getting simple plain text email while im sending the html input [CODE] { $from_name= ADMIN_NAME; $from_email=ADMIN_EMAIL; $subject="Simple html email"; $message = '<h1>Hello, World!</h1> </br>'.$_POST['msg']; $headers = "From: $from_name <$from_email>\r\n"; $headers .= "Reply-To: $from_name <$from_email>\r\n"; $headers .= "Return-Path: …

Web Development email html-css php
Member Avatar for cwarn23
0
337
Member Avatar for lps

Good day, I am having problem with the wordpress add_action function. currently, I tried the code provided in wordpress.org forum without success: [CODE] $comment_ID="15"; function echo_comment_id( $comment_ID ) { echo "I just received $comment_ID"; } add_action( 'comment_id_not_found', 'echo_comment_id', 10, 1 ); [/CODE] When I run the code, $comment_ID does not …

Web Development php wordpress
0
103
Member Avatar for 18engineer

[CODE]$ClassName=mysql_real_escape_string($_POST["ClassName"], $con); $query="SELECT ClassID FROM Class WHERE Name='".$ClassName."' "; $q=mysql_query($query,$con);[/CODE] its not working..any help...please............!!!!!!!!!

Web Development php
Member Avatar for Sorcher
0
118

The End.