39,326 Topics
| |
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 … | |
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 … | |
[COLOR="Green"][B]hi guys im new to php please help me to search friends in an community page where all members are there i dosen't hv d coding plz help me.....send some coading guys[/B][/COLOR] | |
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 … | |
Hi.I'm using Ubuntu 10.10. I wanna use sms gateway service. So, I've installed Kannel sms gateway and also I've installed playsms to manage it. I'm using my Nokia 5233 mobile phone as modem. Can u pls help me in confoguring and sending the sms using playsms & my nokia 5233 … | |
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 … | |
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 … | |
Hi guys, i have to create a drop-down menu for database data, when i select one data from that then next drop-down menu has to create automatically with related data of the 1st selection. could anyone please give me some help to do this? NB: i have 3 tables student(sid, … | |
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 = … | |
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, … | |
Hi I want to make a dictionary. I want to do that with php and flash.for example I have lot of .png images. eg good.png, bad.png etc.. Now when anybody search for word [B]good[/B]. It will show good.png in the flash movie. If word not found then this word will … | |
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 … | |
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 … | |
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 … | |
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()); ?> … | |
hi im new to programming and i was told to create a dice game where a player rolls and the dice rolled will added to the total score until the score is reached its maximum limit but i cant get it to work.. my problem is i cant keep hold … | |
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', … | |
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 … | |
I'm building a database of solar system for a course. Here's what I have problem with: I have a 'regularplanet' model which has 'regularplanets' controller. When I go to /htdocs/solar/regularplanets, my page lists all the planets (Earth, Venus, etc.). Beside every planet I want to have a link 'Attribute' which … | |
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 … | |
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 … | |
| 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: |
The End.