52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for JRM

hello, I am S L O W L Y working through learning/writing a JS project. here is the core issue.: [CODE] var pt =<? echo json_encode($prt);?> alert(pt) // for diagnostic purposes [/CODE] json is flattening the PHP array to be used in the script. However, the alert shows me that …

Web Development javascript json
Member Avatar for ShawnCplus
0
188
Member Avatar for ishFady

Hi I have windows XP on my intel pc. I have installed Apache2.2 and it work fine. Then I installed PHP 5.3.1. So do I have this setup in httpd.conf. LoadFile "C:/Program Files/php/php5ts.dll" LoadModule php5_module "C:/Program Files/PHP/php5apache2_2.dll" But I can't start apache with this two entry in httpd.conf When start …

Web Development apache php
Member Avatar for vardsolo
0
143
Member Avatar for mikeSQL

This tutorial shows how to greet your visitors depending on what time of day it is. If it's morning, it greets your visitor with "Good Morning!" If it's afternoon, it greets them with "Good Afternoon!" Magic? Noooo! Just PHP! We will start by looking at the entire script and then …

Web Development php
Member Avatar for LloydFarrell
0
127
Member Avatar for Corpes

Regards, I have a weird problem with a variable in asp.net + C#. Those lines work: [CODE=C#]DataTable customerDT = service.GetCustomerDT(1); dataRow["CustomerName"] = customerDT.Rows[0]["FullName"]; [/CODE] But those lines do not found anything even though the value of the variable is "1" too: [CODE]int customerID = int.Parse(gridViewRowVar.Cells[0].Text.ToString()); DataTable customerDT = service.GetCustomerDT(customerID); dataRow["CustomerName"] …

Web Development asp asp.net c#
Member Avatar for Corpes
0
150
Member Avatar for ultras1

Hello to all. I have application where users are able to login. I use database for users. I want to get real-time currently logged users.For example if there are 5 online users and one of them close web browser, at the same moment online users to be 4. If I …

Web Development asp.net session web-browser
Member Avatar for ultras1
0
93
Member Avatar for dcads

Hi there, I am trying to create a session based on a field from a datareader. the code I have so far is [CODE] string sqlStmt = "Select Member_Username, MemberID from Members where Member_Username='" + UserName.Text + "' and Member_Password='" + PassWord.Text + "'"; SqlConnection sqlConn = new SqlConnection("server=********;"); SqlCommand …

Web Development asp asp.net session
Member Avatar for dcads
0
116
Member Avatar for sam023

anyone can tell how to add mins in php.? i have values in Db in this format 00:10, 4:05 etc i want to add mins...!!! can anyone guide me little bit Thanks

Web Development php
Member Avatar for Froger93
0
106
Member Avatar for kanuri1

hi frnds, i had gota problem, i get the date in mm/dd/yyyy format only........... when iam accessing date from database in dd/mm/yyyy format itg gets error.. the error is as "Arithmetic overflow error converting expression to data type datetime." here my code is given below [code] <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" …

Web Development asp.net vb.net
Member Avatar for Oxiegen
0
283
Member Avatar for sarithak

Hi frnds... i have been completed my project...now, i need to add the LIKE/DISLIKE for each & every article. How can i do that..i think its better to do in AJAX...but i dont know how? plz give me suggestion.... Is there any readymade scripts available on the net...i used only …

Web Development cms php
Member Avatar for hemgoyal_1990
0
188
Member Avatar for Daniel_Crouse

Hey there I was wandering if somebody chould help me becuase I would like to know how to change a forms action when you click on a button ? Or... How to load a new form in the same webpage when you click on a button? I have managed to …

Web Development javascript
Member Avatar for Daniel_Crouse
0
89
Member Avatar for shahid007041

Hello I have a scenario in which i have to allow user to enter time in 12 hours format.eg: 10:20 AM or 10:30 PM. If User Does'nt enter properly then it should raise a error client side. i think it can be done use regular expression validatior. Any idea please …

Web Development asp.net
Member Avatar for vinay kumar rai
0
82
Member Avatar for treyk4

The title is pretty self-explanatory. I'm working on a PHP engine, and I'm trying to implement a SQL query generator. The hardest part of this will be designing the system for using the SELECT command. Are there any practices that I should try to follow when designing this, or any …

Web Development mysql php sql
Member Avatar for digital-ether
0
159
Member Avatar for itisnot_me

ok i have a problem and it does not seem to be the php.ini problem. what would cause my upload script for files to not completely execute and then just show me a blank page. not file uploaded and no record to the DB. i am giving the upload code …

Web Development pdf php
Member Avatar for itisnot_me
0
103
Member Avatar for kanuri1

hi frnds, when iam accessing the date ,,,it willshow both date and aswell as default time. iam only accessing the date,,,,, here my coding is given below........ [code] <asp:GridView ID="GridView1" runat="server" BackColor="White" BorderColor="#CC9966" BorderStyle="None" BorderWidth="1px" CellPadding="4" DataSourceID="SqlDataSource1" Style="z-index: 103; left: 288px; position: absolute; top: 256px" AutoGenerateColumns="False"> <RowStyle BackColor="White" ForeColor="#330099" /> …

Web Development asp.net vb.net
Member Avatar for mail2saion
0
94
Member Avatar for itisnot_me

is it possible to have php code within jquery or do i have to use ajax to grab the values. ex of what i was trying [CODE] function blah() { //Creates the name tag $("#newitem").append("<tr><td><fieldset><legend><select name='produce'><option>--Select--</option><?=produce();?> </select></legend><table width='200'><tr><td>Ammount</td><td>On Hand</td><td>Cost</td></tr><tr id='txtHint'></tr>"); } [/CODE] as you can see that i have a …

Web Development javascript javascript-jquery php
Member Avatar for itisnot_me
0
73
Member Avatar for Carrots

Hi, I have a web site. On index.php I have a HTML link to admin/admincp.php By simply adding a htaccess file to the directory 'admin', will the admin directory and it's contents be fully protected? I only want it to be possible for me to access mysite.com/admin/admincp.php, because I am …

Web Development php
Member Avatar for Carrots
0
143
Member Avatar for fawkman

Hi Guys I am working on a php page that allows the user to upload files to thei proile. I managed to fina an open source upload class. Currently I have the code uploading the file to an images folder on the web server and that file is renamed to …

Web Development open-source php session web-server
Member Avatar for fawkman
0
129
Member Avatar for handyman_uk

Hi everyone i am looking for some help with a little java script i am no programmer so i need alot of help i have a marquee tag on my page that slides in some text from right to left once and the stops and remains on the screen have …

Web Development javascript
Member Avatar for handyman_uk
0
121
Member Avatar for imclumsy

Hi I am new to javascript and I am trying to get rid of an object expected error. Here is the line I'm getting an error at [code] <td></td><td></td><td align="center">To print this quote click <a href="/broker/OfferSummary.asp?QuoteKey=<%=vQuoteKey%>" target="blank" onChange="enablePRINT()" checked = "checked"> HERE.</a></td> [/code] here is the function enablePRINT() [code] function …

Web Development javascript
Member Avatar for imclumsy
0
115
Member Avatar for ceyesuma

The name of this question is jsf_dao_interface Hello and Thank you in advance for any assistance. [B] System info: [/B] netbeans,glassfish,MySQL [B] The Purpose of this post is: [/B] I am trying to learn to use an interface. I was wondering if someone was familiar with using and or had …

Member Avatar for ~s.o.s~
0
139
Member Avatar for amitverma

i am using the following JQuery function to successfully POST data to the user_submit.php file, its just that the php file is unable to receive the data. [CODE] $(function() { $("#submit_js").click(function() { $.post("user_submit.php", { comment: $("#comment").val() }); }); });[/CODE] upon finishing the Firebug consoloe shows this: [CODE]<html> <body> Your vote …

Member Avatar for furutani
0
212
Member Avatar for rutaba

Hi.. How can i apply my master page to all other pages while working on ASP.net using Visual studio 2005? i create master page name master but when i create another page named default.aspx there is no option to add the master page to that page? kindly help me out.. …

Web Development asp.net visual-studio
Member Avatar for giahmed
0
101
Member Avatar for greeeny

Hi i want to have PHP scripting page if SERVER A Goes down this PHP Page check the status & than Redirect user to SERVER B.... thing is that i made IIS 7 Server on my PC & some time i turn off my PC ill upload this PHP page …

Web Development php web-server
Member Avatar for furutani
0
157
Member Avatar for K0ns3rv

Hey guys. I am looking for a way to send a fax message through a local machine via php, is this possible ? I have very little info about the system that requires this so i can't be much more specific. Cheers K0ns3rv

Web Development php
Member Avatar for K0ns3rv
0
114
Member Avatar for maheshks

[B]Hi[/B] can any one suggest me how to data recieve from xml & modification xml file using php .i attached one thumbnail.i want that type of program in php...Don't mis understand wrongly.. Thanks S.mahesh

Web Development php xml
Member Avatar for nileshgr
0
134
Member Avatar for jtok

I am working in VS2008. I use vb.net and asp.net. MS SQL2005 as database server. Occasionally when two sets of data are inserted at nearly the same time, I find that one has "stomped" on the other, over-writing it's data. The inserts are done via a stored proc using SCOPE_IDENTITY() …

Web Development asp asp.net sql visual-basic
Member Avatar for Oxiegen
0
182
Member Avatar for rutaba

hi.. How can i add a database in my website using asp.net. its a student project and i hav to create an online flight reservation system. in which i am using SQL Database? Kindly tell me by some example that how can i add record using some form ? but …

Web Development asp asp.net sql
Member Avatar for Seten
0
109
Member Avatar for veledrom

Hi, I use phpMailer to send authenticated email. The mail i sent goes into bulk or junk folders in yahoo and hotmail. They should go to inbox. How can i solve this problem? Thanks [code] $mail = new PHPMailer(); $mail->IsSMTP(); $mail->Host = "mail.myserver.com"; $mail->SMTPAuth = true; $mail->Username = "username"; $mail->Password …

Web Development php
Member Avatar for rajabhaskar525
0
2K
Member Avatar for veledrom

Hi, Why this code doesn't work? All I want to do is removing all the white spaces. JavaScript [code] function validateForm(){ var postcode1 = (document.form1.textPostcode1.value).replace(/^\s*|\s*$/g, ""); if (postcode1 == "") { alert ("ERROR"); } else { alert ("CORRECT"); } } [/code] HTML [code] <form name="form1" action="save.php" method="POST" onSubmit="return validateForm()"> POSTCODE: …

Web Development javascript
Member Avatar for veledrom
0
76
Member Avatar for forumforme123

Hi All... I am posting here in hopes that someone may be able to help me with this problem. I am writing an application with ExtJS and PHP. Now, I have a form that gets input from the users and one of the input required is a folder path. Just …

Web Development flash php
Member Avatar for diafol
0
84
Member Avatar for GReddy4u

If a mod comes across this thread feel free to delete it, I've re-posted it in the html forum since it has more to do with html, although it does deal with js as well. joshsonunionsquare dot com/index1.php I just added a 3rd button on the main section titled 'Photos' …

Web Development gui javascript
0
80
Member Avatar for TonyG_cyprus

[B]Hi guys[/B] I'm fairly new to php but learning fast. Here's my problem. I have the code below in a website I made for my local pub, it works fine, but is ther a way to dynamically add another row to the table when the number of records displayed is …

Web Development html-css php web-server
Member Avatar for TonyG_cyprus
0
131
Member Avatar for ayesha789

[CODE=php]<strong><p align="center">Air Conditioner Data Update</p></strong><br> <?php $host="localhost"; // Host name $username="root"; // Mysql username $password=""; // Mysql password $db_name="onm"; // Database name $tbl_name="sims_ac"; // Table name // Connect to server and select databse. mysql_connect("$host", "$username", "$password")or die("cannot connect"); mysql_select_db("$db_name")or die("cannot select DB"); $a=$_REQUEST['a']; //Its getting value from previoes page echo …

Web Development php
Member Avatar for hemgoyal_1990
0
218
Member Avatar for algo_man

Hello, I'm using an asp.net [COLOR="Red"][B]Login control [/B][/COLOR]via visual studio 2008 and it is working fine locally. I tried to upload my project files to a web server and trying to login through login control I've been created. I'm facing the following problem: ---------------------------------------------- Server Error in '/test2' Application. -------------------------------------------------------------------------------- …

Web Development asp.net visual-studio web-server
Member Avatar for Ramesh S
0
128
Member Avatar for OmniX

Does anyone know or can direct myself to a php audio character output? For example if i code this and outputs it not only visual but audio also. [code] $abc = "ABC"; echo $abc; // or even $a = "A" $b = "B" echo $A . $B; [/code] You get …

Web Development audio php
Member Avatar for OmniX
0
89
Member Avatar for CyberPirate1

Hello all! I'm trying to make an IRCbot, but I have an issue I just can't seem to get through. [CODE]<?php class irc { // server connect public $host = "irc.freenode.net"; public $port = 6665; public $channel = "#dinksmallwood"; // client-side public $username = "GlennBOT"; public $hostname = "ti0184a340-0784.bb.online.no"; public …

Web Development client-server php
Member Avatar for rbrt13
0
291
Member Avatar for kanuri1

hi frnds i had got a problem, i want to increase the serial number automatically when page is loaded and it will be inserted into the database...... pls reply me answer.... here i use vb.net coding.........

Web Development asp.net vb.net
Member Avatar for Ezzaral
0
137
Member Avatar for fuchsia555

hi is there code to auto reload images if it doesn't loaded at first time in users browser ?

Web Development php
Member Avatar for fuchsia555
0
221
Member Avatar for sanm

Hi I am trying multiple related selects using coldfusion and javascript. I have four dropdown list first one is related to the second one and thrid one is related to the first one. It is working as per expected if i have two drop down lists which are related to …

Web Development coldfusion javascript
0
100
Member Avatar for xylude

I am having trouble getting my if/elses to do what they should. It's probably something dumb that I'm overlooking. Can anyone help? [code] if(isset($_POST['homePageReg_submit'])) { $db = new connectDB(); $db->username = ""; $db->password = ""; $db->hostName = ""; $db->dbName = ""; $db->connect(); $rf_username = $_POST['homePageReg_username']; $rf_email = $_POST['homePageReg_email']; $rf_validateEmail = …

Web Development php
Member Avatar for ShawnCplus
0
85
Member Avatar for BehrouzPc

hi in my project inside Cpanel server PHP MING Extension is ok BUT in Plesk have Problem by GIF and PNG file and this file must be change to dbl to work version of Extension MING in plesk is 0.4.2 i need a script to convert online png/gif file to …

Web Development cpanel php
Member Avatar for RamiroS
0
179
Member Avatar for wonder_gal

Hi, I have 2 drop down lists, in which the selection value of the 1st drop down list will determine the content of the second drop down list. Is that I need to use javascript function to achieve this? If yes, how should I code the javascript and how should …

Web Development asp.net javascript
Member Avatar for giahmed
0
241
Member Avatar for giahmed

Dear all, I am really stuck with inserting record into access database using ASP.net and C#, as in university I am only allowed to use access. I am trying to create new room reservation for meetings its not a hotel room, I have two time slots AM and PM and …

Web Development asp asp.net c#
Member Avatar for giahmed
0
233
Member Avatar for dan_ord

Hi, I would like to add discount to an order, but the tricky bit for me is the following: **Example** 1 photo = £15.00 But for every 3 photos i want to subtract £3 and for every 3 photos after that another £3 off the total order So 3 photos …

Web Development php
Member Avatar for kireol
0
85
Member Avatar for lydia21

hi i want to pass variable from php to javascript.i want to pass my group[name please tell me.the current code is not working [CODE]<? session_start(); require_once('common/dblayer.php'); $db=new dblayer(); $id=$employer_id; $empid=$db->getgroupname($id); $groupname=$empid[0]["group1"]; echo $groupname; ?>[/CODE] javascript code [CODE] //Contents for menu 1 var menu1=new Array() menu1[0]='<a href="employercp.php">Job Portal</a>' menu1[1]='<a href="cggroup.php?id=<? echo …

Web Development javascript php
Member Avatar for mehrab
0
281
Member Avatar for Kligham

Hi, I'm wondering what you all have got out there. I know you have the following: \t => tab \n => new line What do you have more? Anyone got a link to a webpage or a word that I could search for in google to get a list for …

Web Development php
Member Avatar for Kligham
0
114
Member Avatar for ayesha789

This code is not getting values when I press update. Its showing the values from Db in fields. But at the time of update whrere I SET Values it gets null values. I am using name of input as acmake[] and then using for loop but its not working. [CODE=php]<strong>Update …

Web Development php
Member Avatar for cwarn23
0
179
Member Avatar for hubertoe

Hi all, I'm currently stuck with a simple problem, which I cannot seem to get it to work for the past few days. I'm trying to get the CheckBox type from a ControlCollection and it is displayed within a Table However, it don't seem to work regardless of how I …

Web Development asp.net dataset
Member Avatar for Oxiegen
0
208
Member Avatar for Oxiegen

I'm not entirely sure if this thread belongs here, or in "JavaScript / DHTML / AJAX". Anyway. I have a bit of a problem here, hoping that a kind soul might be able to help. On one of the webpages for the site I'm developing I have a bunch of …

Web Development asp.net javascript-jquery
Member Avatar for Oxiegen
0
196
Member Avatar for van_smiles

I need a code for log-in which will be stored as attendance for students... I am a student and i have tried so many codes but it doesn't work... i am using a mysql server for my database is it ok?

Web Development php
Member Avatar for Arianna
0
105

The End.