52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sathyagovin

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
Member Avatar for dinhunzvi
0
678
Member Avatar for grafic.web

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
0
189
Member Avatar for Hanan_1

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
Member Avatar for Ajay Gokhale
0
382
Member Avatar for Iikeloa

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
Member Avatar for Ajay Gokhale
0
269
Member Avatar for CrankyMero

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
Member Avatar for M.Waqas Aslam
0
291
Member Avatar for suresh.chaudhari.75

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
Member Avatar for suresh.chaudhari.75
0
424
Member Avatar for Bchandaria

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
Member Avatar for minitauros
0
98
Member Avatar for kwamephp

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) { …

Web Development api php
Member Avatar for Webville312
0
4K
Member Avatar for binaryjc

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 …

Member Avatar for renoldscott
0
619
Member Avatar for ultmt.punisher

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. …

Web Development php wordpress
Member Avatar for ultmt.punisher
0
767
Member Avatar for gcarterm_1

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
Member Avatar for gcarterm_1
0
338
Member Avatar for momal

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
Member Avatar for momal
0
644
Member Avatar for Siberian

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
Member Avatar for Siberian
0
138
Member Avatar for Enigma360

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
Member Avatar for diafol
0
1K
Member Avatar for jovstudios

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"); …

Web Development image php
Member Avatar for jovstudios
0
3K
Member Avatar for Mike_danvers

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

Web Development php session
Member Avatar for diafol
0
152
Member Avatar for burt.munn

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 …

Web Development html-css php
Member Avatar for burt.munn
0
283
Member Avatar for begueradj

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
Member Avatar for begueradj
0
227
Member Avatar for matrixdevuk

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
Member Avatar for matrixdevuk
0
97
Member Avatar for ankit.4aug

hello i want to know how can i create my own online mobile recharge website. please help me

Web Development asp.net
Member Avatar for knowhow112
0
399
Member Avatar for monika maan

can anybody tell me how to integrate fedex api with a website in php

Web Development api php
Member Avatar for monika maan
0
100
Member Avatar for rpv_sen

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.

Web Development mssql php session
Member Avatar for rpv_sen
0
2K
Member Avatar for markii.borabon

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
Member Avatar for markii.borabon
0
103
Member Avatar for Rizi004

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 …

Web Development php regex
Member Avatar for diafol
0
1K
Member Avatar for kyle.santelices.31

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
Member Avatar for urtrivedi
0
231
Member Avatar for buddi.hemanthkumar

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
0
117
Member Avatar for nurul_1

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
Member Avatar for nurul_1
0
614
Member Avatar for Nollyvenon

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) …

Web Development mysql php sql
Member Avatar for Fernando_4
0
268
Member Avatar for kannan mangalar

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

Web Development php regex
Member Avatar for diafol
0
521
Member Avatar for jovstudios

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
Member Avatar for diafol
0
813
Member Avatar for jovstudios

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 …

Member Avatar for jovstudios
0
324
Member Avatar for BTLSP

How can I include in a form uploading a picture from my computer?

Web Development file-system image javascript
Member Avatar for BTLSP
0
127
Member Avatar for msagilliam1

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. …

Member Avatar for msagilliam1
0
307
Member Avatar for burt.munn

I made 2 tables in PHP that I need side by side and they are end to end. How do I put them side by side? Thanks

Web Development php
Member Avatar for pritaeas
0
300
Member Avatar for stokie-rich

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` …

Web Development mysql php
Member Avatar for parijatziw
0
374
Member Avatar for Webville312

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
Member Avatar for Webville312
0
173
Member Avatar for kgavhane12

How to send sms using way2sms or any other api....

Web Development api php
Member Avatar for szurcsii
0
131
Member Avatar for Mr

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
Member Avatar for evaipar
0
258
Member Avatar for stokie-rich

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
Member Avatar for Fernando_4
0
158
Member Avatar for showman13

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 …

Web Development html-css php
Member Avatar for diafol
0
212
Member Avatar for dawbin

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
Member Avatar for iamthwee
0
232
Member Avatar for jonsan32

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
Member Avatar for jonsan32
0
1K
Member Avatar for Muni123

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 …

0
224
Member Avatar for jovstudios

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> …

Web Development html-css pdf php
Member Avatar for chrishea
0
218
Member Avatar for Kent55

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
Member Avatar for Dervish1
0
310
Member Avatar for Kent55

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
Member Avatar for Dervish1
0
240
Member Avatar for stokie-rich

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 …

Web Development php sql
Member Avatar for stokie-rich
0
187
Member Avatar for shehnaz20

<?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
Member Avatar for shehnaz20
0
179
Member Avatar for Nollyvenon

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 …

Web Development php sql
Member Avatar for Nollyvenon
0
450
Member Avatar for Mohammed_9

I need help finding a way to use xampp with an already hosted wordpress?

Web Development php wordpress
Member Avatar for Mohammed_9
0
182

The End.