52,566 Archived Topics
Remove Filter ![]() | |
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 … | |
![]() | 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 … |
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 | |
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 … | |
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 ![]() | |
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 | |
![]() | 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 |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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? | |
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 | |
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 | |
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 … | |
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 | |
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 | |
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 | |
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 … | |
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 … | |
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 | |
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 | |
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 … | |
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 | |
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 | |
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 … | |
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 | |
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 | |
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 … | |
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 | |
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 … | |
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, … | |
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 | |
![]() | 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 … ![]() |
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 | |
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. | |
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 … | |
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 … | |
<?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 | |
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 | |
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 | |
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. | |
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 |
The End.