52,566 Archived Topics
Remove Filter ![]() | |
I'd like to suppress MySQL errors being printed in the header, so that errors can be passed back into the PHP page... My current code is as follows: [PHP]if ( ! mysql_connect($server, $database_username, $database_password) ) { $error = "There was error when attempting to connect to the specified database server: … | |
I have a textbox where user can enter the date in format of MM/DD/YY, now I want to set a rule only accept the date within one month from current date, how can I do that, anyone help will be appreciated. Web Development php | |
![]() | Ok, I am fairly new to php, so please bear with me if I have done something stupid. I am trying to write a CMS, right now I am writing a piece of code to get the article title from the database. I used [code]<? include('dbconnect.php'); //Get the article title … |
Howdy folks! I'm having a bit of a dilema with a small piece of my coding. I'm working with a database that stores tour/gig dates for a band. The table has fields that include year, month, day, date, venue_name, name_ext, address, and a couple others. The field "venue_name" is the … | |
Hi there, I'm using asp.net (c#) framework version 1.1 and trying to connect to my Oracle database 10G (10.1.0.2.0) which installed on the same server as the IIS and I'm getting the following error: OleDbException (0x80004005): error while trying to retrieve text for error ora 01019 I can connect through … Web Development asp asp.net open-source oracle web-server | |
What i am trying to do is to make a like that sends some info to next page so that PHP could use query for the deta sent. OK here is how the hyper link looks like and i want it to send some variable to next page: [HTML]<a href="index.php" … | |
what i am tring to do it to show a catalog with php and stop php from displaying any data to the cusomer if table does not have any information it. for example i want to use if state ment to stop and skip if data in the database table … | |
I was wondering if someone could point me to some good online tutorials and exercises. I most importantly would like a site with some exercises to help me learn further. I have a book called "JavaScript in 24 hours" and I have to admit, this book is terrible. It teaches … Web Development javascript | |
Here is my [b]Stored Procedure [/b] stored in SQl DB. [code] CREATE PROCEDURE qparmVerifyLogin @First_Name varchar(30), @Last_Name varchar(30), @SSN varchar(9) AS Select First_Name, Last_Name, SSN, ADDRESS1, CITY, STATE, POSTAL, DEPTID, EMPLID FROM PERSONAL_DATA_TBL WHERE First_Name = @First_Name AND Last_Name = @Last_Name AND SSN = @SSN; GO [/code] [b]Below is the … Web Development asp asp.net display open-source sql web-server | |
want to load some external content into a hidden iframe. The hidden iframe will function as a buffer from which i can load the content into a <div>. The reason i am attempting this approach is because the external pages are located on a different domain at my company and … Web Development asp javascript microsoft | |
Dear All, How do i send SMS Message from my asp.net (vb.net or c#) application. can u guide me help, please........... Thanks, Suresh U. | |
allright here is my question!!! if i have a login page with user name and password and i have a situation where in two users are logging in with the same id with a little time gap though (assuming that the other user is still logged in) how will u … Web Development java-jsp | |
Hi When I am trying to connect to mySQL from PHP, I am getting the error "Client does not support authentication protocol requested by server; consider upgrading mySQL client" . I am using PHP 4, mySQL 4.1 and Win XP Pro. The error is occuring both for Apache & IIS. … Web Development apache client-server mysql php windows-server | |
Does anyone know if it is possible to place a .swf within a dhtml dropdown. For instance, On click drop down and externally load an swf within the dropdown. Any feedback would be great. Thanks Web Development flash html-css javascript | |
Hey does anyone know of a way to crop images automatically while still focusing on the subject in the photo? I have a gallery of pictures and I would like to make all the thumbnails square shaped, just thought maybe someone knows if there is such a thing as smart … | |
Hi, I'm new to php, I want to know what's the better time to use POST instead of GET(or GET instead of POST)? what's the advantage to use one rather than other. Thanks. Web Development first-post php ![]() | |
Hi, Perhaps this thread does not bellong in the PHP forum, but since I'm working with PHP/Apache I'll try here first. I have setup subdomains on my site and realized that links are not relative to the wwwroot, but relative to subdomain root, I was wondering if anyone knows of … | |
Hey, im trying to make a PHP Login box for a program that i am making for my A Level project however, im new with PHP so dont really know much about the code :( lol. this is what i have so far <html> <body> <?php $username = "Admin"; $password … Web Development email first-post php | |
I am using javascript to display a dropdown menu on an html page. This menu lists 48 states and is used to calculate shipping costs to each state. I have an onChange() event in the <select> tag that sends the selected state to another function to figure up the shipping … Web Development display javascript | |
I found this book extremely useful in learning and using php, mysql and apache together. it's great | |
Hi , I have a function as : function doCheck(str1,str2) { top.LocalCacheLoadStatus = false; parent.SearchFrame.location.href=str1; g_str_Mode = str2; alert (g_str_Mode); } This has str1 as the name of the jsp file and str2 is the value which i have to pass to the jsp file given in str1.How do i … Web Development javascript | |
I've created an html form that allows the user to login, or register. Here is what I've thought about(just for the registration page, not login): HTML FORM --> servlet ---> servlet calls java class that verifys the data, and shoves it into the database... ----> Makes a few tests --- … Web Development java-jsp | |
hey guys i have a problem :S I'm making a site and now im trying to fix the menu, its a rollover menu and it should drop down...it works perfectly now probs there. but the problem now is that i want the menu in a frame. But then the dropdown … Web Development javascript | |
Hi, This is one of those dumb newbie questions, I'm afraid. I'm trying to learn Servlets/JSP by making a small application that allows you to register yourself as a user. I'm using the latest tomcat version for this, and I'm using a linux environment. For some reason, when I try … Web Development java-jsp | |
Hi all First thing is that i am new to php and i could get stuck on one semicolen. OK here is the code that i have problem with and the problem is that results given to both the query are same for some reason and i cant figure it … Web Development first-post mysql php | |
Hi there, I was trying to get a script working that will fire me an email when my database cannot be connected to. This is what I have and I'm wondering if it looks right to you php experts. :) $conn = mysql_connect ($server,$user,$pass) or die(mail("$SendToEmail", "$yoursubject", $emailtext . mysql_error(), … | |
hi im a newbie in asp.net(learn 2 days ago) n still havent fully grasp the concept of asp.net yet. I ran into some problems here but i dunno what is it. i've tried looking at the other post but could not really find the error in mine .Can you please … Web Development asp asp.net first-post sql | |
I am just looking to tidy the output form echo '<body bgcolor="#FFFFFF" text="#000000"></body>'; echo("Ping Output:<br>"); echo "<pre>"; $i = "11"; //check target IP or domain system("ping -n 1 192.168.2.$i"); echo "</pre>"; I am just looking for somthing like this Reply from 192.168.2.11: bytes=32 time<10ms TTL=128 With nothing else. Web Development php | |
hey I am trying to understand java server faces ... if anyone of you has any sample (may be for the beginners... anything?) application ... can you plz mail to [email]cyber_corleone@hotmail.com[/email] plz also tell mewht I need to do in order to execute the application ... | |
Hi all. I am having a problem I've not encountered before. When using mysql_fetch_assoc() in while(), I am getting the following error: [INDENT][B]Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in archives.php on line 81[/B][/INDENT] However, when taking it out of the while(), it works fine. The … | |
![]() | Hi All, I'm stuck!! I've got a page with 3 dropdowns on it and a submit button to pass the data to a table in a database. The code is as follows: [CODE] Sub Page_Load(sender as Object, e as eventargs) dim objConn as new OleDbConnection ("Provider=Microsoft.Jet.OLEDB.4.0;" & "Data Source=C:\blah\blah\blah.mdb) objConn.Open() … Web Development asp asp.net microsoft open-source |
hi.. I reached to the end of my project..but still struggling with date time issue in JSP... I am using mysql as database... simply to say my question is, how to insert and retrive datetime from database to my JSP page...can anyone put the code for that..i will be the … Web Development java-jsp | |
hey guys, i don't program at all , i just run and maintain the servers,so i really don't know much about php but my manager is trying to create web based bill menu for our company using php. he wants to be able to create a user, without being logged … Web Development php sql web-server | |
Hello, I'm facing a with a real-time app. This real-time app is reading data from the serial port, then, process it. However, it seems to miss some data when the computer has some other apps running. More data are lost when other app do heavier processing. When i try to … Web Development asp.net | |
I'm having a hard time trying to syndicate my blogs. I want to create an RSS feed via PHP. So far, I have it running through all of the entries and spitting out <title> <link> <description> <time>. My problem is with the header. How do you declare those first few … Web Development xml | |
I am fairly new to PHP and MYSQL and was having a few problems getting a database search script to work. The data is input through an HTML form with an input field and drop down box to narrow results. This code will work for searching one table but as … Web Development php | |
Can anyone tell me how or what's the code for the following: 1. I have two frames on my web page. (Top and Bottom) 2. Top Frame is data 3. Bottom Frame are some Controls. (Print button, Back Button, Close Button.) 4. I [B]do not[/B] want to use Java. 5. … | |
I have the following code How do i first edit this to take errors and also to be able to attach files. [PHP] <?php //Gets these from page before $mail_ref = $_GET['mail_ref']; $mail_title = $_GET['mail_title']; $mail_location = $_GET['mail_location']; ?> <title>RFC Job Application</title> <link rel='stylesheet' href='../../rfcStyle.css' type='text/css'> </head> <body bgcolor='#ffffff' leftMargin='0' … Web Development email first-post html-css javascript php | |
[url]http://wsprod.colostate.edu/cwis116/hscouns%5Forder/?clear=yes[/url] This server has MX6.1 and session variable apppack is undefined. The same code works on CF 5 server as in [url]http://admissionsinfo.colostate.edu/hscouns_order/?clear=yes[/url] I have in the application.cfm file <cfapplication name="Highschool Counselor Order" sessionmanagement="Yes" setclientcookies="Yes" sessiontimeout=#createtimespan(0,0,20,0)#> And in contact.cfm have :- <cfif form.submit EQ "Continue"><!--- Only get form vars from last … Web Development coldfusion session | |
I'm currently designing a website in coldfusion and after visiting a few other sites and adding them to my favorites, I noticed that they added an icon next to the page description. I've tried to find this code in several different sites that have this and I can't find it. … Web Development coldfusion | |
i got a page index.php. i got a link over there to download.php. in download.php i'll do some mysql things. (like count file download...) and redirect the browser to some file 123.zip. Wot i really want is. I dont want to go to download.php instead the browser should remain in … Web Development file-system php | |
I am just going to throw this out here and see what responses I get. Is there any tutorials any of our members would like me to post in the .NET Tutorial Section? Login (done) Registration (done) SQL vs Access DB backend (done) I was thinking of possibly a datagrid … Web Development asp.net first-post sql | |
Hi, all! I run in PHP процедуру MSSql-procedure: $Stmt= mssql_init( 'ProcName', $Con ); ... $Result= mssql_execute( $Stmt, true ); if ( !$Result ) { echo mssql_get_last_message(); ... The problem is that if this proc generate an error(for ex breaking the unique index), mssql_get_last_message() gives "The statement has been terminated." but … | |
I need to load a value from a recently posted page... [php]for ($i=0; $i<10; $i++) { $_SESSION['someVar'][$i] = $_POST['someVar'][$i] $_SESSION['anotherVar'][$i] = $_POST['anotherVar'][$i] $_SESSION['yetAnotherVar'][$i] = $_POST['yetAnotherVar'][$i] }[/php] now the session part works just fine, but the $_POST part just blows up on me! How can I fix this? I want to … | |
Hi I have attempted to install Apache/PHP on a new WinXP Home machine. I have it running succesfully on a Win98 machine. Apache works fine. PHP doesn't. I get the following Apache log error when trying [url]http://localhost/phpinfo.php[/url] - File does not exist: c:/webroot/php/php.exe/phpinfo.php. phpinfo.php is in c:/webroot. PHP is installed … | |
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/user/public_html/im2db/image.php on line 14 This is the error I am getting Here is the code: Image.php Am I supposed to add a exit(); after $result = mysql_query ($sql, $conn); line? [PHP]<?php // database connection $conn = mysql_connect("localhost", "user", … Web Development file-stream first-post image mysql php sql | |
http://ww.bestblanks.co.uk/media.php hi im not sure what im doing wrong with this: have a look at the above url: each product name is suppose to open a small window which will go on to display a description of the product: however when you click on title there is an error and … Web Development display html-css image javascript php | |
I am fairly new to cf but felt this wasn't really a "getting started" question. I was thrown into this project with tons of legacy and little doc, so any help would be greatly appreciated. the trouble I am having is getting information from form fields to display in the … Web Development coldfusion display javascript session | |
I have the following code snippet 1) Page1.aspx.cs protected void Page_Load(Object sender, EventArgs e) { if (!Page.IsPostBack) { //other code Session["scdid"] = null; //other code } } //Submit button handler for this page protected void submit_record(object sender, EventArgs e) { //other code string sschd = (string) Session["scdid"]; if (Session["scdid"] != … |
The End.