39,320 Topics

Member Avatar for
Member Avatar for masterjiraya

POSTBACK.php [CODE=PHP] <?php $q=$_GET['q']; $words=explode(' ',$q); //$words2 = "'%".implode("%','%",$words)."%'"; //echo $words2; $con = mysql_connect('localhost', 'root', '')or die('Could not connect: ' . mysql_error()); mysql_select_db("ajax_demo", $con)or die('cannot connect'); //$sql = 'SELECT * FROM `ajax_demo_table` WHERE `FirstName` LIKE CONVERT(_utf8 '%'.$q.'%' USING latin1) COLLATE latin1_swedish_ci OR `LastName` LIKE CONVERT(_utf8 '%'.$q.'%' USING latin1) COLLATE latin1_swedish_ci'; …

Member Avatar for masterjiraya
0
97
Member Avatar for DarkBerzerk

I'm Editing little PHP and SQL script so if the code in the db is [CODE]`crystals` int(11) NOT NULL default '0',[/CODE] and in the php script is [CODE]$_POST['crystals']=(int) $_POST['crystals'];[/CODE] and other code in db is [CODE] `class` enum('Knight','Archer') NOT NULL default 'Knight',[/CODE] What the php script will be (in the …

Member Avatar for vibhaJ
0
94
Member Avatar for PixelatedKarma

G'd evening, So I built this script and figured that I had it all figured out, styled it with css only to find out something is messed up. The php script is set so that it retrieves a value from a mySQL database and if it is 0 the site …

Member Avatar for vibhaJ
0
154
Member Avatar for ebanbury

Hi I'm trying to practise with this form, which will eventually be part of a much larger form. What I'm trying to do is to validate my reg_agent field in which a user can choose whether they are an agent or private. The validation is supposed to say that when …

Member Avatar for ebanbury
0
141
Member Avatar for pbcomput

Hello I want to convert the date formate from Wed Jun 15 2011 00:00:00 GMT 0530 (India Standard Time) to 06/06/2011 I have done something like this [CODE] $chkdt = "Wed Jun 15 2011 00:00:00 GMT 0530 (India Standard Time)"; $month = substr($chkdt,4,3); if($month == 'Jan') $month = '01'; else …

Member Avatar for almostbob
0
4K
Member Avatar for patraghost

Its kind of complicated.well iam trying to create a search form,where the output will be like : Found (a number) results: Name: Surname: [View Button1] Name: Surname: [View Button2] and so on,depented on the results of query. i am calling a fun on pageload.in that i create the buttons,and i …

Member Avatar for masterjiraya
0
167
Member Avatar for DarkBerzerk

Ok i want freedomain to test on so i dont care if its domainname.blabla.com i just need some good domain to test on , i was testing on freehostia but they dont allow crons i want some one have php,sql (at least one free server allowed)and crons aaaaan no ads …

Member Avatar for DarkBerzerk
0
131
Member Avatar for yongj

So for my website I'm trying to have a page where the user can type in literally anything and the page would output a list of stock symbols that are close to the input. Anything unrealistic (e.g. 3548 random letters) would obviously not work but if the user were to …

Member Avatar for yongj
0
76
Member Avatar for dyingatmidnight

Hello all, I've been using Chrome to develop a database website for a school project and I've been having a couple of issues. The first being refreshing. When I logout or login I have to refresh the page for it to pick it up. Or if sometimes I'm logged in …

Member Avatar for dyingatmidnight
0
109
Member Avatar for jrotunda85

I recently moved a script I created for Google Maps over from my development site and I changed the information in the mysqli line and now I'm recieving an error mesage -- any idea what's going on here? Here's the error message: [CODE]Warning: mysqli::mysqli() [mysqli.mysqli]: (28000/1045): Access denied for user …

Member Avatar for diafol
0
367
Member Avatar for mrcniceguy

WELL GUYS,I HAVE A NAVIGATION IN MY WEBSITE WHICH IS SIMPLY A <UL> LIST. ALMOST EVERYTHING WORKS WELL,EXCEPT WHEN I WANT TO SHOW THE CURRENT PAGE WHICH IS BEING VIEWED,...I HAVE SUCCESSFULLY IMPEMENTED THE FUNCTIONALITY IN PHP WHICH CAN DETECTED THE PAGE BEING VIEWED BUT THE PROBLEM IS CSS WHERE …

Member Avatar for diafol
0
120
Member Avatar for dyingatmidnight

Urg, I will so happy when I'm finished this project, I feel like I'm spamming you guys every couple of days. So I have a couple date values in my tables. And I'm trying to do some calculations with them. Which are working fine. But I'm retuning the number of …

Member Avatar for dyingatmidnight
0
278
Member Avatar for Jollyyy100

Hi, i have a login section made through layers and tables within dreamweaver. At the same place i have a login button (i have coded it and it works all right) but at the moment i have an issue, because when i sign in the login section which says enter …

Member Avatar for Jollyyy100
0
172
Member Avatar for heshanm

HI all, I have a small problem regarding my php project. There is a page called [B]open_account.php[/B]. It contains all customer data such as NIC, full_name, date of birth, gender etc. When a user fills all the fields in that form it redirects to another page called [B]new_account.php[/B]. There are …

Member Avatar for heshanm
0
224
Member Avatar for muralibobby2015

hello... i am developing one realestate website. in there the properties will syndicate in to another web sites like yahoo-realestate,zillow. so how can i syndicate my properties in these sites. thanks.

Member Avatar for twiss
0
118
Member Avatar for ciokhan

hello i need one of 2 things. either to make a table which changes its background color to black when the mouse enters the table and when the mouse is out, the background color should be transparent again OR i want a table with permanent transparent color like this site …

Member Avatar for twiss
0
241
Member Avatar for kurtopia

can you help me with this. i have used tcpdf but i dont know how to read the contents of the .doc, .pdf contents and put it in a single pdf for the user to download it. Please help me.. thanks

Member Avatar for twiss
0
67
Member Avatar for bangla

PHP..... I have a mysql table which has two columns: NAME, ADDRESS. i want to assign the both column names into variable. if i give one column name and it works as below. $yourfield = "NAME"; //it prints value of NAME column I want to retrive values of both column. …

Member Avatar for pbcomput
0
114
Member Avatar for vganeshvenu

Hi all, Can anybody help me out how to export multiple excel sheets in a single xls file using php and taking datas from mysql table. thank you

Member Avatar for masterjiraya
0
280
Member Avatar for masterjiraya

I don't have any syntax error with this code on my PHP file.. I have only a problem when it comes to output of the search query error messaging... here's the code postback.php [CODE=php]<?php $q=$_GET['q']; $words=explode(' ',$q); $con = mysql_connect('localhost', 'root', '')or die('Could not connect: ' . mysql_error()); mysql_select_db("ajax_demo", $con)or …

Member Avatar for masterjiraya
0
256
Member Avatar for Suetan

Here's my problem. I have a program that integrates HTML with PHP script by ending the PHP, and going with straight HTML code, and then going back to PHP. This should be all well and done, except for the part where after I start the PHP script, it doesn't display …

Member Avatar for diafol
0
571
Member Avatar for MavrickIT

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/dhenter/public_html/zshop/index.php:6) How could i solve this issue? check this link please: [url]http://d-h-enterprise.com/zshop/[/url]

Member Avatar for diafol
0
158
Member Avatar for solvesak

The code given below is showing error: Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'group,type) SELECT ex_tax.username,ex_tax.exp_id,exp' at line 1 [CODE]$sql="INSERT INTO ex_cat (username,exp_id,used_category,group,type) SELECT ex_tax.username,ex_tax.exp_id,ex_tax.category,ex_tax.group,ex_tax.type FROM ex_tax WHERE ex_tax.username='$uname' AND …

Member Avatar for solvesak
0
100
Member Avatar for saadi06

Hi, Can anyone tell me that how we can check that flash player is installed or not in php.I have searched a lot but could not find anything.Please Help. Thanks in advance

Member Avatar for diafol
0
296
Member Avatar for lokodomain

Working in the WAMP test server enviroment. I want to be able to register, login and logout from any where in the site, so I included the login form with relative URLS in the header.php file. This all works fine on the root directory but breaks as soon as you …

Member Avatar for diafol
0
114
Member Avatar for Jollyyy100

Hi, i have a login page which i designed in dreamweaver. When i connect my php to the dreamweaver everything is ok. Here i need help when i press on my login button, currently when i click it, it takes me to another blank page and says login successful. But …

Member Avatar for Jollyyy100
0
346
Member Avatar for MavrickIT

Here is the project link: [url]http://d-h-enterprise.com/zshop/[/url] user:admin pass:123456 After login I am getting errors those below here Warning: Cannot modify header information - headers already sent by (output started at /home/dhenter/public_html/zshop/menubar.php:4) in /home/dhenter/public_html/zshop/login_c.php on line 26 Warning: Cannot modify header information - headers already sent by (output started at /home/dhenter/public_html/zshop/menubar.php:4) …

Member Avatar for twiss
0
81
Member Avatar for ibakir

i'm working on adobe dreamweaver cs5 and i create a dynamical table contain a lot of training courses , any way if i click on one of those text it will go to the registration page and showing me the text that i clicked on connected with the text ID …

Member Avatar for ibakir
0
197
Member Avatar for epicrevolt

Alright, So I am making a website that will have groups of pages, on those pages it will have the ability for a user to paste a Facebook page URL. How would I go about using their API to retrieve that pages news feed? It baffles me that Facebook expects …

Member Avatar for twiss
0
189
Member Avatar for Jiaxin

Hello, I need help with this. If in my form i put this, <td><input type="text" name"Example" id="Example"></td> and my sql what would i put? Mine is, $insertQuery = "ALTER TABLE atable ADD column '$example' INT"; this is the error shown, You have an error in your SQL syntax; check the …

Member Avatar for almostbob
0
91

The End.