52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for dnanetwork

i can handle a store procedure which returns one output parameter using ExecuteScalar() but wot if my store procedure returns more than one parameter then how can i handle it. any advice Adapost ?

Web Development asp.net
Member Avatar for dnanetwork
0
91
Member Avatar for Pari13

Hello All, what is code for exceute one aspx page onclick hyperlink without dispaly that page? Basically, I have one page p2.aspx.,which getting querystring parameter from page p1.aspx. When I cliced on hyper link of p1.aspx page .it redirect to the p2.aspx. but i want only that the code on …

Web Development asp.net
Member Avatar for dnanetwork
0
398
Member Avatar for RaulGonzales

How i can Rewrite URL JSP in Apache tomcat same MOD Rewrite in PHP [U][B]EX.[/B][/U] [CODE]test.jsp?id=1 as test/1[/CODE] Thank You.

Web Development apache java-jsp
Member Avatar for RaulGonzales
0
113
Member Avatar for samsons17

Hi.. I'm not sure whats the array_merge doing here in this code? I've read the mysql manual,but i just not sure what it is really means,so hope somebody could clear it out for me. By the way this is the code : [CODE] if (isset($_POST['submit'])) { // Form has been …

Web Development php
Member Avatar for samsons17
0
361
Member Avatar for Monster Killer

What i want may seem simple but i have been at it for hours trying to get it to work and searching the internet for answers. What i have been trying, and failing at doing, is taking X minuets from a time selected from a database (which is in the …

Web Development php
Member Avatar for Monster Killer
0
104
Member Avatar for anant.mgm

Hi ALL, I want to develop mobile application for Symbian60 OS (nokia mobile) in asp.net. Could you please tell me what are the requirment for this. I have VS 2003 , 2005 and 2008 on my machine. Thanks ANANT

Web Development asp asp.net c#
Member Avatar for finito
0
100
Member Avatar for fizanos

I need your help!!!. I need to query a table in my database that has record of goods sold. I want the query to detect a particular product and also calculate the quantity sold. The product are 300 now, but it would increase in the future. Below is a sample …

Web Development mysql php
Member Avatar for rajarajan2017
0
123
Member Avatar for ajwei810192

Hi, I have a line of text here: Directions: Take the #8 from Meadow Park(31), and get off at Kroger East (57). I am trying to get it to match both (31) and (57), which some other context may have different numbers, but there could be either 1 or 2 …

Web Development php regex
Member Avatar for pritaeas
0
70
Member Avatar for laghaterohan

Hello, (C# AND ASP.NET) For a particular employee i have his details stored in the database. These details also contain joining date which is stored in the database in the format yyyy-mm-dd. In the front end i have 3 dropdown lists one for DD another for MM and the third …

Web Development asp.net
Member Avatar for finito
0
293
Member Avatar for samsons17

I just wanna ask whats the difference between trim() and mysql_real_escape_string() functions? because i see this code below : [CODE] $username = trim(mysql_prep($_POST['username'])); $password = trim(mysql_prep($_POST['password'])); [/CODE] and myql_prep is a function being made thats contain this : [CODE] function mysql_prep( $value ) { $magic_quotes_active = get_magic_quotes_gpc(); $new_enough_php = function_exists( …

Web Development mysql php
Member Avatar for samsons17
0
3K
Member Avatar for ldavidner

Hi All, I am looking for advice on approach more so than code. I want to make a page that has a list of products down one side that are clickable. Clicking on a product will populate a couple of detail areas (tables?) beside the list of products. I am …

Web Development php
Member Avatar for json101
0
123
Member Avatar for dbol

Anytime I try to extract the title of an article that has special characters, such as & or ', it's only returning the letters after the special characters. single quotes are displaying as ' (in xml) double quotes are displaying as " (in xml) ampersands are displaying as & (in …

Web Development php xml
Member Avatar for rajarajan2017
0
142
Member Avatar for Chosen13

How would I go about doing that? Here's my script: [code] <?php $q = mysql_query("SELECT * FROM users WHERE online = '1'"); while($array = mysql_fetch_array($q)) { if($array['banned']) { echo "<del><b><a href='User.php?ID=$array[id]'>$array[username]</a></b></del>"; } elseif($array['username'] == "Chosen" || $array['username'] == "CoderRyne") { echo "<b><a href='User.php?ID=$array[id]'><font color='red'>$array[username]</font></a></b>"; } elseif($array['level'] == 9) { echo …

Web Development php
Member Avatar for rajarajan2017
0
118
Member Avatar for griffith

PHP UNIX_TIMESTAMP Help!? How do we make a function where after 5 minutes, there is an update query.

Web Development php unix
Member Avatar for Chosen13
0
77
Member Avatar for it200219

I have PHP code Using .htaccess mod-rewrite for company_name-ID.html TO index.php?id=ID the code gives me filename as index.php what I need is company_name-ID.html The code I am using is [code] $currentFile = $_SERVER['PHP_SELF']; $parts = explode('/', $currentFile); $currentFile = $parts[count($parts) - 1]; [/code] Please help me

Web Development php
Member Avatar for it200219
0
109
Member Avatar for louiscos77

Hy every body, what I am making is some functions for other people to make figures with pixels. So I put two documents: imagepixel.html [CODE=dhtml] <!doctype html> <html> <head> <meta name="author" content="Someone"/> <meta name="description" content="my webpage ..."/> <meta name="keywords" content="my, webpage"/> <title>image by pixel</title> <script language="JavaScript" type="text/javascript" src="imagepixel.js"></script> <script language="JavaScript" …

Member Avatar for louiscos77
0
202
Member Avatar for xylude

I have 2 files: master.php and test.php. master.php has a class in it that I would like to include in test.php. The only problem is that test.php is ignoring the class in master.php. Here is the code: Test.php: [code] include("http://".$_SERVER['HTTP_HOST']."/rebuild/scripts/php/master.php"); $loader = new modLoader(); $module[0] = 'm.class.templating.php'; $module[1] = 'm.class.userInfo.php'; …

Web Development php
Member Avatar for xylude
0
248
Member Avatar for ajwei810192

Hi, I have a code snippet here as in the following: [CODE] if(preg_match("(Mon|Tue|Wed|Thu|Fri)/i", $keywords[$i])) { $day_query ="start_time.day='12345' AND end_time.day='12345'"; } if(preg_match("Sat/i", $keywords[$i])) { $day_query = "start_time.Sat_route != 'NULL' AND end_time.Sat_route != 'NULL'"; } else { echo $keywords[i] . " is not a term that exists in the database. Make sure …

Web Development php
Member Avatar for MVied
0
86
Member Avatar for ms_sws

I have a table that looks like: [CODE] <table id="mytable" border="2" width="640px"> <tr> <td></td> <td><b>Col 1</b></td> <td><b>Col 2</b></td> <td><b>Col 3</b></td> <td><b>Col 4</b></td> <td><b>Col 5</b></td> <td><b>Col 6</b></td> <td><b>Col 7</b></td> </table> [/CODE] and a function to add a row and cells in the row that looks like: [CODE] function addRow() { //add …

Web Development javascript
Member Avatar for ms_sws
0
715
Member Avatar for wafieali

greetings.. i'm newbie on php and mysql.. i need help on how to create search form that return the results related to it? i'm using php mysql.. thus, i need help on how to make each result that'll be as a link to all data in it's row.. thank you!

Web Development mysql php
Member Avatar for wafieali
0
135
Member Avatar for ms_sws

I have built a marquee of images that scrolls inside a cell of a table. The marquee width, of course, is dictated by the width of the cell. But I don't want the number of images that actually scroll inside the marquee to cut off based on the width of …

Web Development image javascript
Member Avatar for ms_sws
0
254
Member Avatar for spacepilot5000

Data entered in textboxes is not getting updated in database. In debug mode I see that textbox1 and textbox2 in ItemUpdating event contain the same values as they had before calling ItemUpdating. Here's my listview control: [CODE]<asp:ListView ID="ListView1" runat="server" onitemediting="ListView1_ItemEditing" onitemupdating="ListView1_ItemUpdating" oniteminserting="ListView1_ItemInserting"> //LayoutTemplate removed <ItemTemplate> <asp:Label ID="Label2" runat="server" Text='<%#Eval("id")%>'></asp:Label> <asp:Label …

Web Development asp.net listview
Member Avatar for pippopboy
0
898
Member Avatar for runjel

i have a problem regarding light box focus.. i have a button that whenever i click the button it will call the light box.. there are 2 function . [CODE] function focus_on_lightbox(seconds) { var seconds_waited seconds_waited = seconds document.getElementById(EducationBox).focus(); seconds_waited += 100; if (document.getElementById(EducationBox) != document.activeElement && seconds_waited < 2000) …

Web Development javascript
Member Avatar for fxm
0
109
Member Avatar for nihao

Hello all: I find that the tag "<error-page>" could not be executed in my struts project. It could not be forwarded to the "error.jsp" when I try to access a not exist page or a wrong url.Why? The web.xml is like this: [code] <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="[URL="http://java.sun.com/xml/ns/j2ee"]http://java.sun.com/xml/ns/j2ee[/URL]" xmlns:xsi="[URL="http://www.w3.org/2001/XMLSchema-instance"]http://www.w3.org/2001/XMLSchema-instance[/URL]" xsi:schemaLocation="[URL="http://java.sun.com/xml/ns/j2ee"]http://java.sun.com/xml/ns/j2ee[/URL] …

Web Development apache java-jsp xml
Member Avatar for lawrence_o
0
182
Member Avatar for niths

hi all, i had a page where there are three text boxes.username,password,allocatedmemory. Now when i placed an invalid number in allocated memory after submit button click it wil display a popup as invalid.so after clicking ok button,i need the value present in allocated memory to be cleared and cursor should …

Web Development php
Member Avatar for Manuz
0
90
Member Avatar for niths

hi all, i am having a doubt.How can i round off 005 to 5 and 000007 to 7 like this if the user enters in textbox. please help me..

Web Development php
Member Avatar for rajarajan2017
0
91
Member Avatar for sugikrish

Hi frnds, I need to select some values in old table and send it into newtable. Here i placed my program. Anybody know say the corrections. <?php mysql_connect("localhost","root",""); mysql_select_db("menus") or die(mysql_error()); $idvalue=$_REQUEST['id']; //$iv=$_REQUEST['z']; $result=mysql_query("select * from smenu where id='$idvalue'"); while($row=mysql_fetch_array($result)) { $projectid=$row['id']; $projectname=$row['main']; $projectcat= $row['itemm']; $scope=$row['descrip']; $location=$row['Category']; $rate=$row['Rate']; } echo …

Web Development php
Member Avatar for sugikrish
0
94
Member Avatar for itee

I have to create a registration form through which data will be entered into two tables one the profile table n other the address table. The problem is that i have to enter the address id of address table simultaneously into the profile table. now i dont know how to …

Web Development asp asp.net
Member Avatar for johnmarshel
0
82
Member Avatar for thebluestar

Here I try to make a dynamic site, means the content only is displayed in a main part of website.Hmm, all related pages are called by the values that are passed by the URL. Here is my source Firstly, from the main.asp page I add page dynamic_site.asp to show other …

Web Development asp
Member Avatar for fashion gilr
0
146
Member Avatar for Jayesh Bhoot

I have to develop a code editor as my internship project. But I could not find a head start in a brief search. Firstly what should I, in your opinion, develop? A desktop code editor or an online code editor? Currently I am inclined for an online code editor. However, …

Web Development javascript
Member Avatar for Jayesh Bhoot
0
236
Member Avatar for mcgarry101

Hi all, Wondering if anyone can help me with this issue. I am using a SqlSiteMapProvider (inherits from SiteMapProvider) to build a menu on my site from an Oracle DB. This menu is built according to the user type, ie, user type A's menu is different from user type B. …

Web Development asp.net oracle visual-studio
Member Avatar for mirib
0
161
Member Avatar for Boskor

I have one problem with php and mysql. I have 3 tables (Users, User_status and Analysis) and want to display users and profit in a php table order by profit. So I wrote this code: [CODE]$tipster = mysql_query("SELECT Analysis.Profit, Users.Username, User_status.id FROM Analysis, Users INNER JOIN User.status ON Users.User_status_name=User_status.user_status WHERE …

Web Development mysql php
Member Avatar for Boskor
0
295
Member Avatar for needanswer

This is first time to do the web program with vwd 2008 express, just tried to practice to add an Insert button on gridview, actually the insert button not working yet. MY QUESTION is when I connected the database with Access USING GRIDVIEW, if the Access table is empty, I …

Web Development asp.net
Member Avatar for needanswer
0
88
Member Avatar for laghaterohan

Hello, I store Date in my database ( in sqlserver 2008 my datatype for this field is Date) however when i display the date in front end (ASP.NET C#) i get Date along with Time 12:00 AM as a default time. I dont want Time to be displayed in my …

Web Development asp.net
Member Avatar for dnanetwork
0
147
Member Avatar for opera

Can I apply JSP and J2ee technology for Social Network developing I am novic in web programming and My thesis title is social networking ! Please reply and advice me how should I do? I have little experiences in J2EE and MySQl looking forward to your reply!! Opera, Mandalay Technological …

Web Development java java-jsp
Member Avatar for s_sridhar
0
100
Member Avatar for balagod

Hai, I am using MySQL table to store session values. i am getting sid as 'deleted' for some sessions in live server . but i am not able to simulate it in development server . what scenario it will occur. sample data. +---------+-------+-------------+ | sid | value | expire_time | …

Web Development mysql php session
Member Avatar for balagod
0
105
Member Avatar for gregoirelegros

Hi I would like to capture data from my friends. I'm going to use a page on my website with a form. I'll send my friends a link to the page such as [url]http://www.mysite.com/surveypage.htm?friend=john[/url]. When the friend hits my page using this url I would like firstly to show a …

Web Development php
Member Avatar for microspective
0
180
Member Avatar for stbtwitter

Hey Everyone, I know how to right a php script to send out an email. But I want to write a script that will send out an email at a certain time, The crux is, I need the email to be sent out even if nobody is accessing the page …

Web Development email php
Member Avatar for stbtwitter
0
147
Member Avatar for UzuNarU

Hi I am trying to write a script that puts a Horizontal Line between MySQL query results but doesn't show up after the last row. eg: First Line ---------------- Second Line ---------------- Third Line I'm using PHP, MySQL and JavaScript AJAX. Don't know if that's relevant for this instance or …

Web Development mysql php
Member Avatar for UzuNarU
0
328
Member Avatar for jhonnatas

hello again!well...I'm developing a Content Management System and I have a form where the user write a text then i'll store this text in my database and i'll write it on a page using the "echo",I store the text with the html tags like: <p> blablabla</p>.but the user doesn't know …

Web Development php
Member Avatar for jhonnatas
0
130
Member Avatar for Th3nutz

I was wondering, is it possible to get specific data from another website ? Let's say i want from page X the content from a div. How can i make write in php a script that automaticaly gets and echo into my site what is inside that div from page …

Web Development php
Member Avatar for JRM
0
143
Member Avatar for Moderns

Hi friends, I have prblem that I need to view tab #2 when loading the index page, here is part of the index, it goes to tab1 as per the javascript function below (.tab_content:first).show, I tried (.tab_content:second).show but it did not work! Also I was unable to activiate first class.. …

Web Development javascript
Member Avatar for Moderns
0
2K
Member Avatar for sanraj25

Hi In my web page i am using tweetmeme button java script code.its working fine.When i was trying to put js code inside ajax content,and click the ajax callback button the entire page shows blank page.I thought the reason for this is java script using window.location.href.But i am not sure …

Web Development javascript
Member Avatar for sanraj25
0
306
Member Avatar for bsewell

Hi everyone, basicly I have a CSV file which uses ^ as a delimiter. I have a textarea which is populated by the contents of the CSV file, and after editing it the user is redirected to the edit page. For some reason, everytime I save the file there is …

Web Development file-system php
Member Avatar for bsewell
0
148
Member Avatar for harry88

Hi, How can i return the server date? using [CODE]<?php $my_t=getdate(date("U")); print("$my_t[weekday], $my_t[month] $my_t[mday], $my_t[year]"); ?>[/CODE] gives me errors :( Thanks in advance, I know it probably has a very easy solution, but I just dont know what as I'm so totally new to php..

Web Development php
Member Avatar for rajarajan2017
0
92
Member Avatar for severman

hi all does anybody here knows a good safe way to work with sql stored function with zend framework? i can do so with prepared statement but i'm sure that there is safer way to do so... i'm using postgreSql but i don't think that there's any different. thanks!

Web Development php postgresql sql
Member Avatar for sourcebits
0
112
Member Avatar for Monster Killer

I am trying to make a function that gets the name of a user from their user id. The function needs to search a database for the matching id. However, when I try the function i get the following error: [B]Warning: mysqli_real_escape_string() expects parameter 1 to be mysqli, null given …

Web Development mysql php
Member Avatar for Monster Killer
0
1K
Member Avatar for umair.sabri

i have a dropdown in one page i want the selected value of drop down in other page as a label lblBranchName.Text=Request.QueryString["cmbDatabase.SelectedItem"]; cmbdatabase is my dropdown and lblbranch is my label in second page how can i do this pls any 1 tell

Web Development asp.net
Member Avatar for dnanetwork
0
75
Member Avatar for cumadhu

Hi All, I need to disable Back button of IE when an welcome.aspx page load into the browser. I dont want the user to click back button after logging in. Is there any code to disable the back button of IE? Please send your suggestions. Thanks and with regards, Madhusudhan.H.K.

Web Development asp.net
Member Avatar for data4use
0
1K
Member Avatar for as005

Sorry I think I posted it on the Wrong Forum, Please Delete this Post... :( [CODE] $result = mysql_query(" SELECT q.*, IF(v.id,1,0) AS voted FROM quotes AS q LEFT JOIN quotes_votes AS v ON q.id = v.qid AND v.ip =".$ip." AND v.date_submit = '".$today."' "); $i=1; $str=''; $script=''; while($row=mysql_fetch_assoc($result)) { …

Web Development mysql php
Member Avatar for urtrivedi
0
207

The End.