52,566 Archived Topics
Remove Filter ![]() | |
Hi, I am using image upload for REGISTRATION page. I am able to upload images and also database works. My problem is that i get the "Undefined index: emp_image in C:\wamp\" when the image upload page is loading itself. This error is for about 10 lines when i open the … Web Development file-system image php | |
Hi, is more than a week that i try to resolve this error on my app but i can't... The problem is the following : I have a menu and submenu table and i show this records in this mageMenu.chstml (list of menus and submenus to generate the menubar of … Web Development assembly linked-list | |
Hello everyone, I use the example from [Google](https://developers.google.com/maps/articles/phpsqlajax_v3) Now, I would like to know how to change center location from city to another city like this map in [example](http://http://www.enasher.com/billboards) please can you help me to know how becouse im new in google map and i have anthore question in my … Web Development google javascript php seo | |
Hi I need to put google maps inside my website so that the user can add his location (manually) Then the location will be stored in the database so I can brows it in the display page.I've looking over the web but couldn't find the way to do it :( … Web Development google javascript mysql php | |
So here is the thing its been days since im trying to solve this, i'm debuggin a project from the company i work, its a web system, and here is the thing i have a javascript file which im going to call 'docart.js' and a core file which i will … Web Development asp.net c# software-architecture | |
SMTP Error: Could not authenticate. SMTP server error: 5.7.14 Please log in via your web browser and then try again. 534-5.7.14 Learn more at https://support.google.com/mail/bin/answer.py?answer=787 534 5.7.14 54 e67sm2084558qge.13 - gsmtp Web Development php web-browser | |
is there any way we can scrap php data from the website? like we can get full data about website content? how can client view the server php code ? Web Development php | |
I'm trying to create an automated sms expiration reminder but i'm kind of stuck and don't know where i'm going wrong. Can anyone help plssssssss!! <? require('file/connection.php'); $resul = mysql_query("SELECT `firstname` , `phonenumber` , `dob` FROM `members` WHERE DATEDIFF(`dob`,CURDATE())=7 ")or die(mysql_error()); $num = mysql_numrows($resul); mysql_close(); $i=0; while($i < $num) { … | |
I want to make a Maze Game that that a learning AI player which should randomly moves and be able to learn the path that will solve the maze. the maze will have obstacles, colored in RED. when the AI reaches an obstacle, it will start again from the beginning … Web Development artificial-intelligence-llm html-css javascript | |
I just created a simple theme option page that is working fine and also saved after when press save options. But whene reload page by pressing "theme options" menu the saved settings disappeared. Or if you go another page and come back to theme options page the same thing happens. … | |
REALLY basic stuff here. Pretty new to jQuery. I'm trying to add two values (these happen to be the total height of two sidebars. I use alert for each and receive the correct height. But, when I try to add these together, I get the [object Object] return. To make … Web Development javascript javascript-jquery | |
I'm in a fix with JQuery and ASP.Net! This is my script code. I have used autocomplete to list names of courses from a database. I have a web form named Courses.aspx which has a master page. <link rel="stylesheet" href="css/jquery-ui.css" /> <script src="js/jquery-1.8.3.js" type="text/javascript" language="javascript"></script> <script src="js/jquery-ui.js" type="text/javascript" language="javascript"></script> <script … Web Development asp asp.net javascript-jquery | |
The follow code isn't working, I'll probably have to supply more info :) var headline = document.getElementById('header'); var headlineParent = headline.parentNode; var outputResults = document.getElementById('goat'); outputResults.innerHTML (outputResults); Web Development javascript | |
I have just used this code in a project which works perfectly, but I have noticed that the first record is always not displayed. Eg. the SQL query lists 15 results, but the output only displays 14, missing the first record. Any ideas why? <?php $result = mysql_query($sql); //first put … Web Development php ![]() | |
Hello guys, I need your Help, why i can get this warning? Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\OJT\FINAL\profile.php:112) in C:\xampp\htdocs\OJT\FINAL\profile.php on line 122 this is my code <?php $member_id=mysql_real_escape_string($_SESSION['id']); $result=mysql_query("select * from user where id='$member_id'")or die(mysql_error); $row=mysql_fetch_array($result); $username=$row['UserName']; $FullName=$row['FullName']; $image1=$row['img']; header("Content-Type: image/jpeg"); … | |
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at G:\xampp\htdocs\prac\picvw.php:202) in G:\xampp\htdocs\prac\picvw.php on line 220 ![]() | |
I'm trying to create a script that will calculate the tip a customer should pay, based on the number of customers and the amount of the bill. I also have to create an HTML document that has a form with two text boxes, one for number of customers and one … | |
![]() | Howdy, How can I disable Javascript in Firefox (version 27 and 28) on Windows ? There is no checkbox on the Content tab as I read on other forums ! Regards from Begueradj Web Development javascript microsoft web-browser ![]() |
I'll put it simple, I suck at Javascript. How would I make a code editor, using a textarea that you can press [tab] and then it does this: " ". And when you press enter, the indent stays. Web Development javascript | |
hello i want to know how can i create my own online mobile recharge website. please help me Web Development asp.net | |
can anybody tell me how to integrate fedex api with a website in php | |
Hi I am using MSSQL ODBC Connetion for my project in PHP. I have created login form with PHP and MSSQL with ODBC Function. Can any one please help how to use SESSION to carry on to next page without get function. | |
im getting unexpected '$sql' when I run this code.. and idont know why.. <?php include('connect/connection.php'); if(isset($_POST['pid2'])) { $pid = $_POST['pid2']; $name = $_POST['name'] $sql="INSERT INTO tbl_wishlist (prod_id, name) (select prod_id, image from tbl_product where prod_id ='$pid' AND image ='$name' )"; }else{ echo 'mali';} mysql_close(); ?> Web Development php | |
Hello everyone i have a pattern that checks the given url is correct or not and this is working perfectly fine, but when i give arabic chrarcters in pattern it return false because of invalid URL. I want english and arabic chracter to check in URL. where i can do … ![]() | |
if(document.form1.captcha.value != '$_SESSION["code"]'){ alert("Wrongwrong captcha \n"); return false; } hello ,i just want to ask why is it not running ?i decided to convert my php function to javascript . thank you Web Development javascript php | |
i need help to create website for online test using asp.net with c# coding.. it shld consists of question with multiple answer choices, i ve created using panel control and when i compiled application , the next button is not working,its not taking me to 2 nd question protected void … Web Development asp.net | |
I have a form and a mysql table name parcel. I need to insert tracking number in the table which is personally generated based on year,category and status. But the tracking number must auto increment. For example : category has two values : D and L status has four values … Web Development php | |
I have a query which i am trying to get the last date and when i do, the purchdate and LastPayDate is the same for all the data. the query is below: SELECT DISTINCT customer.custid,customer.compname,customer.balance AS balance,customer.phone,acctofficer.acctfullname AS acctoff, preAgg1.LastPayDate,customer.depot, MAX(mastorders.lastsuppdate) AS purchdate, MAX(mastorders.id) FROM customer,mastorders,acctofficer, (SELECT DISTINCT T.custid, Max(T.timestamp) … | |
i need a regex for ectract meta title, description exg: <meta name="description" content="xxxxx"> and <meta name="Description" content="xxxxx"> and <meta name="Descriptions" content="xxxxx"> and <Meta name="Descriptions" content="xxxxx"> and <META NAME="Description" content="xxxxx"> i want to extract all type od descrptions, same also meta title ![]() | |
Hello Guys. I am trying to make a code for login form in my page using Bootstrap modal. Then I want to know how to validate the form in modal. Thanks in advance. Example. There have UserName and Password Field, If Username and Password not match it should be say … Web Development php ![]() | |
Hello Guys. Can you check out my codes? I dont know y i get this warning Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\OJT\FINAL\login.php:117) in C:\xampp\htdocs\OJT\FINAL\login.php on line 130 help me guys thanks <?php include('dbcon.php');//para sa connection sang database session_start();//para mag start ang session … Web Development css-bootstrap html-css javascript-jquery php session | |
How can I include in a form uploading a picture from my computer? Web Development file-system image javascript | |
Hello DaniWeb Family, A few years after obtaining my Master's in Business, I decided to completely change careers and go back to school for web design and development. I've recently completed a 2-year program where I studied VB, ASP.NET, C#, Java, SQL, Server 2008, Photoshop, and Dreamweaver among other courses. … Web Development asp.net database-design ide web-design | |
Hi guys i'm creating a new table in sql to allow users to register with my website, this is the sql code that I'm suing does this seem ok to you? CREATE DATABASE `dyscaculia` DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci; USE `dyscaculia`; CREATE TABLE IF NOT EXISTS `users` ( `Firstname` … | |
Dear all, I have a challenge here of understanding the page masks as used in this code; <? $access_level_map['loader'] = 1; $access_level_map['support'] = 3; $access_level_map['admin'] = 7; $access_level_map['superadmin'] = 15; define("LOAD_PAGE_MASK",1); define("SUPPORT_PAGE_MASK",2); define("ADMIN_PAGE_MASK",4); define("SUPER_ADMIN_PAGE_MASK",8); $pageMaskMap['add_employee.php'] = SUPPORT_PAGE_MASK; $pageMaskMap['awpdc.php'] = SUPPORT_PAGE_MASK; $pageMaskMap['awpdc_blocked.php'] = SUPPORT_PAGE_MASK; $pageMaskMap['awpdc_unblocked.php'] = SUPPORT_PAGE_MASK; ?> What I know … Web Development microsoft-access php | |
Till now I was expecting that there in no block level scope in Javascript. But after reading this article I came to know that block-scoped variables are introduced in javascript. Although this article <[Everything you need to know about Javascript variable scope](http://www.coolcoder.in/2014/03/everything-you-need-to-know-about.html) > has a very good explaination about the … Web Development javascript | |
Hi Guys I dont know what I have done wrong I'm accessing phpmyadmin through xampp on windows 7, when i changed the password on root@local host it locked me out with this #1045 - Access denied for user 'root@localhost'@'localhost' (using password: YES) what do i need to do? Web Development php | |
I've got an odd question ( I think ) I have to do a header redirect to a remote server The page on the remote server is just ugly. no background no formatting, etc... The vendor that hosts it says that I can use CSS to dress it up a … ![]() | |
What is the most efficient way to get the number of rows from a table? I'm able to do it with the following code, but looping through a recordset of one row seems inefficient. Is there a better way to do this? <?php $con=mysqli_connect("0000000000","0000000000","0000000000","0000000000"); $sql = 'SELECT count(*) AS t … Web Development php ![]() | |
If anyone is able to help, I'd like to create a single-line text on my site that says "Happy birthday to Samantha" whenever it's her birthday, or whenever it's another kid in my program's birthday. Including the capacity for multiple birthdays on the same day (comma spaced), the date, and/or … Web Development | |
I am trying to add some text in to a page by using a textarea where text is entered the text gets saved in to a database after clicking on a add button on a page. However, I am unable to achieve this after trying. I have two tables matchreportcomments … Web Development html-css java java-jsp javascript-jquery session | |
Hi Guys, Can you Tell Me What is the wrong of my Code. This is my Code. I am Using DOM Extension! <?php require_once("dompdf/dompdf_config.inc.php"); $conexion = mysql_connect("localhost","root",""); mysql_select_db("evaluation",$conexion); $codeHTML=' <!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>Download</title> <link href="css/style.css" rel="stylesheet"> </head> … | |
Hi, I am making a game in JS where a player has to move in a grid movement and the grid contains squares of different colours. Each colour should affect the player's speed. I am learning JS so I appreciate any help. I have the following code at the moment: … Web Development javascript | |
Hi, I need to make a game in JavaScript where a user moves an image (or anything) around a grid and if they hit a wall they lose a life and in each grid box there needs to be colours and different colours have different speed affects on the player. … Web Development javascript | |
Hi Guys I've now sorted the sql query and the database is now sorted, but now I want to connect the PHP and sql database Config.php file //Mysql Connect | mysql_connect("host","username","password"); //Below example to connect in localhost $a=mysql_connect("localhost","root",""); //select your database $b=mysql_select_db("database_name",$a); I take it I need to specify the … | |
<?php // Database Connection require_once("condition.php"); $host="localhost"; $uname="root"; $pass=""; $database = "data"; $connection=mysql_connect($host,$uname,$pass); echo mysql_error(); //or die("Database Connection Failed"); $selectdb=mysql_select_db($database) or die("Database could not be selected"); $result=mysql_select_db($database) or die("database cannot be selected <br>"); $projno=$_POST['parameters']; function IsChecked($chkname,$value) { if(!empty($_POST[$chkname])) { foreach($_POST[$chkname] as $chkval) { if($chkval == $value) { return true; } } … Web Development php | |
Please can i get a help on joining these 3 queries SELECT customer.id,customer.custid,customer.compname, customer.balance AS balance,customer.phone,acctofficer.acctfullname AS acctoff, STR_TO_DATE(mastorders.lastpaydate,'%d-%m-%Y') AS debtage,customer.depot, STR_TO_DATE(mastorders.lastsuppdate,'%d-%m-%Y') AS purchdate FROM customer,mastorders,acctofficer WHERE customer.custid=mastorders.custid and acctofficer.acctoffid=customer.acctoff GROUP by customer.id ASC SELECT customer.id,customer.custid,customer.compname, customer.balance AS balance,customer.phone,acctofficer.acctfullname AS acctoff, customer.depot FROM customer,acctofficer WHERE acctofficer.acctoffid=customer.acctoff GROUP by customer.id ASC … | |
I need help finding a way to use xampp with an already hosted wordpress? |
The End.