52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mangel.murti

if i have a given date so how can i find in what date sun and sat comming ... ? i store 0 for sat and 6 for sun in database.

Web Development php
Member Avatar for diafol
0
188
Member Avatar for davefitze

hi guys working on a little basic forum for collage but i keep getting this error kinda driving me crazy i know its something small but i cant spot it. any help would be great [B]Notice: Undefined index: topic_id in /users/2014/daf1/public_html/cs1109/lab18/showit.php on line 14 Warning: mysql_num_rows(): supplied argument is not …

Web Development mysql php
Member Avatar for Sibzsolutions
0
282
Member Avatar for PF2G

Hi, I'm using a javascript messagebox, but i'm having trouble with the delete: <html> <head> <title>Adminstração</title> <!----------------------------------------------> <script type="text/JavaScript"> function confirmDelete() { var agree=confirm("Tem a certeza que quer remover?"); if (agree) { return true; <?PHP $del="DELETE FROM content_lang WHERE id_content = '".$row_lang['id_content']."'"; $q_del=mysql_query ($del, $connect); ?> } else { return …

Web Development javascript php
0
83
Member Avatar for fabzster

Hi I have a MYSQL DB hosted on a Win 2003 server on my LAN and a Mysql DB on a dedicated (linux) server at our ISP. I would like to dump a few tables to a .sql file and ftp it to the server and then import the .sql …

Web Development mysql php sql
Member Avatar for fabzster
0
185
Member Avatar for Albert Pinto

Hi People, need some help Actually I wanna block an IP address from a certain country... I don't want them to access my home page which is index.php.... so I've included a file "country-redirect.php" this file is placed at beginning of my index.php.... index.php code is like <?php require('country-redirect.php'); ?> …

Web Development php
Member Avatar for Albert Pinto
0
556
Member Avatar for aecha

Hello everyone! I know this is very numb question. But can anyone please help me on seeking the error? I already search the error for the past few days but still cannot find where it is wrong. Anyway there is no error come when its debug but the data not …

Web Development html-css php
Member Avatar for code739
0
75
Member Avatar for |-|x

Is anyone familiar with PDFlib? I'm having trouble geting it to run. Running a WAMP server, PHP 5.2.16, followed the instructions to install the appropriate version of the DSO, the PHP monitor recognises that the extension is loaded, but when I try to use it I just get undefined function …

Web Development pdf php
Member Avatar for |-|x
0
154
Member Avatar for BilalAKhan

Hi, I am trying to get the data from the database into the text boxes and then update the data if something is changed in the database. I have successfully tried data binding with the text boxes and the data is displayed in the text boxes based on the session. …

Web Development asp.net session
Member Avatar for BilalAKhan
0
161
Member Avatar for KeithMon

I'm getting an error when I run this. I'm sure it's simple. Any thoughts? Code: mysql_query("INSERT INTO leads `facility` = '{$facility}' , `leadAdded` = '{$today}' , `updatedBy` = '{$username}' , `manager` = '{$username}' , `name` = '{$_POST['name']}' , etc... ") or die(mysql_error()); Error: "You have an error in your SQL …

Web Development mysql php
Member Avatar for diafol
0
233
Member Avatar for hirenpatel53

Hi all i got one project to build web site for engineering shope i have done with all the things but they are looking for online functionality for that they want that any one can purchase product online by creadit card as we regularly perchase from flipkart,Ebay and all sites …

Web Development asp asp.net engineering
Member Avatar for |-|x
0
157
Member Avatar for Japri

Hello all, nice to know this helpfull forum, I'm a totally newbie and I need advice, I want to import a CSV to a table in sql, but the problem is the CSV has very strange format. ================================== Telephone,=,'88213839 Name,=,John Doe Currency,=,USD Date,Information,Source,Total,,Balance '30/04,ATM 28/04 ,'0000,000000000500000.00,DB,1.171892966E7 '30/04,DEBIT 28/04 LAWSON,'0000,000000000092100.00,DB,1.162682966E7 '30/04,DEBIT …

Web Development php sql
Member Avatar for diafol
0
110
Member Avatar for Cerb21

So, I am working on this site and for some reason I can not figure this out. I keep getting the error Warning: Cannot modify header information - headers already sent by (output started at /home/site/public_html/header.php:42) in /home/site/public_html/index.php on line 68 I have checked everything and maybe I need new …

Web Development html-css http-protocol php
Member Avatar for zoreli
0
435
Member Avatar for Daddy-Dope

Okay, so I'm getting a MySQL Error that says "Column count doesn't match value count at row 1". I'm not sure what the problem is. Here is the code <?php if( !preg_match( "/index.php/i", $_SERVER['PHP_SELF'] ) ) { die(); } if( $_GET['id'] ) { $id = $core->clean( $_GET['id'] ); $query = …

Web Development php
Member Avatar for bonsoirval
0
331
Member Avatar for princeofpersiaa

Hi guys, I have a php crop issue, I am using Jcrop (JQUERY plugin) to allow users crop their user profile picture jquery doesnt have an issue (is easy to select) but when processing image crop in PHP, image crop doesnt work and all i get is an empty page …

Web Development image javascript-jquery php
Member Avatar for princeofpersiaa
0
359
Member Avatar for jeetudaljit

Pl. help in handling button events in JSP like calling a servlet on Button click or executing java code.

Web Development java-jsp
Member Avatar for ethar.ammar
0
1K
Member Avatar for cyberdaemon

Good day, I am having problem with the saving. all i want is to save multiple records at once. i used user define table in sql server 2008. my stored proc seems be right coz i already tested it.. my problem is that once i selected a record from the …

Web Development asp.net
Member Avatar for nakor77
0
149
Member Avatar for riahc3

Hey I have this code........ /*MORE THINGS ABOVE*/ <?php foreach ($_options as $_option) : ?> <?php print_r($_option);?> /*MORE THINGS BELOW*/ That print_r gives me this (the first time around, other times its the same but it just gives me different Xs and Ys which is expected): Array ( [label] => …

Web Development php
Member Avatar for riahc3
0
179
Member Avatar for BilalAKhan

Hi, I am trying to populate a textbox with the database data taking in consideration the session state. Checking if the session variable has the same name as in database, it should display the rest of the information in text boxes. I have come up with the following code: Protected …

Web Development asp.net session
Member Avatar for BilalAKhan
0
156
Member Avatar for gopi17

hey guy, i need some help in reading a file across my network... this is what i did... $myFile = fopen("\\10.102.216.129\backup\Gatepass\Gate_Pass.csv",'r') or die("cannot connect"); $rows = file("$myFile")or die("cannot connect"); but each time i'm getting an error : failed to open stream: No such file or directory can someone help me

Web Development file-stream mysql php
Member Avatar for code739
0
142
Member Avatar for dualzNZ

Hi all i am a bit stuck lol I am trying to get the file extention from a url say yoursite.com/file.zip in the data base the full link will be there, i am looking for a function that will take the full url take ".zip" and then will output "(file …

Web Development php
Member Avatar for diafol
0
122
Member Avatar for antwan1986

Hi everyone and thanks for reading. This problems been driving me nuts for the last day and I'm completely stuck. I made a dummy table of users to test out SQL connections but everytime I echo out the information, it keeps dropping the first record, and jumps straight to record …

Web Development mysql php
Member Avatar for jopianokid
0
4K
Member Avatar for HasNor

Dear experties, i got bad new.. and biggest problem when my system is not stable after go live.I'm using PHP. My system not catch the information that entered by user correctly. I don't know why.. Which part actually I need to check? somnetime it work ok but sometime it work …

Web Development php
0
83
Member Avatar for anand01

hi all , I know how to develop Mvc architectur application , Now I paln to learn frameworks, which one will be best choice structs or spring? , should I learn both ?

Web Development java-jsp
Member Avatar for anand01
0
112
Member Avatar for hwoarang69

tring to create a website where user can upload image. i have 2 database 1-user(database) 1- which has user_id, email, passwod 2-image(database) 2-which has image_id, user_id, image(store image here), image_name ...etc on upload.php page user has to fill this form hit sumbit. and it will run php code on upload.php …

Web Development image php
Member Avatar for code739
0
239
Member Avatar for arifsuhail1

Hello, I know very little about programming, means what ever learn, i learnt it from the you tube, so in order to explain my problem i am writing every thing so when i get the reply i can understand it. first i try to download apache, mysql and phpmyadminn but …

Web Development apache mysql php
Member Avatar for IIM
0
2K
Member Avatar for kikiritce

Object of type 'System.Web.UI.WebControls.TextBox' cannot be converted to type 'System.Int32' 6 minutes ago|LINK Hi, i started web application in Microsoft Visual Web Developer 2010 Express. I created few text boxes and dropdown lists. I connect them with my database in SQL management studio. When I click on SaveButton it should …

Web Development asp.net visual-studio
Member Avatar for hericles
0
244
Member Avatar for BlueCharge

Hello, Basically, I am trying to loop though an OPF document which is an XML document to link 2 children of different nodes together. If I do not use an if statement in the second for each loop, I can display all children from <manifest>, however I need the if …

Web Development php xml
Member Avatar for BlueCharge
0
268
Member Avatar for public

I'm trying to set up a GPT-site. When I want to test the redeem method, I get the following error: > Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in (blabla-link, not imporant)/redeem.php on line 39 I've tried some stuff, but nothing seems to be working. Does …

Web Development php
Member Avatar for public
0
185
Member Avatar for unikorndesigns

How many number of elements can an array in PHP hold? like 300? 10000? or 10000000000000000000000000000000000000000000000000000000 ???

Web Development php
Member Avatar for unikorndesigns
0
172
Member Avatar for Buppy

Hi, I have a HTML structure like this: <div> <div id="a"></div> <div id="b"></div> <div id="c"></div> </div> I know the ID of an element (let's say it's #b), and i need to know which index it has in the parent div. In this case that would be 2. How do i …

Web Development javascript javascript-jquery
Member Avatar for pritaeas
0
85
Member Avatar for mariaceline_21

help im getting this Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\php\PEAR\Config.php on line 80 Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\php\PEAR\Config.php on line 166" <?php error_reporting(0); ini_set('display_errors', 'On'); //ob_start("ob_gzhandler"); error_reporting(E_ALL); // start the session session_start(); // database connection …

Web Development php session
Member Avatar for pritaeas
0
140
Member Avatar for wandie

Can someone please help me I have made an example, of an cookies I have added a value 45 but i have created another page that displays. This prob is when i run the code that has the value 45 its suppose to give me a blank page byut i …

Web Development php
Member Avatar for Ami_Bogus
0
170
Member Avatar for easterbunny

Hi, I got a problem. I'm new to $ and i want to make a div to be displayed 3 seconds after the page loaded but i want it displayed on the desktop( behind the webpage). I made the part where the div slides from the right-bottom corner but i …

Web Development html-css javascript
Member Avatar for JorgeM
0
178
Member Avatar for ryanpells

I am sure I just cannot get the syntax correct. I have a table that is populated with names from a database. I want to make it so when the user click the hyperlink uses the link in the database to direct the user to the new page. Once on …

Web Development perl php
Member Avatar for diafol
0
143
Member Avatar for stu7mcc

Hi, I have a backup script for a reseller hosting account. The idea is that all the accounts in a reseller account can be backed up every day to an external server. The only problem is the scripts seems to start backing up all the accounts at once. Is it …

Member Avatar for diafol
0
138
Member Avatar for Djmann1013

What is wrong with this signup code? > process.php: <?php $host=""; // Host name $username=""; // Mysql username $password=""; // Mysql password $db_name=""; // Database name $tbl_name=""; // Table name // Connect to server and select database. mysql_connect("$host", "$username", "$password")or die("Cannot connect to server. Try again later."); mysql_select_db("$db_name")or die("Cannot connect …

Web Development html-css mysql php
Member Avatar for diafol
0
248
Member Avatar for ElaineTeo

if(empty($_POST['txtEmail'])) { if (!mysql_query($sql,$con)) { die('Error: ' . mysql_error()); } $page='SignUp.php'; header('Location:'.$page); } else { $page='SignUp.php?emptyusr=1'; header('Location:'.$page); }

Web Development php
Member Avatar for ElaineTeo
0
207
Member Avatar for ferit1223

I've just started php and mysql.trying this code to check if mysql account is correct or not. <?php $usr=$_POST['username']; $psw=$_POST['passwd']; echo ' body tag, other things and a message: Logging in! '; echo $usr; $connection = myqsl_connect('localhost',$usr,$psw); if (!$connection){ die('<p>Stopped : ' . mysql_error()); echo '<br /><a href="index.html">Retry</a></p>'; } else …

Web Development html-css mysql php
Member Avatar for ferit1223
0
101
Member Avatar for brightonstu93

**Hey i'm creating basic a shopping cart for a uni project, everything works however when I select the view cart button on my html page it appears, however if i select it repeatedly, the table creates a replica table below and does this everytime I select my button so I …

Web Development javascript
Member Avatar for Airshow
0
218
Member Avatar for gandrap

I have problem with rewrite in .htaccess I want to this link http://www.mysite.com/index.php?lang=1 look like this link http://www.mysite.com/index And it should be for every .php file to be like that I have this so far: RewriteEngine On RewriteCond %{THE_REQUEST} ^\w+\ /(.*)\.php\ HTTP RewriteRule ^ http://%{HTTP_HOST}/%1 [R=301] RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule …

Web Development php
Member Avatar for gandrap
0
91
Member Avatar for daravindm

Hi all, How to display search results from MYSQL database in JSP page?? is it possibile to create gridview in jsp page? please help

Web Development display java-jsp mysql
Member Avatar for anand01
0
329
Member Avatar for Patiodude

I've recently found that 1and1, my host, doesn't allow for remote access to MySQL databases and tables, and access is only possible via a slow and cumbersome web UI. Is there any workaround? I don't want to have to spend ten minutes browsing PHPMyAdmin every time I need to timestamp …

Web Development ide mysql php
Member Avatar for JorgeM
0
311
Member Avatar for jobber15

Hi there, first off I'm relatively new to php so please forgive me if this seems a simple request! I have an existing database and menu system which works great, but I'm trying to modify it so that I have a checkbox that I can tick to determine if I …

Web Development display php
Member Avatar for jobber15
0
118
Member Avatar for ozbulldog

I have a problem with my site regularly exceeding Max User Connections. The limit from my hosting provider is 10 and I am regularly exceeding this amount for 1 database user. I'm unsure if this is due to a Coding Error / stuck or errored cfthread / malicious attack / …

Web Development coldfusion mysql
Member Avatar for utdream
0
167
Member Avatar for Ribamar23

Hi I'm using Auctionpress to make a ebay like website. I have over 300 categories you can list an item in. When user is listing a item it only gest a list box with all the categories..... and then has to go throught all them to find the right one. …

Web Development javascript-jquery php wordpress
Member Avatar for Ribamar23
0
207
Member Avatar for my3h

Hi, I want to have multiple selection checkbox in my website, where user can check for the multiple options. But for checkbox i should get the data from the database table. $query2 = "select * from Products where CategoryID = '$CategoryName' "; mysql_query($query2) or die(mysql_error()); $array = array(); while($row = …

Web Development php
Member Avatar for my3h
0
132
Member Avatar for cdogstu99

Hello all, I have a wordpress site with a certain membership login plugin. When i have an expired user that logs in i get this message: (this same error repeats itself for about fifteen or so lines for pluggable-line 669, 670, 671...etc * Warning: Cannot modify header information - headers …

Web Development php seo wordpress
Member Avatar for madCoder
0
352
Member Avatar for himerus

The following script is a VERY simplified version of a script I've used to make my site more search engine friendly. To date, according to most reports, Google is one of the only search engine that will index URLs that are in the format: whatever.com/index.php?var1=value&var2=value Other Search Engine spiders may …

Web Development apache google php web-server
Member Avatar for tiggsy
0
454
Member Avatar for steven447

Hello, I have a website that uses Smarty. When I try `$oSmart->display("header.html");` I get a blank page without warnings and errors. I'v proven with `var_dump()` that the smarty object is succesfully created. I know to that the page is enterily rendered by using: echo "start"; //Smarty Stuff echo "end"; Also …

Web Development php ubuntu
Member Avatar for steven447
0
757
Member Avatar for esoftwall

how to open the multi content pop up's ,below code showing button1 content only when i cleick the second button top <div class="buttons"> <button type="button" id="btnShowSimple" value="Email" class="positive" > <img src="../css/bmail.png" alt="email"/> Email </button> <button type="button" id="btnShowShare" value="Share" class="positive" > <img src="../css/share.jpg" alt="Share"/> Share </button> </div> <div id="model"> <div id="output"></div> …

Member Avatar for moyk
0
502

The End.