52,566 Archived Topics
Remove Filter ![]() | |
Hi!This is my 1st thread. I wanted to ask that I have a common table for clients.If client is given quotation, hes status is 1, if given invoice, hes status is 2 and so on. If i want to display only the clients who have received the invoice, I fire … | |
I git this warning>> [CODE]Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\Program Files (x86)\EasyPHP 2.0b1\www\HotelCalifornia\sites\reserve_room.php on line 85 Unknown column '' in 'where clause[/CODE] This is my code>> [CODE] <?php $user=$_GET['username']; $Custno=$_GET['Custno']; $RoomNo=$_GET['RoomNo']; $username="jasmine"; $password="price"; $db=mysql_connect("localhost" , $username, $password); mysql_select_db("hotel_cali", $db); $sql="SELECT Email FROM customer … | |
I'm using jCarousel to create this multi-row slideshow and..well... It doesn't work. I really don't know why, and this is very urgent. I have less than an hour to finish it. Please, please help me. main page: [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" xml:lang="en-us"> <head> … Web Development html-css javascript javascript-jquery php xml | |
hi. I want to add a google map(with street view) in my site. I use this code. when I clicked the point on the map, it can change the street view to this part and show the click point information. But how to add a Red balloons marker in the … Web Development api javascript seo | |
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 'reasons = '', birthplace = '' dob_month = 'January', dob_day = '' at line 8 Hello aLL I am developing an online registration form that … | |
I want to create login form here is the code // login.html <html> <head> <title>Login</title> </head> <form name="Login" method="post" action="loginbackend.php"> Username : <input name="txtUname" type="text" id="Uname"><br /> Password : <input name="txtUpass" type="password" id="Upass"><br /> <input type="submit" name="Submit" value="Login"> </form> </html> // loginbackend.php <?php ob_start(); $dbhost = 'localhost'; $dbuser = 'root'; … Web Development php | |
see the link [url]http://www.thesmartcodes.com/a-simpl...-from-asp-net/[/url] can any one see this and see if it is working if i specify (for example my gmail address and password ,username) in the variable mentioned over there ?? and lastly called sendMail function just | |
hi, i have a inputbox that have a hour in this format: 12:00:00 what i want to do is change the hour,secunds,minuts by pressing only the keys up and down. i have seen some web forms that do that but i canĀ“t figure out how do that. any one know … Web Development php | |
what is the trick, when a user go to an external link of my page an alert, or confirm box appear, or run some other code? Web Development javascript ![]() | |
hello there :) this is my first time to join a forum. i just want to ask how can i make a window (actually like a pop screen for "help") in PHP. by the way i am using code igniter. thanks :) Web Development php | |
hello people . i am writing a login system for administers , so i made the login page with this code : [CODE] <?php ##################################################### # created by : Awah Mohammed # # date : 23/12/2010 at 23:15 pm # # haha , i like writing such stuff in my … | |
This should be an easy one but I am missing something and have been working on this for two days now. I am trying to insert a date/time in a short date format (date/time mm/dd/yyyy) into an access database and I get the "Data type mismatch in criteria expression" every … Web Development asp.net microsoft-access open-source session | |
Hi, I am having an issue saving images to a MYSQL database as a BLOB, I have been for a few days now, I have used several different tutorials and even though the code works with no errors returned, nothing actually get put in my database. Here is my form … Web Development file-system image mysql php | |
Hi I am pretty new to all this so bear with me. I have created some forms on dreamweaver which I want to populate mysql database when completed. I have created a table using phpmyAdmin through godaddy. I have created a record set which links to each form field. I … | |
The background to this is that I have two server-side scripts: * upload.cgi: accepts a file upload * monitor.cgi: reports the size of the file upload as the file upload progresses. There is a form handler: onSubmit="doProgress();" for the upload form that points to upload.cgi. This does the asynchronous thing … Web Development javascript web-browser | |
Hello every one! I'm developing one simple site, and I need to make an "archive" script. My MySQL Table looks like: [CODE] | id | title | content | is_deleted | pub_date | [/CODE] *pub_date is in PHP time() format. Example: 1258150430 So, what I want to make is an … | |
Hi, I have a php page called: radio_page.php, it contains two radio buttons. First radio button is checked as default when loading the page. I need when clicking on second radio button to refresh the page and keep selection on second radio button, I am trying that as below, but … Web Development javascript | |
can any plzzzzzzzzz help me out !!!!!!!1111 i need to add print button in my page that will print the hole page with imags and txt everything. but the code should be simple plzzzzzzzzzzzz help meeee Web Development javascript php printer | |
Hi Friends well i m developing an application into asp.net database is access now i want to show a particular record into 1 textbox names txtbox1 here is code plz give me code that i can show record into textbox [code] Imports System.Data.OleDb Partial Class Default123 Inherits System.Web.UI.Page Protected Sub … Web Development asp asp.net display microsoft-access open-source | |
Hello everyone. I am pretty new to oop, so this might be a simple question. I need to get data from my database and I need it in several different places on my site. So I decided to create a class to get the data instead of writing it over … | |
whats worng in this code??????? it give this errroe Parse error: syntax error, unexpected T_VARIABLE in D:\xampp\htdocs\soomrof\a_task_2_1.php on line 8 [code] <? include("connection.php"); mysql_query("update doctor_schedule_information set monday='"$_POST['m']"',tuesday='" $_POST['t']"',wednesday='"$_POST['w']"',thursday='" $_POST['th']"',friday='" $_POST['f']"',saturday='" $_POST['st']"',sunday='"$_POST['su']"' where doctor_ID='"$_POST['d_id']"'")or die(mysql_error()); header("location:admin.php"); ?> [/code] Web Development php | |
CAN can someoneone assist me...can you send an email using xampp when you dont have an email server install on your PC. ls it possible? Web Development php | |
Hi, I have a submit button in my JSP page. I also have drop down menus and text area in my form. Now my condition is like if drop down values or text area are null in this case if a user wants to submit he should get an alert … Web Development java-jsp ![]() | |
i want to add (+)to add more than textfield for phone [CODE]<form method="post" action="" enctype="multipart/form-data"> <table width="800" border="0" dir="rtl" style="direction:ltr;"> <tr> <td scope="col" style="direction:rtl;"><label for="textfield">name</label> <div align="right"> <input type="text" name="person_name" id="person_name"/> </div></td> </tr> <tr> <td style="direction:rtl;"><label for="textfield">job</label> <div align="right"> <input type="text" name="person_job" id="person_job" /> </div></td> </tr> <tr> <td style="direction:rtl;"><label for="label">mobile</label> … Web Development javascript | |
type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 34 in the jsp file: /job_link_insert.jsp Syntax error, insert "AssignmentOperator Expression" to complete Assignment <%@ page import="java.sql.*"%> <% … | |
Hi Im new to this forum and new to php and currently working on a php for dummies book for my project I need to by March. I show you the problems [CODE]<?php /* Program name: displayForm * Descrption: Script displays a form that asks for * the customer phone … | |
php url and pagination i have a problem in my code, when i click on page number the page is opening correctly but there are only 6 pages but there is no 7th page but when i am replacing the page number in the url to '7' the page is … ![]() | |
Hi, I'm trying to fix something on my site so that a user can only kill when a certain rank. I currently have this code [CODE]if ($rank < "Boss, Supreme Boss, Kingpin, Don, Godfather"){ echo "You have to be ranked atleast Boss to kill"; } [/CODE] It does return the … Web Development php | |
asp:button onclick event is not working... why is it so??? Web Development asp | |
Hi There I've been hammering my head with this for quite a while, and every solution I've tried didn't work, so I was wandering if you could help me with this. I've got a small div that is displayed for each record existing in the database, in order that, later, … Web Development javascript javascript-jquery mysql php | |
i need to Build a form textarea where someone enters a list of books (comma seperated). Use explode to populate an array of the book titles. Loop through and show the book titles on new lines. any help will be gladly appriacated ! Web Development php | |
I want to scan a document from my web application using javascript. How can I do this. Web Development asp.net javascript | |
[B][I][COLOR="Red"]HI friends, I am using report viewer in my Asp.Net application. In the report viewer loaded, i got export,refresh,paging,search options .But print option is not showed in the report. I set "showPrintButton="True"".And Install ActiveX control also.But again i couldn't get the print icon. I am asking so many forums. But … | |
Hi! I use a paginate feature on my website, it works great on the front page, but when I use it in the comment section I get this: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/content/56/6296656/html/comments.php on line 77 code: [CODE] $query = "SELECT where … | |
I am having troubles finding out how to make my url from [url]http://example.com/index.php?page=images[/url] to [url]http://example.com/images[/url]. None of the htaccess tutorials i read today could make me understand it. I would give you a big wet kiss if you could lead me / give me a snippet or your awesomeness so … | |
I have been hunting the internet for a good explanation, but I can't seem to find one; or I'm simply not getting it... I have a page with a table, where new rows can be added via AJAX. Each row has an input box which can be updated in one … Web Development javascript | |
I have installed Wampp Server. Now what I want is, if I open [url]http://localhost.com/run.php[/url] it opens Notepad I tried, all these three .. none of them executed notepad. [CODE]<?php exec("notepad.exe"); ?> <?php shell_exec("notepad.exe"); ?> <?php system("notepad.exe"); ?>[/CODE] What is the solution? Please help! Web Development php | |
My file layout is as follows: Index.php: (URL = domain/index.php) [code] <?php session_start(); ?> <!-- BUNCH OF HTML --> <?php if($_GET['page'] == 'portfolio') include('pages/portfolio.php'); ?> <!-- BUNCH OF HTML --> [/code] Portfolio.php: (URL = domain/index.php?page=portfolio) [code] session_start(); if($_GET['view'] == 0){ // URL would be domain/index.php?page=portfolio&view=0 $_SESSION['catImages'] = array(); $_SESSION['catImages'][0] = … | |
Im not even sure if these are called variables. But I am trying to call information from the database a different way than I usually do. This is what is not working: [CODE]$id = mysql_real_escape_string($_GET['id'], $con); /* once the file is imported, the variables set above will become available to … ![]() | |
Hi All: I have 2 php files feeding one MySql record. I have an INSERT query in file1.php working fine, it then sends me to a highly animated form file2.php that calls a processor.php file. The processor.php file needs to update the mySql record. I have [U]tested[/U] the processor file … | |
Hi there, I am trying to have a PHP variable in my link, so that my final link would look like: example.com/eformat/[B]variable-goes-here[/B].rtf I've managed to get example.com/variable-goes-here but no more than that. I really don't know PHP very well, so help would be greatly appreciated. Please excuse my beginner level. … Web Development php | |
Hello I am a asp newbie trying to send an notification email and update an access database at the same time. My database is being updated but the email portion is not working- the email portion is in php- Can I call it from my asp page and if so … | |
1. i cant login my login page while i use the encrypted password using md5(). 2. session is not working in my pages. 3. logout button is not working. Main_Login.php --------------- <!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" /> <meta http-equiv="Expires" content="Wed, … | |
Hey guys, I need to be able to get a certain value out of the following. [code] Job# : 442254 Contact : TO BE ADVISED Model : BZ500 50GN02630 Purchase Order/Your Reference : Contract Type: C3 CopyPlan - Contract Minimum Job Type: H Audit, Admin, Housekeeping Fault/Problem(s) reported: CHECK SENTINEL … | |
Problem when i am using $webRoot / $srvRoot as a value for a variable or in defining a constant Code & problem is below: [CODE]<?php ini_set('display_errors', 'On'); error_reporting(E_ALL); $thisFile = str_replace('\','/', __FILE__); $docRoot = $_SERVER['DOCUMENT_ROOT']; $webRoot = str_replace(array($docRoot, 'testing.php'), '', $thisFile); $srvRoot = str_replace('testing.php', '', $thisFile); define('WEB_ROOT', $webRoot); //error on this line … Web Development php | |
Hi guys, Alright, I think it takes a guru to solve this, visited every single tutorial and htaccess generator out there... I'm trying to use mod_rewrite to get pretty urls. As long as I pass just 1 variable, it's cool, but when I try to pass 2 variables,like this [url]www.example.com/firstone/second[/url] … Web Development php | |
I want to scrap data from a site. I have successfully scrapped the data on 1st page, but the data id divided into some 10 to 12 pages. How do i scrap data of other pages. The other pages have the same address as the 1st one. I guess it … | |
Hello sir, I am using this code to solve canonical issue but when i type [url]http://vegascasino21.com/[/url] it redirects to [url]http://www.vegascasino21.com/index.aspx[/url] . but i don't want index.aspx with it. Please suggest me something so that i get desired result. [code] void Application_BeginRequest(object sendr, EventArgs e) { if (HttpContext.Current.Request.Url.ToString().ToLower().Contains("http://vegascasino21.com/")) { HttpContext.Current.Response.Status = … Web Development asp.net |
The End.