52,566 Archived Topics
Remove Filter ![]() | |
![]() | I'm a noob developer. Trying to develop a simple php-mysql based chat script. I'm stroing all of my chat message's in a table. So to retrive em, im running a mysql query. Here is no problem but im concerned that it may create some performance & speed issues when a … Web Development php |
Hello fellow programmers, I've built an upload script that, as usual, verifies if a file extension is allowed. However, the comparison seems to not be working, as it gives me an unhauthorized file trying to be uploaded (when in fact the file has an authorized extension). If i comment the … Web Development php | |
I have a form with the vendor and product fields, I want that after these two items are completed the price of the product field is automatically filled in accordance with the vendor and product inserted (remembering that there is a price table where you register the product price and … Web Development javascript | |
This is a (very) basic PHP form for use with a database. - Not sure of all the technical stuff I probably should be adding to this post, and I am not sure that it is safe to use either. - Spent hours (literally) looking at ways of securing the … Web Development php | |
Hey folks, Long story short. I've been looking around all day for a script that would detect the height of one div (can't be predefined because of dynamic text content), and set a second div as that same height. I found a few forum topics about scripts I thought could … Web Development javascript | |
i am having some connectivvity issues i am using postgres 9.0 sql db i have installed a dns localhost using the postgres sql driver also i have the jdbc jar files in the lib dir of the tomcat my code is [CODE] <%@ page language="java" import="java.sql.*" %> <% Class.forName("org.postgresql.Driver"); Connection … Web Development java java-jsp postgresql | |
How to send [COLOR="Red"][U]ANY[/U][/COLOR] text via jquery ajax method to php script? When text entered in textarea is html entity, php $_POST[]/$_GET[] sees it as empty string. Here is the code: [CODE=html] <head> <script type="text/javascript" src="/Engine/js/jquery-1.4.4.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $("button").click(function(){ $.ajax({ type: "GET", url: "get.php", data: "ta=" + $("#ta").val(), success: … Web Development html-css javascript javascript-jquery | |
Hi there, This may or may not be a dumb question, but I've never come across it before. Can you point to a javascript 'onsubmit="return validation()"' on a form, but WITHIN PHP tags? Such as the below. [CODE]function validation(){ var reply = document.getElementById('comreply'); var div = document.getElementById('errormsg'); if((reply.value == '') … Web Development php | |
i need a script that data's fetch from mysql and display in text scroller using javascript. i' uses it is a news update. please somebody helpp me. Web Development javascript mysql php ![]() | |
Hello friends,i need your help in PHP.Currently i am doing a module named compare items,in which i have to compare different phones of different brands. Working of this module: firstly user check the associated checkbox of the phone.At a time user can Select 3 phones.A list is maintained which keep … Web Development php ![]() | |
Hi, i am new to this and was wondering the following question 'Is PHP a good way to implement a database driven Web site? Thanks Web Development php ![]() | |
Hi there, Pretty novice to JS, just wondered if anyone could give me a hand please. I have a form that is passed to itself. I was just wondering if there was a way to get this to validate before it passed to itself. I was assuming that as the … Web Development javascript | |
forums, I’m developing a site for some hotels in baltimore. I want to incorporate a booking widget similar to the one on: [url]http://www.dullesairporthotelrooms.com/[/url] Where a user can select 1 of 4 property’s to check for availability. can any1 please help with this? Thank you, -neco Web Development javascript | |
Hi.. I got to query that i want to execute here..It is again like facebook wall system,where the first query is for executing all the "wall post",while the other query is for executing the comment for the post. So basically,i need two query for that,which I've written them down like … Web Development php | |
I can't insert values into a table using a stored procedure because the fields are of data type MONEY. First, is the data type CURRENCY the same as data type MONEY? Right now, I am currently using the integer value of adCurrency for the data type parameter of the createparameter … | |
[CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <script type="text/javascript"> function buttonPress(str) { var str; alert(str); } </script> </head> <?php session_start(); error_reporting(E_ALL ^ E_NOTICE); include "dbconfig.php"; $id=$_SESSION["valid_user"]; ?> <body> <form name="Item Search" method="post" action="search.php"> Item Search:<br> <label> <input name="swords" type="text" … Web Development php | |
I am developing a form(PHP) that will accept some data. The data will be displayed on a web page. However, before it is displayed, a moderator of the site has to grant permission to display the data. The way it works 1) A user logins to the site and enters … Web Development php | |
I have table named 'user' that has 3 fields 'name' ,'id' and 'profile'. table is filled and 'id' field is filled with 1 to 18 (that is 18 rows).when i run this script it shows the result :: 18 17 16 15 14 Pages4) [1] 2 3 4 >> Last … Web Development php | |
I would appreciate any help on the above. All my process and issues is in the attachments. ps: Java 1.6 tomcat 5.0.28 Web Development java-jsp | |
Hello friends,i need your help in PHP.Currently i am doing a module named compare items,in which i have to compare different phones of different brands. Working of this module: firstly user check the associated checkbox of the phone.At a time user can Select 3 phones.A list is maintained which keep … Web Development php | |
Hi .. I'm not so experienced with php .. I'm getting this error on the bolded line .. Can neone help me figure it out .. Regards, Dinesh Ramchandani [CODE] <?php $con = mysql_connect("localhost","username","password"); if (!$con) { die('Could not connect: ' . mysql_error()); } $db_selected = mysql_select_db('lasagnia_user', $con); if (!$db_selected) … | |
Hi, I am new to PHP. I have installed apache, PHP 5.2 and MySql. Plz tell me How I run PHP programs?? Thanks & Regards, Revathi | |
I made a simple application that have a combobox which is loaded with database value and a textfield which should display text related to combo box selection. Name Number number1 1234 number2 2345 number2 5678 number3 2212 So combo box will have values number1, number2, number3. when user selects number1, … Web Development php | |
Hello , I would like to modify this script a bit . It is a video upload script for my site . The php content contains all the neccessary fields and upload via browse files only . I would like to make it another optional such as remote/url upload . … Web Development file-system javascript-jquery php ![]() | |
[B]Hey Iam New Here And Iam Noob In Php I Made A Web Site Directory Script A Form So The User Can Post His Site And E Mail This Site Show Directly I Need To Make This Site Under Moderation First Before It Show In Main Index File I Have … Web Development php | |
hello all i have a jsp page.there is a text box in jsp page.what i want is when i enter a key in text box it accepts it only if it is alphabet otherwise it would give an alert.I want to enable arrow and backspace and delete key.Currently i am … Web Development java-jsp javascript web-browser | |
HI guys , i'm new to this community. plz help :'( i'm doing a project which is called Online Examination.. can i give a variable as value in radio button???? Here is my code [CODE] <% try{ int num; double d=Math.random()*10; PrintWriter oo=response.getWriter(); num=(int)d; Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connection con=DriverManager.getConnection("jdbc:odbc:mno"); Statement stmt=con.createStatement(); ResultSet … Web Development java-jsp | |
Hi All. I want to allow users to select a font using a dropdown box. As every body has different fonts installed, how do I read the available fonts. I know this will be a very long list, but will not be used very often. I will store the selected … Web Development asp | |
This Error keep show up everytime i use insert query code in my php programs 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 '-student(stud-id,stud-fname,stud-mname, stud-lname,stud-gender,stud-status,stud' at line 1 example code: <?php require_once "formvalidator.php"; … | |
I am creating a dynamic web page where uploading images is one of its feature. I have a looping DIV where each DIV has its own images: show sample below... [CODE] <?php while($row=mysql_fetch_assoc($result)){ $id=$row['id']; $path=$row['path']; ... ?> <div class="img-container"> <img src="<?php echo $path; ?>" /> <button onclick="changeMe('<?php echo $id; ?>')">Change … Web Development image javascript | |
When I insert "<b>dog</b>" into database using php, it inserts empty string. WHY??? How to fix it? thnx in advance | |
how can i refresh php page by click button (onclick funtion) in another php file i have 2 file : a.php & b.php so how to refresh page in b.php by click button in a.php hope anyone can help me. Thanks Web Development php ![]() | |
Hi, I am new in PHP world and know some basics. I have a database where date wise entries to be made by users. I would like to get results in month wise total. e.g. I have these columns in the database: fleet_no, fueling_date, quantity, price. Now I want to … | |
[code] cmd=new sqlcommand("insert_student",con) cmd.commandtype=commandType.StoredProcedure Add.Parameters.AddwithValue("@stuid",txtstuid.text) Add.Parameters.AddwithValue("@name",txtname.text) Add.Parameters.AddwithValue("@course",txtcourse.text) con.open() cmd.ExecuteNonQuery() [/code] i want to create method for executing procedure but how it possible... [code] Function ExecuteStoredProc(Proc as String) cmd=new sqlcommand(Proc,con) cmd.commandtype=commandType.StoredProcedure Add.Parameters.AddwithValue(????,?????) con.open() cmd.ExecuteNonQuery() end function [/code] how to call this function can anybody help me......... Web Development asp.net | |
hello! I'm new to the forum. I really need help from all of you. I have a form in an html page "index.html" like below: [CODE]<form action="login.php" method="post">...[/CODE] How can I prevent users from viewing the login.php in the action attribute of the form tag above by just typing its … Web Development php | |
Hi, I have a section, suppose A and it has 3 sub sections B,C and D. I want only A to be displayed in the left panel and on clicking it, B , C and D should appear.B,C and D will have hyperlinks. Any pointers will be very usefull. Thanks Web Development javascript | |
I set my cookie on a previouse page, this page here i call it and set it to a var, then when i echo it it says undefined var. Just curious.. im missing something simple here.. not sure what it is. Cookie is set, i verified that. and if i … Web Development php | |
Hi I just wanted some advice regarding my login script. Example: I have 2 types of user "Student" and "staff" I would like both types of users which are in different tables to log into one login form, at the moment I have 2 separate scripts. The general assumptions apply … Web Development php ![]() | |
[CODE] page = $("<div id="content"><p>aaa</p><p>bbb</p><p>ccc</p></div>").find('p').eq(0); [/CODE] This can echo `<p>aaa</p>` but How to select multi `eq()` in jqeury? if I need `<p>aaa</p><p>bbb</p>` Web Development javascript javascript-jquery | |
ok so what i am trying to do is loop through the POST data to create an array of the data to be used later. this is what i have but when i use is_array it returns not an array. i swear it was working at one point but now … Web Development php | |
Hi Everyone, I got a strange problem with session. Session variables that I define in a page with "www" prefix in the domain name for example http://www.foo.com/page1.php for some reason can't be recognized in page2.php if I remove the "www". But if I use "www" like http://www.foo.com/page2.php, it works just … | |
Hi friends, I need a simple help or query for my search option in my website. I had a table which storing movie information. The rough form of table structure as follows. Movie name | Director | Genre | Producer | Story line | Cast ------------------------------------------------------------------- | | | | … | |
I got a jsp page which forwards request of two textfields txtname and txtpass to a servlet and the servlet then inserts the data into sql db and the name of the db is online_store. The db has two columns. When i checked the values are passing to the servlet … Web Development java-jsp | |
Hi all, I have a three fields, Age, Adults, and Children, I have been able to calculate the age from the Date of Birth input, however, what I seem not to succeed on is to have the text value "[COLOR="Red"]Adult[/COLOR]" automatically entered in to the [Adults] field if the Age … Web Development asp | |
Hi guys, I'm new in php and i'm having a problem. My problem is, how to print and save to database. here is the schema, [CODE] 1 / \ 2 3 /\ /\ 4 5 6 7[/CODE] what is php algorthym for that case?. 1 is sponsor for 2 and … Web Development php | |
Hey guys, I have been asked to write a program in php which is to play hangman but used in messenger chat. We are using imified to create our "bot". The game to me sounds backwards to normal but here is the deign brief. . In your game of hang-man, … | |
Hello, Does anyone know any code or control used to allow clients to manage their own articles/news (text + images) on their asp.net websites? I mean only text and images with exact structure, not modifying the whole layout. Thank you | |
I have search on google about the polling application and i have not yet got the proper solution so that i can understand. Can anyone help me where can i find this which can help me to develop this web app for my company. Thanks |
The End.