52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for soft_coder

Hi! I am a .NET developer. I have two consecutive web parts. Each webpart is inside an update panel. So the scenario is like there are two update panels one after the other. The problem I am facing is when one is fired the other is also firing. The code …

Web Development asp.net
Member Avatar for soft_coder
0
111
Member Avatar for didi00

Hi everyone! I want to send cyrillic letters with php, but it is not possible because php doesn't allow it. So, how do I covert the letters so that they could be sent. [CODE] <?php if (comments_open ()) : ?> <div class="comment block" id="respond"> <div class="holder"> <h2><?php comment_form_title('[B]Остави коментар[/B]', 'Leave …

Web Development php
Member Avatar for didi00
0
225
Member Avatar for Joe34

Look at my code... [CODE]<html> <head> <script> var div1 = ""; var div2 = ""; var div3 = ""; var div4 = ""; var div5 = ""; var div6 = ""; var div7 = ""; var div8 = ""; var div9 = ""; function NewDiv(type) { if(div1 == "") { …

Web Development javascript
Member Avatar for hielo
0
159
Member Avatar for carebear23

I am trying to get information from my database that contains a foreign key that relate to another table, I am trying to enter details of an order and then have the customer ID of that order enter automatically from the customer table. [CODE] [B]Customer Table [/B] CREATE TABLE IF …

Web Development javascript mysql php
Member Avatar for markdh
0
113
Member Avatar for Arizona Web

I am looking on [URL=http://hotscripts.com/PHP/Scripts_and_Programs/Content_Management/]hotscripts[/URL] for content management systems, and there are just so many. Many of them are bloated with junk I don't need (but may have use for soemtime down the road if I start building all my sites with this engine). Some are too stipped too - …

Web Development cms
Member Avatar for ckant_kol2006
0
412
Member Avatar for Nybuler

Hello all, i'm building a register page for my forum my problem faced is i can't disable the DAMN Button! while the user input duplicate or wrong format ! Pls help me! T^T [CODE]<?php include 'dbconn.php'; include 'Header.php'; ?> <form name="frmRegisteration" action="Register.php" method="post" onSubmit="return DataValidator()"> <?php $name = $_POST['txtname']; $password …

Web Development gui javascript
Member Avatar for Nybuler
0
147
Member Avatar for dasatti

Hi, I am generating a string from AJAX data which contains forms and submit buttons. I then try to assign this string to a div using innerHTML. This works fine in IE but Firefox strips form tags and every thing in between form tags. How to solve this issue Example …

Web Development html-css javascript web-browser
Member Avatar for Airshow
0
296
Member Avatar for phpDave

Hi! Anyone know of a good tutorial for allowing users to "upload video files". I am familiar with uploading scripts for images but never worked with videos.

Web Development php video
Member Avatar for diafol
0
62
Member Avatar for ctyokley

Hey. I have created a website that uses aspnetdb. Using this, i'm trying to take advantage of the profile table. I have it working and I can pull info from the logged in user and display it on the page, however, when i try and load the info on another …

Web Development asp asp.net
Member Avatar for ctyokley
0
196
Member Avatar for pranalid

I am getting document.getElementById("pr_book") is null error [CODE] <script language="javascript"> google.load("books", "0"); function load_viewport() { var viewportDiv = document.getElementById("viewport"); var identifier = '<?php echo $var ?>'; var viewer = new google.books.DefaultViewer(viewportDiv, {showLinkChrome: false}); viewer.load(identifier,handle_not_found,success); var d = document.getElementById('parent'); d.removeChild(viewportDiv); } function handle_not_found() { document.getElementById("pr_book").style.display = 'none'; } function success() { …

Web Development javascript
Member Avatar for hielo
0
285
Member Avatar for itisnot_me

ok so i am trying to find any href that has a css file in it and append a template directory to the beginning while keeping intact this is what i have to begin with [CODE] preg_replace('/href=(?:")[^A-Za-z0-9].css/', 'href="'.$dir.$template.'/[^A-Za-z0-9].css', $content); [/CODE] i dont think that i am doing this right cause …

Web Development php
Member Avatar for hielo
0
106
Member Avatar for HelenLF

Can anyone suggest a quick to instal datepicker which works in text fields on focus and which displays the date in uk format?

Web Development
Member Avatar for HelenLF
0
128
Member Avatar for ebanbury

Hi Hoping someone has some experience with this. I have an insert record which works perfectly, until I try and encrypt the passwords and set the date to NOW() When I submit the form - the form does not complete successfully, however a record of some kind is inserted into …

Web Development encryption php
Member Avatar for tiggsy
0
125
Member Avatar for Joshua Kidd

Hey Guys, I need some help with Deleting data from a MySQL . Currently I have, Two PHP files. the First is the main page. [CODE]<?php $host=""; $username=""; $password=""; $db_name=""; $tbl_name=""; mysql_connect("$host", "$username", "$password")or die("cannot connect"); mysql_select_db("$db_name")or die("cannot select DB"); $sql="SELECT * FROM $tbl_name"; $result=mysql_query($sql); ?> <p>This Page Refreshes Every …

Web Development mysql php
Member Avatar for karthik_ppts
0
141
Member Avatar for ivan3510

I used [URL="http://www.ibm.com/developerworks/library/os-php-v525/index.html"]this[/URL] page for making upload progress bar. I downloaded it and uploaded it to the server (you can see it [URL="http://latinus.herobo.com/proba/progress.php"]here[/URL]), and I signed up to Google Maps API and I pasted the code, but it doesn't work. It uploads the file, but it doesn't write the upload …

Web Development api google-api javascript php
Member Avatar for ivan3510
0
386
Member Avatar for branding4you

I have dropdown on Enquiry page, some text boxes etc with a capthca below and submit button I used this code for my text boxes [CODE]<input name="fld_name" type="text" id="fld_name" size="40" value="<?php if($_POST['fld_name']) { echo $_POST['fld_name']; } ?>" /> [/CODE] it keeps the data in the textboxes when the user does …

Web Development php
Member Avatar for branding4you
0
353
Member Avatar for doctorphp

Hi everyone. I have made a mailing list script but I want to modify it so that I can post some variables in the message box. I would like something like this. [ATTACH]20604[/ATTACH] To display something like this. [ATTACH]20605[/ATTACH] I have tried putting [CODE]' . $fetch['first'] . '[/CODE] and [CODE]$fetch['first'][/CODE] …

Web Development email html-css php
Member Avatar for doctorphp
0
1K
Member Avatar for hellojohnatan

Hi guys, I would like to have an online user counter on my webpage. However, I don't want my visitors to see how many users that are in my website. I am already using good analytics but it is not giving me real time data. But how can I see …

Web Development php
Member Avatar for minitauros
0
139
Member Avatar for thijscream

hey, i'm trying to make a pdf, but i get the following error: 1temp/KW1.pdfError!! as you can see in the code i echo the $factuurnummer, that's the 1 in the error, then i echo the patth it should go to what is temp/wk1.pdf and then i echo the error. does …

Web Development pdf php
Member Avatar for squinx22
0
163
Member Avatar for Xaibo

Hi guys! I´m really new to PHP, but i'm involved in a small project. But i'm having an issue with the mail form. It was working, but as the user refreshed the page it would send the values of the variables again and again... First i managed to auto refresh …

Web Development php
Member Avatar for squinx22
0
347
Member Avatar for turt2live

Hello, I have a PayPal button that uses a submit button to pay, but I have a small problem with it. The client I'm making this for also wants tracking (Hits). Is it possible to have the submit button also run a javascript before going to paypal? If you need …

Web Development php
Member Avatar for turt2live
0
160
Member Avatar for AndreRet

I have been stuck on this for 2 days now. There were a ton of code available, but not one working solution. Below is my code to send the mail once a user requested a service at an auto repair shop. It updates mysql with all of the data and …

Web Development email php
Member Avatar for AndreRet
0
282
Member Avatar for ROTC89

Hi, i am try to display and insert info on a person into my database but i keep getting this error whenever i enter the info You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use …

Web Development mysql php sql
Member Avatar for vibhaJ
0
204
Member Avatar for LogicWeb

Greetings folks, There seems to be an odd problem with Chrome / Cufon js. Cufon works fine in IE and Firefox, but Chrome is for whatever reason top aligning (vertically) the menu text. Odd enough, when you load the page, it shows you the text align and quickly top aligned …

Member Avatar for LogicWeb
0
434
Member Avatar for bobgodwin

I'm using this code to check if a record exists or not: [CODE] $filename = $_FILES["file"]["name"]; /// FROM FORM $ext = substr($filename, strpos($filename,'.'), strlen($filename)-1); $bull = substr($filename, 0, strpos($filename, '.')); $myQuery = "SELECT * FROM $media WHERE label='$bull' "; $result = $dbh->prepare($myQuery); $result->execute(); $cont = $result->rowCount(); if ($cont == 1) …

Web Development php
Member Avatar for bobgodwin
0
151
Member Avatar for navp

Hey guy, I want to know if there is a way of using PHP in JavaScript. I have no idea how can i get the variables from PHP into JavaScript. I am making a pizza application, the php file is a confirmation page. The user can either go back to …

Web Development javascript php
Member Avatar for navp
0
265
Member Avatar for jimmyo88

I'm about to start an assignment and am just trying to think of the most logical waysd of doing things at the moment. The assignment involves using mysql and php to create a website for a training company. The part i am having trouble conceptualizing is this: "Tutors are created …

Web Development php
Member Avatar for jimmyo88
0
113
Member Avatar for branding4you

I have textarea comming from mysql. In the backend the user tyes a letter type format in a textarea They ise Enter to make new rows etc __________________________________________________ Dear john Welocome to our website hope you find it usefull Thank you The Team ___________________________________________________ When I pull the data from …

Web Development mysql php
Member Avatar for branding4you
0
90
Member Avatar for TechySafi

[CODE]<?xml version='1.0' encoding='UTF-8'?> <response> <status>get_ticket_ok</status> <ticket>bxquuv025arztljze2n438md9zef95e8</ticket> </response>[/CODE] This is all you got! How you will convert it into php array or something?

Web Development php xml
Member Avatar for TechySafi
0
310
Member Avatar for LloydFarrell

Hi everyone, I have been asked to help extract data from a xml file and use the data to input into html form designed in php I have read a few articles but im missing the point some how... On the file that im trying to get the data to …

Web Development file-system finance php session xml
Member Avatar for LloydFarrell
0
609
Member Avatar for ofir0803

Hi [CODE]$asking_price = "20"; $original_value = "100"; $discount = (1-($askingPrice/$original_value))*100; echo $discount;[/CODE] why $discount always equal to 100 ? it supposed to be 80.

Web Development php
Member Avatar for ofir0803
0
134
Member Avatar for Shantanu88d

I have Mozilla Firefox 4.0 Beta 12 I have written a small javascript to detect ' and avoid it from getting typed in textbox. This works in IE but not on mozilla. Any suggestion ??? If that is not possible then any other logic to achieve same results ?? [CODE] …

Web Development javascript
Member Avatar for Shantanu88d
0
247
Member Avatar for anirban1087

Hi, i am working on a billing page. Where the user will add item(s) to a bill, now the number of item(s) in a bill is not pre defined. So i am taking one input at a time, then adding them to a table in the same page. Now when …

Web Development php
Member Avatar for anirban1087
0
134
Member Avatar for qazplm114477

I have spent about a couple of hours trying to read the pcre regex syntax on the php.net manual but I can't for the love of god grasp the concept of it. If anyone can help me it would be greatly appreciated. I'm trying to split some strings into an …

Web Development php regex
Member Avatar for kekkaishi
0
108
Member Avatar for didi00

Hi guys, I'm trying to use an individual CMS. But when I installed it it shows me this notice: NOTICE: UNDEFINED INDEX: _PAGE IN C:\WAMP\WWW\MYCMS.PHP ON LINE 16 The php file is this: [CODE] <?php if ($_SERVER["REQUEST_URI"]) { if (is_array($tmp = explode("?" , $_SERVER["REQUEST_URI"]))) { $tmp = explode("&" , $tmp["0"]); …

Web Development cms php
Member Avatar for didi00
0
204
Member Avatar for Nfurman

Hello again, I have a method: [CODE] public static void GetStudents(DropDownList list, Label lbl) { SqlConnection conn = new SqlConnection(Config.DbConnectionString); SqlCommand cmd = new SqlCommand("GetStudentsToDDL", conn); cmd.CommandType = CommandType.StoredProcedure; SqlDataReader reader; try { conn.Open(); reader = cmd.ExecuteReader(); while (reader.Read()) { ListItem item = new ListItem(); item.Text = reader["StudentName"].ToString() + " …

Web Development asp.net
Member Avatar for Nfurman
0
102
Member Avatar for phpDave

Hello, I wrote a script to send out an email and it works except for the subject line. Not sure why. Anyone know? Is it the "" marks? [CODE] $to = ($_POST['e_mail']); if (!isset($_POST['e_mail'])) $subject = "Registration at MySite.com"; $message = "Welcome to MySite! Your user account has been created. …

Web Development email php
Member Avatar for phpDave
0
93
Member Avatar for Xentiago

Hi, I have been left in the lurch with a few php scripts on my site and I'm the first to admit coding is not my strong point! I have managed to fix most of the issues, but I am stuck on the following. Basically, I want to query the …

Web Development mysql php
Member Avatar for diafol
0
333
Member Avatar for RazorRamon

I'm trying to build a mortgage qualifying script for a company. My php code is working fine .. up until the if else statements. fyi I'm using wamp... heres the code. The code if very raw, i've only been working on it for a day or 2, but I can't …

Web Development mathematics php
Member Avatar for Insensus
0
184
Member Avatar for LWS

Hi, i had upload image to mySQL database... The problem is i unable to open or view the image that uploaded. May i know how display image from database by selectted id ??? the picture below is my "upload" table... Appreciate for you help

Web Development display image php sql
Member Avatar for trueedmar
0
2K
Member Avatar for amirsanaii

Hi every one How are you my friends? I need your help I began to programming ruby for 2 weeks and now i want to work on ruby on rails and of course i need a good DBMS, so i decided to use a SQLServer for my work but with …

Web Development ruby sql
Member Avatar for waysys
0
229
Member Avatar for vishalbhavsar

Hi friends, I am trying to develop a web application in which I have provided a facility for login and logout. I can allow user to log in succesfully, but when user clicks on the logout link and comes to login page and after that if he presses the browser's …

Web Development java-jsp session web-browser
Member Avatar for javaAddict
0
69
Member Avatar for OldDeveloper01

Hey i was wondering if it would be possible to have this as a security measure. I am in the middle of creating an admin page for my website. I want them to register though. However to register, in one of the fields they must provide a secret number which …

Web Development cybersecurity php
Member Avatar for diafol
0
100
Member Avatar for anirban1087

Hi, I have a php page to take user input. My page has 3 sections. [B]Section 1::[/B] I am taking some information from the user. [B]Section 2::[/B] I am again taking some input from the user, and [B]Section 3::[/B] I am displaying the data from section 2, in a table. …

Web Development html-css php qt xml
Member Avatar for anirban1087
0
134
Member Avatar for mossa

I'm construted a php-class where I create and save some elements in an XMLfile. Outside that class I instantiate the class and save it in a _SESSION['obj'] if the session has not been created yet, otherwise I want to get the document back and add new elements to the XMLfile. …

Web Development html-css php session xml
Member Avatar for mossa
0
321
Member Avatar for Nfurman

Hi again, I need an professional advise how to implement dropdownlist in very professional way. So, my code is: [CODE] <asp:DropDownList id="ddlStudents" runat="server" CssClass="textbox" OnSelectedIndexChanged="ddlStudents_SelectedIndexChanged" AutoPostBack="true" EnableViewState="true"> <asp:ListItem Value="0">Choose</asp:ListItem> </asp:DropDownList> [/CODE] The rest of data I get from SQL DB. Is it the right way to populate the default value …

Web Development asp.net
Member Avatar for Nfurman
0
103
Member Avatar for Stefano Mtangoo

Hi, I have Object that performs not only registration/Login but also manages users after the log in. Does it make sense to store object of that class in session or I should only store userID on session and use that to Query DB? My Object will contain user details (Full …

Web Development php session
Member Avatar for Stefano Mtangoo
0
110
Member Avatar for bshyama24@gmail

how to use object tag and embed tag in asp.net?

Web Development asp.net
Member Avatar for shrujan
0
106
Member Avatar for wilch

Hi All I am looking for a new language to learn and add to my language set that already contains PHP & C# in much depth. Ruby is one language i was thinking of learning. Can you guys please give me practical uses and/or applications that use/may use Ruby. I …

Web Development ruby
Member Avatar for snippsat
0
278
Member Avatar for Lioshenka

I have a basic CMS running, the three main files are cpanel.php, where the user clicks the "edit" button, this then opens pageeditor.php page, where the changes can be made to the document within an iframe and then the user clicks "save", the data gets passed to the saver.php saving …

Member Avatar for Akash Saikia
0
166

The End.