39,316 Topics

Member Avatar for
Member Avatar for twelvetwelve

When I use the following PHP code I get this error Error performing query: Unknown column 'nh12134' in 'where clause' Yet when I use 'nh12345', which is the Value that the variable $username contains (i've checked that it does by printing it out elsewhere) instead of the $username in the …

Member Avatar for Ankit_Parmar
0
272
Member Avatar for satees

Hi, I need to grab the data from the other specified websites, any idea how to implement this? Thanks in advance. Satees

Member Avatar for keval_hack
0
116
Member Avatar for rahul8590

i have a basic script where in i check if the content is inputted or not . If the content is not present i redirect to the same page also echoing a statement that u have not entered any data , but the echo message is not being printed. the …

Member Avatar for rahul8590
0
113
Member Avatar for dan1992
0
48
Member Avatar for Sucesso

I've got what I think must be a pretty simple question, but it's my first time doing something like this. Here's my situation. I have a simple database. It's a dictionary of words. I want to have a form that I can enter a word into. Once I do that, …

Member Avatar for effu
0
123
Member Avatar for bsewell

HI guys, just wondering how to get a customised page, depending on an id. Eg mysite.org/view?id=1, mysite.org/view?id=2 etc. How does that work? Is it possible to provide the whole url including the id so I can put a direct link to the page I want someone to view? Cheers,

Member Avatar for Graphix
0
85
Member Avatar for php_IND
Member Avatar for parkie

Hi, can anyone give me a bit of advise? Ok this code works and sends a result if it is higher than 99% to an email address. What I now need to do is limit the number of times a person can access the quiz if they don't score 99% …

Member Avatar for parkie
0
104
Member Avatar for sarminatorius

I don't know how to explain what i need. For example: How load/add daniweb.com header into other file for example [url]www.test.com/header.php[/url] I just need to load part of website into other php file. Could you advise what functions to use? Sorry for bad english.

Member Avatar for sarminatorius
0
74
Member Avatar for codewalkz

It's like a tree pyramid. I want to get the members sponsored by the current user. The result will be used to get its sponsored members and so on until everyone is read. How can I achieve this? I currently have this code but I can only go to level …

Member Avatar for cwarn23
0
118
Member Avatar for ptemedia

I am successfully reading and displaying a .txt file with 3 variables, lets say for example name, age and comments. When the file is written, 1 name, 1 age and 1 comment gets written on a line. Any further additions get added as a new line. When this gets read …

Member Avatar for Excizted
0
230
Member Avatar for popinthecan

I was wondering if some one could point me in the right direction with making an image show how many times it's been clicked.

Member Avatar for popinthecan
0
2K
Member Avatar for srdva59

hi, i want convert the time stamp unix format to hours and days i have this: $date = trim(date('H:i:s', $ofwhat)); $ida = trim(date('d', $ofwhat)) -1; if ($ida >0) {if ($ida==1) { $dia= $ida. " day, "; } } if ($ida >0) { if ($ida>1) { $dia= $ida. " days, "; …

Member Avatar for almostbob
0
99
Member Avatar for hickyfunkymonke

Hey there, I hope this is the right place to put this in? Anyway, Im currently using PHPMyAdmin application on the yahoo small business web hosting. Basically when I click the privelages button I recieve this errer: [QUOTE]Warning: Your privilege table structure seems to be older than this MySQL version! …

Member Avatar for pbd4499
0
450
Member Avatar for D4n1sD

I want a partner for preg_split for multiple matches. For example preg_split('/(.be|.fr|.im|.fi)/i', $input[$i], -1, PREG_SPLIT_DELIM_CAPTURE); I tried something like this but doesnt work. I want for example to search for these 5 strings and if it finds them split the string there. Anyone know?

Member Avatar for D4n1sD
0
102
Member Avatar for cobrax

hi there:twisted: i'm verry new here but i hope that there is sombody here that can help me with the following i have a fusker script called fusker.ne build in in a verry old xoops engine i wil use this script again but there is a verry hard to understand …

Member Avatar for cobrax
0
142
Member Avatar for rnrajput

[CODE]<?php $host='localhost'; //Change the user,password and database variables as desired $user='root'; $pass=''; $dbname='imagedb'; $link=mysql_connect($host,$user,$pass) or die(mysql_error()); $db=mysql_select_db($dbname) or die(mysql_error()); ?> <html> <head> <title>Uploading image to MySQL database and displaying it</title> <script src="mootools1_2.js" type="text/javascript" language="javascript"></script> <script src="ajax.js" type="text/javascript" language="javascript"></script> <link href="style.css" rel="stylesheet" type="text/css"> </head> <body> <fieldset> <legend>Upload Form</legend> <form enctype='multipart/form-data' name='frmupload' …

Member Avatar for rnrajput
0
103
Member Avatar for maii_18

Hi there, can anyone familiar with Magic Box help me. The structure of magic box within a table. I have no idea where to start with the for loop. Please help me. Please. Thank you.

0
58
Member Avatar for codewalkz

I am currently making a binary tree and I was able to create the tree. What I am facing now is " How to get the total number of children in my left side and total number in my right side ". The structure is: [CODE] 1 2 3 4 …

Member Avatar for codewalkz
0
1K
Member Avatar for shimurai

Hello everyone, I have a Counter-Strike 1.6 server and I would like to let my server admins to turn ON the server when it crashes, so I investigated a bit to do this using PHP to run an .exe on my server but I'm not very experienced at php and …

Member Avatar for cwarn23
0
237
Member Avatar for phaedrusGhost

Hi all, I have an if statement here that works well except when i try to put it inside of the code you see starting at line 7. What you see on line 1 is only the code I want to insert. The code you see at line 5 is …

Member Avatar for phaedrusGhost
0
143
Member Avatar for kukie

Hi everybody I am very new to PHP and MYSQL How can I implement : [CODE] $q=$_GET["q"]; $CMY=$get["CMY"]; ... $query=("INSERT INTO the_array($CMY, model) VALUES('$q','dddd')");[/CODE] $q and $CMY are results I get from AJAX, and I think the only way to save the results is using the DB.

Member Avatar for kukie
0
273
Member Avatar for billmudry

So far progress overall has been going well in general on my pet project I call the TAXA project (nickname for taxonomy). The heart of it is a botanical tree on all the woods of the world. Since viewing it can make it easier for any of you to understand …

0
166
Member Avatar for dalip_007

Hi i am using xampp server (php/mysql) and getting error like "Mysql packet size is 0.9990234375MB and it is lower than the size of the file GeoIPCountryWhois.csv which is 9MB. " So I want to change packet size to make it happen. can anyone please tell how to make it …

0
74
Member Avatar for BTW8892

Hey, I have yet another question, so here it is. I have a roster page, and i have multiple players on the page. The players each have a unique playerid stored in the database. Now what i want to do is link up their name on the roster list that …

Member Avatar for effu
0
85
Member Avatar for bjeffries

I have been working on this for a while now and have had no luck. I have tried this code on 2 servers and they both render the same results: everything loads up to the title and description. Does anyone know what could possibly be the problem and help me …

Member Avatar for bjeffries
0
86
Member Avatar for nevergone

Hello, I want to secure my website the most possible using htaccess. And I believe this code covers any javascript injections and external data injection. But it doesnt work. I might have gotten something wrong. Can you help me fix this please ? I looked over the internet for similar …

Member Avatar for 84hd0ns
0
55
Member Avatar for saranraj.cmr2

Hi, I would like to post the stream from my website to facebook user wall by using facebook API.. 1. I have created the facebook application 2. posted the stream by application admin .. passed the parameter which required to this function.. $this->facebook->api_client->stream_publish($comments,'From:blinkbee.com',$action_link,$f_user_id,$f_user_id); 3.sucessfully posted the stream.. 4.Then i changed …

Member Avatar for saranraj.cmr2
0
163
Member Avatar for subhashchndr
Member Avatar for chrishea
0
82
Member Avatar for bashaash

Hello everybody i am new with php and i would to help with link click counter i have a database and a table which i store some links and the i have these links play.php?id=1 play.php?id=2 i wanna to know how many times has been clicked any links for example …

Member Avatar for bashaash
0
4K

The End.