39,326 Topics

Member Avatar for
Member Avatar for LloydFarrell

Hi, can someone tell why or how I can perform a search using text from a drop down box - I can search successfully using a textbox and bring back the correct search results - But when I am using a dropdown box my search seems not to work - …

Member Avatar for vaultdweller123
0
86
Member Avatar for AkhJ

Hello Friends, Greetings. I have a search option in my website but it doesn't work properly. And i don't want to use google search in my web page. If any1 can help me in this regard that, how to make own search engine for my own website ? Thanks & …

Member Avatar for pritaeas
0
76
Member Avatar for Designer_101

Hi Im looking for a browser compatable and stable method for taking an image of a website and displaying it on my website. For example, someone submits a link and then another person visits the page and sees there website information and an image of the site itself. Perhaps like …

Member Avatar for chrishea
0
85
Member Avatar for Catlow

"Hi, I need some help with a text box input. This is used in a form to capture results from exams. I need the user to not be able to put in a amount greater than 100, is there a way of doing this?

Member Avatar for Catlow
0
75
Member Avatar for abhiraj.mm

When I call this this form in self submission the calue of the drink_id is always the last id value of the table...... How to retrive the proper value as per id ??? [CODE]<form name="drinks" method="post" action="<?php $_SERVER['SELF_PHP']?>"> <table width="100%" border="0" cellspacing="10" cellpadding="0"> <?php $d_id=1; $query01 = "SELECT * FROM …

Member Avatar for rajarajan2017
0
105
Member Avatar for iWalletMobile

Ok I need help setting up a postback script in PHP for an affiliate program. Example: [code]http://example.com//postback.php?appId=2798&userId=12345&amount=10&hash=8b44493ab7b37a6e47ca2f8726b87563[/code] How would I script something that would take the postback info and look up the user and give them the amount shown while checking the hash. I am very confused by all this …

Member Avatar for iWalletMobile
0
176
Member Avatar for benk1

Hi I have a problem as detailed below. I hope the answer is something really simple: [CODE]$connect = new PDO("sqlite:main.db"); $sql = "SELECT * FROM employee ORDER BY Surname"; echo "<table align='center' border='1'>"; foreach ($connect->query($sql) as $info) { $FirstNames=$info['FirstNames']; $Surname=$info['Surname']; $EmployeeID=$info['EmployeeID']; $TagID=$info['TagID']; echo "<tr align='center'>"; echo "<td width='16%'> $FirstNames </td>"; …

0
57
Member Avatar for danielagaba

hi a piece of code i have requires a files location and name for it to retrieve its content. instead of hard coding it i would like to simply have a window open that enables me to select it from my directory. is there a way i can do this …

Member Avatar for rajarajan2017
0
78
Member Avatar for akulkarni

Hello. I am using Easy php i am trying to connect with the following code [code] <?php $con = mysql_connect("localhost","admin",""); if (!$con) { die('Could not connect: ' . mysql_error()); } // some code ?> [/code] getting error as follows Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'admin'@'localhost' (using password: NO) …

Member Avatar for akulkarni
0
210
Member Avatar for pststerrye

When I send an email using PHP to hotmail or to my personal email, it comes through fine. The message and PDF attachment is there. When I send the same email to a google gmail account, the headers and subject seem to be intact, but there is no message and …

Member Avatar for rajarajan2017
0
155
Member Avatar for leprakhauns

Anyway I can turn off the 500 error? I have a recursive function that is being set to be called a few hundred times if possible, but before that can happen and proceed with the rest of the code it calls a 500 error. (For those interested its a dynamic …

Member Avatar for rajarajan2017
0
95
Member Avatar for trilithon

Please help? I am getting the following error when executing a mass mailing script that contains HTML as the mail content: [B]Parse error: syntax error, unexpected '>' in ... on line 14[/B] If I remove lines 14 to 27 (from <style> to </style>) I get the following error: [B]Parse error: …

Member Avatar for vaultdweller123
0
104
Member Avatar for chaitanya15385
Member Avatar for jhudson0219

I just downloaded PHP, but I am having trouble finding where to write my code. I found a website said to use php-cgi.exe. Is this right, because I can't figure out how to save nor display the code and output.

Member Avatar for rajarajan2017
0
151
Member Avatar for dan_t

Hello everyone, I'm having a little trouble here. I'm trying to use a session created from log in(the user id) and take that user id and pull out information from the data base. An example would be: (this is not the actual code, but I will wrap it anyway) [CODE] …

Member Avatar for rajarajan2017
0
110
Member Avatar for mrcniceguy

I need to display part of text from mysql: for exapmle i`m having 50characters and then i just want to display just part of it like 20characters in the first page and the remain including the first as a link to another page. That when someone clicks the link the …

Member Avatar for Martin1077
0
608
Member Avatar for chaitanya15385

[CODE]if($role=='ADMIN' && $role!='USER' && $role!='REVIEWER' && $role!='SUPERUSER') { //If match is found, log-in user and set cookies if ($num==1) { $user_id = mysql_result($result,0,"user_id"); $role = mysql_result($result,0,"role"); $user_type = mysql_result($result,0,"user_type"); $name = 'Administrator'; setcookie("user", "$email", time()+7200); setcookie("user_id", "$user_id", time()+7200); setcookie("name", "$name", time()+7200); setcookie("role", "$role", time()+7200); header( 'Location: list.php' ); } else …

Member Avatar for vaultdweller123
0
87
Member Avatar for fouzia Qayyum
Member Avatar for vaultdweller123
-3
106
Member Avatar for jtaylor-bye

Hello all. I have made a basic page in html with a table in it. The top row in the table displays a picture. When I designed and viewed it in html format the table started at the top of the page. I set the rest of the layout up …

Member Avatar for vaultdweller123
0
87
Member Avatar for aynamohol

Hi Advanced Devs, I am very new to php. This is my learning moment. So, Help me. I have added a zip folder with my files. I also have expoted my database as zipped folder. Please help me with this topics. Please. Samrat

Member Avatar for aynamohol
0
114
Member Avatar for andydeans

hi, i have a database that i have done for a client, which has about 5 CREATE VIEWS in the mysql database, i need to backup the database and then import it into a new database for another client who wants the same thing. problem i have is i can …

Member Avatar for andydeans
0
110
Member Avatar for Manny7

Hey there, i'm beginner programmer in PHP and try on my web add cool url. I've this simple rewrite rule that make from url [B]page.com/index.php?id=about[/B] this url [B]page.com/about[/B] [code] RewriteEngine on RewriteRule ^(adm|img|content)/(.*)$ $1/$2 [L] RewriteRule ^(.*)$ index.php?id=$1 [L,QSA] [/code] But now i wanna to try some harder, e.g. i've …

Member Avatar for storm123
0
104
Member Avatar for julzk

Hi all, I have a query that outputs 4 fields from a DB. Each row contains data like so: [code] $id = 1; $name = John; $items = 2; $price = 4.2; $saleprice = 2.0; $id = 2; $name = James; $items = 1; $price = 1.01; $saleprice = 1.0; …

Member Avatar for chrishea
0
184
Member Avatar for danielagaba

hi i'm trying to retrieve content from a .csv file and load it into a mysql database. i already created a corresponding table in my database with matching table names but when i try to use the following code, only one row is filled and with 0's. [CODE] <?php $connection …

Member Avatar for Manuz
0
100
Member Avatar for temkit

Hi, i find some scripts to unpack tar.gz file on ftp server by not work. How to unpack tar.gz using php some example?

Member Avatar for rajarajan2017
0
76
Member Avatar for sumit3gupta

hi , freinds ... i am stuck up with same problem new to web development and want to integrate tinymce in it ......but dont knw exactly how to do it can any1 of you can guide me to it. starting installing i didnt get 1 thing how to install gzip …

Member Avatar for pritaeas
0
137
Member Avatar for benqus

Hello! =) I have a big problem here, with PHP charset stuff. My mysql is utf8_hungarian_ci , but the php shows me only '?' and ?inDiamond signs. I guess the PHP's working incorrectly, because my MySQL returns my records just fine. Any solutions? =) Thank you!

Member Avatar for benqus
0
203
Member Avatar for masterjiraya

I registered some data in my registration.html it seems to work properly but when I clicked submit button to start an action of summarizing the registration.html to be showed up in my registration_summary.php, all it shows is just a blank white page. Why??? this the code. I write the code …

Member Avatar for rajarajan2017
0
246
Member Avatar for azegurb

Hi all, I have a problem with string comparisions for ex; this fucntion [CODE]$id=$_GET['id']; if(isset($id) && $id=benelli){ echo "benelli text"; } if(isset($id) && $id=bettinsoli){ echo "bettinsoli text"; }[/CODE] i do like above but when i got id via URL to go benelli text it writes both benelli text and bettinsoli …

Member Avatar for azegurb
0
83
Member Avatar for TLCJohn

Hi all, Sorry about this but, I need some help ASAP. I have been working on a form all day, which I built in dreamweaver CS4. Here is where I need help, on the form have a list of options in the form of checkboxes Buttons BUT when the form …

Member Avatar for rajarajan2017
0
121

The End.