52,566 Archived Topics
Remove Filter ![]() | |
How to move listitems(which are marked) in checkboxlist at run time? Help is appreciated..... Web Development asp.net | |
I keep getting some weird errors in this script: errors: [code] [B]Warning[/B]: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in [B]/home/www/ikhelper.freehostia.com/globinc/loginfunc.php[/B] on line [B]86[/B] [B]Warning[/B]: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in [B]/home/www/ikhelper.freehostia.com/globinc/loginfunc.php[/B] on line [B]87[/B] [B]Warning[/B]: mysql_query(): supplied argument is not a … | |
Here is my code: [CODE] <?php $connection = mysql_connect("myserver.com","myuser","mypassword") or die ("Couldn't connect to server."); $db = mysql_select_db("mydb", $connection) or die ("Couldn't select database."); $search=$_POST['search']; $data = "SELECT firstname, lastname, task FROM inventors WHERE taskdate - curdate() = 1"; $query = mysql_query($data) or die("Couldn't execute query. ". mysql_error()); $data2 = … Web Development php | |
Hi, I have 2 dropdownlists on a page. (DDL1 and DDL2). The DDL1 is populated by values from the database using a table1. DDL2 is dependent on DDL1. As soon as a value is selected in DDL1 I need to populate values in DDL2, though using S table2 which is … Web Development asp | |
Hi, I am creating an ASP.Net application in VS2008. I would like to create a horizontal menu bar at the top. The values of this menu bar should be dynamic. By dynamic i mean that we should be able to add new values or remove the existing values from the … | |
hi.. im retriving some data from a database to a dataset...i want to show the data in a gridview..but my problem is, i want data to be shown in last to first format. i mean, if the dataset contains, A as first record & z as last record, then the … | |
[I m still a newbie in ASP.Net] I want to create an interface with asp.net for an SQL backend. On the interface i want the buttons to be able to execute some stored procedures. Any Ideas? Or code | |
I need help with a java script that increases image size and decreases on mouseover and mouseout for multiple images per page. In an html page. This script that I have tried to modify is for one image. Can anyone help me with this, please. Jerry Here is the html … Web Development html-css image javascript xml | |
hi to all any one pls help me with this id ont know how to edit mynnxx template of joomla. Web Development php | |
Hi All, Im wanting the following script to output to an XML file, but im getting an error on line 18 and i have hit a brick wall. Help would be appreciated. [code] <?php require_once("connect.inc.php"); $db = getConnectionMySql(); $stmt = $db->query("SELECT email, name, lastlogin FROM subscriber"); while ( $obj = … | |
I have an SQL Query question that I'd like help with if possible :) I have two tables "tbl_jobs" and "tbl_jobs_done" Here are the fields for both tables: tbl_jobs -jobs_id -jobs_description -jobs_datestart -jobs_dateend -jobs_datetype -jobs_user -jobs_updateuser tbl_jobs_done -jobs_done_id -jobs_id -jobs_date -jobs_comment -jobs_datedone -jobs_timedone -jobs_user How this works is, I have … | |
i have a form in another form............ <form1> <form2> </for> </form> the form2 is submited automatically, and has only one field of fileupload, and is auto processing file upload with jquery ajax...!! it works fine for me but when i pass the response filename of form2 to form1 <input> field … Web Development javascript-jquery php | |
I wana perform a search on my mysql database.i want to search 4 categories at the same time e.g a person who wants to search for a nike shoe, size no 7, in africa, in kenya. How will i go about dat. Web Development php | |
I have the following code which results in a mysql error. However, when I use this query in PHPMyAdmin it works fine. Can anyone see what is causing the error? [CODE] for($i=0; $i<10; $i++) { $nextDay = $i+1; $startDateTime = date("Y-m-d H:i:s", strtotime("-$i days")); $endDateTime = date("Y-m-d H:i:s", strtotime("-$nextDay days")); … Web Development php | |
I have this table(building_lvl): [icode]lvl | building_id | region_id[/icode] And I want to get the region_id for which building_id=3 has lvl 2 and building_id=2 has lvl 5 [code]SELECT * FROM building_lvl INNER JOIN regions ON regions.region_id = building_lvl.region_id WHERE ((building_lvl.building_id='3') && (building_lvl.lvl > 1)) && ((building_lvl.building_id='2') && (building_lvl.lvl > 4)) … Web Development php | |
how to add online chat for my new website, what i to do, ineed assistance from u ist stage last stage, thank! regards, krishna. Web Development javascript | |
I am checking to see if a value has been entered in a form and then updating only if a value is entered. The problem is I want 0 to be an option that can be entered and php is treating 0 as if it were the same as NULL … Web Development php | |
I am fairly new to image uploaders (worked in animation for a long time). I have an image upload form that works fine. The image uploads and redirects to another PHP page (imageupload_file.php) that confirms the image uploaded and gives you the name of the image and size on the … Web Development file-system image php | |
Hi, Code below returns this. [code] Array ( [0] => 3 [id] => 3 [1] => John [name] => John [2] => Goog [surname] => Goog ) [/code] Everything repeated. Why? Also, I need to serialize. I need it for some other reason. [code] $sql="SELECT * FROM friends WHERE id='3'"; … Web Development php | |
hi, got a new prob, how can i create a php page that automatically refreshes each time i access the page. Web Development php | |
Hi I'm making a login panel which sends data to the same page and I use a class made by me and called 'user' that stored user information and autentification. When I refresh the page I check if any session was created before (it was created at first successfull login … | |
Hi guyz, i'm aiming for a php and My SQL dabase website, can anybody guide me plz? appreciate the help:) | |
hi, i am trying to upload an image with comment......!! mycode is like below...... if($_POST){ getting posted variables for comment mysql_query(adding into database); if(image is posted){now getting image variables mysql_query(inserting into database); } } if works fine for me but problem is that i have two different tables one for … Web Development php | |
Why doesn't this work? I choose English and it doesn't do anything... neither does Norsk work. Anyone help please, thanks. [CODE]<?php //nodag = Norwegian day //endag = English Day // dag = day if(!isset($GET_['ok'])) { //start if ?> <form action="" method="get"> <select name="lan"> <option value="eng">English</option> <option value="no">Norsk</option> </select> <input type="submit" … Web Development php | |
I would like to make some query using the SELECT function. However i wasnt able to get the results i want. My code is as follow: [CODE] $sql = "SELECT * FROM device WHERE ((device_num like '%$val_d%') OR (dib like '%$val_dp%')) ";[/CODE] can i write it in this way? pls … Web Development php | |
i need to print the form in asp.net using vb coding. anyone can help by providing me the code for printing the form, using vb code thanks a lot | |
Why doesnt this code work. I keep getting false even when i type in the correct username and password [code] $user_name = mysql_query("SELECT * FROM users WHERE username = '".$Entered_UserName ."' AND password = '".md5($Entered_PassWord) . "'"); $user_name_password = mysql_fetch_assoc($user_name); if($user_name_password === false) { echo 'false'; } else echo 'true'; … Web Development php | |
I have a webform for users of the site to insert information about theirself and then an image. However I don't want to save the image into the database as it will slow everything down...is there a way to save the image to my hardrive then create a link in … Web Development php | |
I have an HTML form with three dropdown selects: month, day and year. I have four fields in my MySQL table: month, day, year, and date. The 'date' field is supposed to contain the concatenated values of the year, month and day separated by dashes. I write this in my … Web Development php | |
The name of this question is Hello and Thank you in advance for any assistance. [B] System info: [/B] JSF,netbeans6.7 [B] The Purpose of this post is: [/B] My first successful JSF app. If someone wants to check it out. Found at: [url]http://cid-b5cb457363230793.skydrive.live.com/self.aspx/.Public/guessNumber.zip[/url] [B] The functionality of this code is: … Web Development java-jsp | |
pls help me, i am new to asp.net.pls what is the easiest way of starting?i need to design a website using asp.net | |
hi there, im sorry if this has been posted before i have searched through the threads and have not found what i am looking for, however it is entirely possible that i have missed it, i have spent the whole day looking at search results and basically i need some … ![]() | |
Hi, actually i've posted from the wrong thread and i apologize for that. anyway, let me post my problem and it goes like this. we've successfully created drop down menus that is connected to our database. we have 5 fields to display, each field contains different data [(ex. first field … Web Development php | |
I successfully scripted an fetch array while loop on a table called example. What's the name of the function that will return the name of the array that was created by the fetch array while loop? What's the name of the function that will turn the number of rows in … Web Development php | |
Hello again :) I am having a problem where I want to change a particular variable based on what parameters I send to a js function. In the code below, dnum is a number 1-6, and I want the global variable d1keep (or d2keep, d3keep etc.) to equal the dvalue. … Web Development javascript | |
I am trying to search a database using a user defined string from a text box. I am getting an error message with the "objectadaptor.Fill" Here is the code: [code] Imports System.Data.OleDb Imports System.Data Imports System.Data.SqlClient Imports System.Data.SqlTypes Partial Class Search Inherits System.Web.UI.Page Protected Sub Button1_Click(ByVal sender As Object, ByVal … Web Development asp asp.net dataset seo web-server | |
![]() | Hello folks! Is it possible to create directories on my web server based on new database entries? I am implementing a photo gallery and want to have it such that, when a user ADDS a new Gallery, a (sub)directory is created with the name that the user gave the gallery. … Web Development php web-server |
Hi, Could someone assist me with this code. It gives me an error message whenever i press the submit button. It gives me this error message We are very sorry, but there were error(s) found with the form your submitted. These errors appear below. Please go back and fix these … | |
In many of the forums i have observed that , we can re direct the page like thanks for logging in u will be redirected in 5 secs and eventually the 5 secs decreases to 0 and the page gets redirected. In my php code i could redirect the page … Web Development php | |
[CODE]<html> <head> <title>Moultrie Technical College - Worth County Campus</title> <style type="text/css" media="all"> /* Ryan Blalock (ShoppingCart.htm) 10/29/09 */ body { background: transparent url(images/bg.gif) repeat left top; } table { color: white; width: 800px; margin-left: auto; margin-right: auto; font-size: 10pt; font-family: arial,helvetica,sans-serif; background-color: black; } td#header { font-size: 16pt; text-align: center; … Web Development html-css javascript web-design | |
Hello, I'm trying to make a spry menu bar for a website. It looks great in DW CS3, and when I preview it in different browsers, it works. However, once uploaded, when I look on the web, it's displaying in outline form rather than a menu. Why is that and … Web Development javascript | |
Hi All, the following code is giving me the following error and i would appreciate any help in identifying where the error lies Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' in /Applications/MAMP/htdocs/CG0119/index.php on line 6 the code is here, and line 6 is the echo statement [code] … Web Development php | |
I am making a web site and I was wondering how I would redirect the user to a different website if Javascript is not enabled. I can't use <noscript> because It needs to redirect. Could I put a meta tag inside a noscript tag? Thx. Web Development html-css javascript | |
i m searching for it from last two hrs. but didnt find anything useful.. i hope some reply to this topic..!!! i just need a php script to upload excelsheet data into mysql table..!! thanks | |
Hi, i am trying to validate credit card. I want to validate credit card 1> name on card 2> card number 3> card type (visa,mastercard... etc) 4> cvv 5> expiry date I seared on google but most of links gives information to validate card according to number. How to do … Web Development php | |
Please, I need a code that is capable of preventing SEOQuake from loading on my websites, even if a user has installed the plug-in. For example, Google, Yahoo and Bing implements such feature. I just don't want it to load whenever anybody visits my sites. Web Development php | |
Hi, I'm new to this and have a quick question. I have a form called register.html and have javascript to check the form validation [CODE=html] <form <input type="submit" value="Submit" onClick="return formValidate()"> </form> [/CODE] so in register.html when user presses submit the formValidate method (javascript) is run. once it returns true, … Web Development javascript php | |
i live in Vietnam, so My English is so bad, but i hope you know what i mean. I want to setup a server that use : Apache, PHP, and Ms SQL server persional edition 2000. But i only can connect Apache 2.0 and PHP 5.x it run ok But … |
The End.