52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for rolyestemonio

Hi, I am a PHP beginner, I am working this code and I need help, And kinda stack of it. I have a database with 5 fields(id, date, time , title and description). This is what I want to do; I want my script to go into the database fetch …

Web Development mysql php
Member Avatar for Caeon
0
155
Member Avatar for diafol

I've just landed myself in it. I offered to help out with a programming club at our school. Doh! The school is lumbered with VB6. I refuse to dirty my hands with it - the last time was about a 1000 years ago. I proposed to do a starter on …

Web Development apache ide php
Member Avatar for sudeepjd
0
141
Member Avatar for mtvaran

hi guys, I would greatly appreciate it if you could help me with this code I have some tables called, Student (SID,SNAME) -> I have got data into it Course(CID,CNAME) -> I have got data into it Take(SID,CID) -> I have got data into it quesion (CID,QNO,MRKS)-> I have got …

Web Development php
Member Avatar for mtvaran
0
80
Member Avatar for BlueCharge

Hello Everyone, i am wanting to build a leaderboard for my site for the members gamerscore on Xbox LIVE. I know how to fech from a MySQL database, etc but this is the hard bit. So the users table in MySQL contains their gamertag and i want to pull that …

Web Development mysql php xml
Member Avatar for BlueCharge
0
111
Member Avatar for BTW8892

Hey, I want to start this new project for my own site, but I'm not really sure on how to start. Was wondering if anyone could help start me off, with some ways to organize and start it out. Basically I want to start a hockey league script, that contains …

Web Development php
Member Avatar for diafol
0
128
Member Avatar for raf08

hi can anyone help me with this ive trying for 2days to get this sorted but cant figure it out. i want to be able to list my data in the table which works fine then i want a link next to each data line to amend it heres my …

Web Development mysql php smartphone
Member Avatar for Caeon
0
176
Member Avatar for diafol

Hi folks, getting a problem adding name/values to make an array to pass to php. I've got a number of inputs named [B]week_start_x[/B] (where x is an integer ranging from 1 to a dynamic number [generated through php] - the max no. is determined by another field called 'yearblocks'). I …

Web Development javascript javascript-jquery
Member Avatar for Airshow
0
889
Member Avatar for arctushar

I have a javascript. I did not understand the language. here is the link of the script [URL="http://www.unitconversion.org/converter3/converter3.js"]http://www.unitconversion.org/converter3/converter3.js[/URL] Can anybody explain me the script. thank you

Web Development javascript
Member Avatar for arctushar
0
76
Member Avatar for daydreamer22

Hello All, I'm new to PHP, need some advice for my problem below. Here is my problem after enter my fullname and search, it show all the fields from a table, but if I enter a invalid fullname(fullname that doesn't exist in fields) , the page goes blank no error …

Web Development php
Member Avatar for daydreamer22
0
158
Member Avatar for Vidgie65

Create the init() function. Within this function do the following: a) Create a variable named allSelect that references all of the selection elements in the document. b) For each item within the allSelect object collection, add an onchange event handler that runs the loadLink() function when the selection list changes. …

Web Development javascript web-browser
Member Avatar for Vidgie65
0
185
Member Avatar for bbman

Hi im desperately in need of some help here.. Im exporting my html page data to csv but i am unable to get the data onto a new column the code is as follows [B][COLOR="Red"]HTML FORM[/COLOR][/B] [CODE]<form id="form1" name="form1" method="post" action="index.php"> <table class="formatTblClass"> <tr> <th colspan="6"><?=$message;?></th> </tr> <tr> <td width="68"><span>First …

Web Development php
Member Avatar for sudeepjd
0
1K
Member Avatar for theG-Scott

I have a page on my portfolio site that displays large thumbnails for each piece of work in my portfolio. When you click on this large thumbnail, an overlay fills the screen and it shows multiple small thumbnails representing different views of the piece of work along with the corresponding …

Web Development php
Member Avatar for theG-Scott
0
124
Member Avatar for Awah Mohamed

hi people , i have writen this copde but when i run it it gives me thigs error Parse error: syntax error, unexpected ';' in C:\xampp\htdocs\forum\signup.php on line 49 i have checked the line more than 10 times and i didnt found anything [ICODE] <?php include 'includes/connect.php'; include 'includes/header.php'; echo …

Web Development php
Member Avatar for Awah Mohamed
0
113
Member Avatar for srinivas88

Hello,I am making a website in JSP celled employee info system.In this whenever a new emp. registers in the system he is given a unique employee id. Currently in my registration page the employee himself will have to manually enter a unique id.Is there a way in which the unique …

Web Development java-jsp
Member Avatar for srinivas88
0
567
Member Avatar for gidireich

We have a product which is being slightly customized for each client. The exact customization is unpredictable - we assume that any point in the code can become needing change. However, we want to keep one code base, as 90+% of the code will be identical, so we don't have …

Web Development php web-design
Member Avatar for gidireich
0
154
Member Avatar for dirkjan75

Hi, I have read many post obout n-layer programming, but still have found no good example or reply on some fundamental issues that I have. I use 3 tier (Dal, BLL, Pll) and for some gridview I want to present the following in one column: the fields period 1, period …

Web Development asp.net
Member Avatar for dirkjan75
0
140
Member Avatar for Cstonehouse

Whilst working on my first MYSQL, i came accross this error, and even with a friend who is a pretty good coder and we couldn't work it out [CODE]<?php $con=mysql_connect("mysql3.000webhost.com","a2778852_556875", "pendolino390"); //CREATE DATABASE mysql_create_db("personal_experience", $con); //CREATE TABLE $con=mysql_select_db('Personal_experiences',$con); if($con) { $sql="CREATE DATABASE personal_ex ( Additioncode int NOT NULL AUTO_INCREMENT, PRIMARY …

Web Development php
Member Avatar for ko ko
0
94
Member Avatar for vatspoonam

I hav created an ASP and saved it in the wwwroot folder under the inetpub folder. But when i try to open it in the browser by specifying the path as "http://localhost/xyz.asp", i get the error "IE cannot open the page". Whats the problem?

Web Development asp display
Member Avatar for ArtistScope
0
128
Member Avatar for ppohlmann

Hello ! I have a database that shows about 5 to 10 recorrds on a page that contain forms for the user to fill out. The number of rows is unknown and depends on the user query. On the page there can be 2 or 10 records displayed ..each containing …

Web Development javascript
Member Avatar for ppohlmann
0
118
Member Avatar for cutekate

I have a array called 'data' which is used globally as it is being used in other functions. Each data[i] has array of values like data[i]= "United States,Tennessee,Anderson"; Could some one please help me how put these comma separated values in a table. I was trying this in javascript: [CODE]data=new …

Web Development javascript
Member Avatar for Taywin
0
1K
Member Avatar for windmill87

My name is Dennis, currently im doing my final year project for a system called " Records Management System" I'm using xampplite localhost phpmyadmin as my database SQL server. i face a problem in my system that shown a message: "Warning: Unknown: Your script possibly relies on a session side-effect …

Web Development php session
Member Avatar for sudeepjd
0
167
Member Avatar for MoreBloodWine

Is it possible to have stuff echo'd based on the address in the address bar of your browser ? So like... if address in the address bar = index.php?page=21 then echo the below [code] echo "Page " . number_format($page) . " of " . number_format($totalpages) . "<br />"; $starting_user = …

Web Development php
Member Avatar for MoreBloodWine
0
145
Member Avatar for BaSk

I'm currently creating a PNG image from a random sql statment. Its just outputting text, but I was to limit the number of chars per line. I have this working, but its repeating the text to the next line. Below is the code on how I'm doing this. [CODE] imagestring($image, …

Web Development php
Member Avatar for sudeepjd
0
91
Member Avatar for tobeye

hello, I'm kind of new to the PHP-scene and I'm having difficulties with my first php-site the situation: I'm making a website were people view newsitems, these newsitems are stored in a database ("postgresql") every newsitem is stored in a category. i would like to create a list of every …

Web Development php postgresql
Member Avatar for hielo
0
150
Member Avatar for Deechickie

Hi everyone, I'm Dee :) I'm new here so please excuse me if I'm asking this in the wrong area. I must admit that I also know very little about PHP and techie stuff :$ so I'm after some help and guidance if possible. I'm getting an enormous database driven …

Web Development perl php
Member Avatar for Deechickie
0
89
Member Avatar for mbarandao

Good day all: I have a mysql insert statement inserting data to db. The value of one of the variables is: [code] ' $_POST[servicedesc]')[/code] I want to be able to append the current date and time in front of this value and then insert into the db. This value will …

Web Development mysql php
Member Avatar for mbarandao
0
100
Member Avatar for kesh1000

hi everyone, i am trying to use php mailer to configure emails in my website. im doing this website as my project so im using local wamp server. since wamp is not mail server im trying to use gmail with it. can anyone help me as to why im getting …

Web Development php
Member Avatar for pritaeas
0
349
Member Avatar for lit108

I am creating a login system for a website, this code itself works fine until I include this login file on the index page. Then everytime It is run it displays the following errors, Warning: Cannot modify header information - headers already sent by (output started at /home/swap/public_html/login script/index.php:11) in …

Web Development php
Member Avatar for lit108
0
179
Member Avatar for bit-byte

Hello, I am having some problems with IE and Opera browsers not displaying all my form select boxes, for example: Firefox (Working): [img]http://img577.imageshack.us/img577/6810/firefoxk.png[/img] Internet Explorer: [img]http://img600.imageshack.us/img600/7190/72404597.png[/img] My upload page: [code]<?php session_start(); error_reporting(0); require '../includes/functions.php'; require '../includes/mysql.php'; require '../theme.fol.php'; loggedinorreturn(); stdheader(); block_begin("Upload Torrent"); if(isset($_POST['submit'])) { $target = "../files/"; $target = $target …

Web Development php session
Member Avatar for bit-byte
0
142
Member Avatar for mtvaran

Hi guys, basically here pull out the data from database then creating taxt field automatically and submit into anther table. everything works fine but data not inserting in to the table. could you guys check my code please? [CODE]<?php $con = mysql_connect("localhost","root",""); mysql_select_db("uni", $con)or trigger_error('MySQL error: ' . mysql_error()); ?> …

Web Development php
Member Avatar for mtvaran
0
163
Member Avatar for Blaise.M

Hi, I am trying to do something like this: [CODE] function showContent(toPopulate) { document.getElementById(toPopulate).innerHTML = "<a href='javascript:showOtherContent(toPopulate);'>show</a>" } function showOtherContent(toPopulate) {...} [/CODE] I am not able to send the variable toPopulate as an argument of function showOtherContent() in line 2 Thanks, Blaise

Web Development javascript
Member Avatar for Blaise.M
0
169
Member Avatar for erum

take a look here [url]http://www.gfln.org/default4.aspx[/url] now when u click on radio button 1(from 1 to 7) it generate 3 <TD> (two have text name and telephone and other have textbox which is server side control)on run time now problem is whne u click on any other radio button say greater …

Web Development asp.net html-css vb.net
Member Avatar for dkwired.com
0
132
Member Avatar for DeadlyLife

Hello i've got a problem with "else" it says unexpected T_ELSE but i have no idea what could be wrong here [CODE]if ($id == "funkcijos") { if($vardas != "" && $slaptazodis != "" && $el_pastas != "") { $query = "INSERT INTO vartotojai SET vardas = '$vardas', slaptazodis = '$slaptazodis', …

Web Development php
Member Avatar for DeadlyLife
0
89
Member Avatar for Awah Mohamed

hi i want ot ask if i can run a php script in the same page where i put it i mean i do a forum with a code in the action tag which allow the page to run in the same page or is it posible to run only …

Web Development php
Member Avatar for Sorcher
0
100
Member Avatar for theG-Scott

I have two tables in my db. One table contains portfolio images with a primay key set to AI. The other table contains all of the thumbnails that need to be associated with each portfolio image with no primary key. I'm trying to grab the last inserted id of the …

Web Development mysql php
Member Avatar for theG-Scott
0
152
Member Avatar for Rizzuti

Hello!! I'm trying to upload images and text onto my database but i have a bit of a problem... [QUOTE]Error, query failed 1136-Column count doesn't match value count at row 1[/QUOTE] I dont know if the problem is the script or the actuall database, I google it but I couldn't …

Web Development data-structure php
Member Avatar for Rizzuti
0
76
Member Avatar for Awah Mohamed

hi everyone i need your help i want to write a code that gets for me the latest 5 out puts here is my code [CODE] <?php $con = mysql_connect("localhost","awah","pass"); if(!$con) { echo "cant connect to db".mysql_error(); } $select = mysql_select_db("awah_admin"); if(!$select) { echo "cant select db ".mysql_error(); } $query …

Web Development php sql
Member Avatar for Awah Mohamed
0
86
Member Avatar for ninja_girl

I have searched the forum and Google but there was nothing that would give me a clue what's wrong with my code. I'm just starting PHP and I'm trying a few things. :) I have a page with login. Logging in works wonderfully, storing sessions with username does too. However, …

Web Development php session
Member Avatar for ninja_girl
0
308
Member Avatar for Cool&Awesome

Hi Everybody, I'm posting this after 10 hours of trial and error, hope someone has an idea... What I'm trying to do is make thumbs out of numerous images, and it works for a small number of images (a few) but for anything more max_execution_time is exceeded (and i cannot …

Web Development php
Member Avatar for Cool&Awesome
0
88
Member Avatar for jpknoob

I'm having trouble displaying results when i connect to 2 databases. My connection script seems to be working fine and returns no errors; [CODE]$connect1 = mysql_connect("localhost","user","pass", true); $connect2 = mysql_connect("localhost","user","pass", true); $db_selected = mysql_select_db("database1", $connect1); $db_selected = mysql_select_db("database2", $connect2);[/CODE] When i run the queries, however, I'm only managing to get …

Web Development mysql php
Member Avatar for jpknoob
0
116
Member Avatar for daneuchar

Hello every i have been coding in php for sometime and knew about frameworks like zend cake etc. but my real confusion starts here, is it better to write codes without framework or is it better to write code using frameworks.:?::confused:

Web Development php
Member Avatar for daneuchar
0
132
Member Avatar for h0neydip

Ok so i have this login form with session and cookies, how can i redirect the user to another page if the user fails to login after three attempts, and hitting the submit button at anytime is an attempt,does using SESSION come into play here?, your help is greatly appreciated.

Web Development php session
Member Avatar for sudeepjd
0
467
Member Avatar for gikonyo

am writing an sql statement that can change the username and password but it is not working this is the code on line 19 $sql = "UPDATE login SET username= newusername('$_POST['newusername']'),password=newpassword('$_POST['newpassword']) WHERE username = '$_POST['username']',password='$_POST['password']"; this is the error Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in …

Web Development php sql
Member Avatar for gikonyo
0
116
Member Avatar for floatingDivs

Hi Daniweb, I've got a question regarding what I call "dynamic URL rewriting" -- which is probably the wrong term -- and need some help. OK, so basically, I know how to rewrite the URL for static pages (i.e. have "localhost/index.php" also work as "localhost/index". However, let's say I have …

Web Development finance php wordpress
Member Avatar for kb0000
0
189
Member Avatar for gikonyo

am getting this error after executing the select query. Notice: Undefined index: unit8_code in C:\wamp\www\ELIZA\viewresults.php on line 129 the following is line 129 $unit8_code=$row['unit8_code']; please help to troubleshoot

Web Development php
Member Avatar for gikonyo
0
67
Member Avatar for ankit.pandey3

<?php $dbc=mysqli_connect('localhost','root','','nog') or die('Not Connected'); $query="select * from registration"; $result=mysqli_query($dbc,$query) or die('Not Connect'); if ($result) { // create a new form and then put the results // indto a table. echo "<html> <body>"; echo "<form method='post' action='approve.php'>"; echo "<table cellspacing='0' cellpadding='15'> <th width='15%'>User Id</th> <th width='55%'>Name</th> <th width='15%'>Age</th> <th width='15%'>Blood …

Web Development php
Member Avatar for ankit.pandey3
0
1K
Member Avatar for nikita.chandra

Hi! please help me for how can i scroll through database using JDBC on a jsp page. if i m creating 4 buttons say First,Last,Next,Previous. First button will take me to the first record of the database. Last button will take me to the last record of the database. Next …

Web Development java-jsp
Member Avatar for peter_budo
0
104
Member Avatar for edwardlee2708

Help I'm looking to find a fix for webapps running on a tomcat with IIS6 running on it too. Why am I getting this message. HTTP Status 500 - ________________________________________ type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception …

Web Development java-jsp
Member Avatar for peter_budo
0
356
Member Avatar for ashishvijayata

hello friends, can i change the port of oracle 10.i am using tomcat 6.0 and both are using same port 8080.so how could i use oracle with tomcat in windows 7.Reply plz.

Web Development java-jsp oracle
Member Avatar for peter_budo
0
92
Member Avatar for mayank.dyl

Please provide some links to good downloadable e-books for JSP. This collection may be helpful to all the jsp community.And please keep on adding as you comes to know about some good ones. Thanks a lot !!

Web Development java-jsp
Member Avatar for peter_budo
0
110

The End.