39,316 Topics

Member Avatar for
Member Avatar for Anvar.P

is it possible to use php as a client side scripting language? if it possible, how can i read values releated with the form?

Member Avatar for Will Gresham
0
108
Member Avatar for laetitia--

Hello, I am pretty new to php I have to restructure all my code to avoid the famous warning error [INDENT]"Warning: Cannot modify header information - headers already sent by (output started at...)" [/INDENT] I get this at least 4 times in my code due to cookies and session start. …

Member Avatar for laetitia--
0
137
Member Avatar for Arctic wolf

Hello everyone, I'm new to PHP and having a very basic problem of instaling the web server correctly. Now,I tried to run PHP 5.2.9 , The instalation program asked me to choose a web server and for not having much understanding in this I chose apache 2. The problem was …

Member Avatar for Arctic wolf
0
139
Member Avatar for IfNot

I am a new to php and i've managed to populate a combo/list box with data via mysql but i can't find a way to display a tooltip or description with the onmouseover event. Any ideas?

Member Avatar for IfNot
0
60
Member Avatar for khr2003

Hi I am trying to modify a class and I found this code in it: [CODE] $query = " SELECT * FROM menus WHERE show = '1'"; $id = $this->menuid; if((isset($id)) && ($id != '')) { $query .= " and menuid in($id)"; } $query .= " ORDER BY menuorder ASC"; …

Member Avatar for khr2003
0
120
Member Avatar for justted

Hello all, My website has a feature in which I can turn on/off a feature which allows members to add their own CSS code for their profile design! If possible I want to allow this as it would mean a much better platform for my members but I wanted to …

Member Avatar for digital-ether
0
157
Member Avatar for sam023

Hello I want to get response or content of a url..!!! [code=php] $url="http://203.142.18.33:4480/3030service/airtel.php?mobile=".$mobile."&msg=".$msg."&from=".$from; $file=file($url) ; print_r($file); [/code] but i got an error [function.file]: failed to open stream: HTTP request failed- Response of the file..!! with file_get_contents it showing same error..!! is there any method other to get the response..!! with …

Member Avatar for digital-ether
0
2K
Member Avatar for jamello

I have a feeling this question is an age long one. Please forgive me:D I have IIS and Apache on my computer. Apache would refuse to run unless I stop IIS. I had tried changing the default port number of Apache from 80 to 8080 in the httpd.conf file but …

Member Avatar for digital-ether
0
201
Member Avatar for khr2003

Hi I am trying to run this query: [CODE]mysql_query("update group_data set title='$title', desc='$title' where groupid='$groupid'");[/CODE] but the problem is that I get this 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 'desc='' …

Member Avatar for Josh Connerty
0
84
Member Avatar for ubest25

Hello, I'm building a real estate website and need to know how you display the results of the IDX feed once my search parameters have been sent. This is my first time working with IDX and i'm completely lost. Any help would be greatly appreciated. Thanks in advance

Member Avatar for kvprajapati
0
39
Member Avatar for mccs

Hello can someone please help me, I am trying to add information to a database with checkbox. I have every thing working expect for the checkbox. I am fairly new to the php/sql side of web coding. Anyway I want to add information to the one field of a database, …

Member Avatar for mccs
0
563
Member Avatar for sarithak

Hi frnds... first of all sorry for posting this query in this php forums...i dont know where can i need to post this one. i am new to Joomla.till now i worked for php,mysql,ajax. But, now i need to do my next project in [B]JOOMLA[/B]. plz give me some suggestions …

Member Avatar for kvprajapati
0
60
Member Avatar for furqan219

:) this page name is search.php which gets siteID from the databse and show in LISTBOX. [CODE] <form action="site_report.php" method="post"> <?php $con = mysql_connect("localhost","xxxx","xxxx"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("onm", $con); $query="SELECT SiteId FROM SitePInfo WHERE Region='Central 1' "; $result = mysql_query ($query); echo "<select …

Member Avatar for furqan219
0
287
Member Avatar for VernonDozier

I have a webpage that is passed a string: [code] http://www.mywebsite.com/gallery.php?gallery=Sand_&_Surf [/code] Using the GET method, I am trying to do this: [code=php] $gallery = $_GET['gallery']; [/code] I want to store "Sand_&_Surf" in the [ICODE]$gallery[/ICODE] variable. From there, I do a database query and display all the paintings that are …

Member Avatar for VernonDozier
0
105
Member Avatar for nthomas

I am using Joomla and trying to incorporate Google Website Optimizer code within content to test site images and text content. Below is the Control Script (note the Bolded Section): [code] <script> function utmx_section(){}function utmx(){} (function(){var k='0241650748',d=document,l=d.location,c=d.cookie;function f(n){ if(c){var i=c.indexOf(n+'=');if(i>-1){var j=c.indexOf(';',i);return c.substring(i+n. length+1,j<0?c.length:j)}}}var x=f('__utmx'),xx=f('__utmxx'),h=l.hash; d.write('<sc'+'ript src="'+ 'http'+(l.protocol=='https:'?'s://ssl':'://www')+'.google-analytics.com' [B][COLOR="Red"][B]+'/siteopt.js?v=1&utmxkey='+k+'&utmx='+(x?x:'')+'&utmxx='+(xx?xx:'')+'&utmxtime=' +new Date().valueOf()+(h?'&utmxhash='[/B][/COLOR][/B]+escape(h.substr(1)):'')+ …

Member Avatar for almostbob
0
80
Member Avatar for tulipputih

Hi, Anyone can help me?..must be easy for most of you. instead of just displaying data from the database in a table, i want to make it varies..some in textbox, some in text area. this is my code: [code=php]<?php $query= mysql_query(" SELECT * FROM office WHERE officeID='" . $_GET['officeID'] . …

Member Avatar for Atli
0
151
Member Avatar for adamramadhan

can sombody give me a great example to make a connection php - mysql ( oop - best practice ) ? [ICODE]<?php /* Database Connection */ class db { private $db['host']='localhost'; private $db['user']='root'; private $db['pass']=''; private $db['name']='build'; public function connect($db['host'],$db['user'],$db['pass']) { $db['connect'] = mysql_connect($db['host'],$db['user'],$db['pass']); if (!$db['connect']) { printf("Cannot connect to …

Member Avatar for adamramadhan
0
135
Member Avatar for vnnguy

:rolleyes: nothig at all I dont know what to do ? dont know anythig about PHp ? To start my doing Php , what i need ? Do i have to install mySQL in my computer or anythig else ? Just tell me tools what i need to learn Php????

Member Avatar for jamello
-1
266
Member Avatar for zido85

i have this code, im using jquery which im not very familiar and i need help please:D [code] <html> <head> <title>Select and drag?</title> <style type='text/css'> body,html { color:#333; font-family:Calibri; font-size:11px; } .panel {float:left;width:200px;margin:20px;} ul { list-style-type:none; border:1px solid #999; background:#ccc; padding:20px; min-height:150px; width:100px; } li { display:block; border:1px solid #999; …

Member Avatar for Josh Connerty
0
2K
Member Avatar for Gary888

Hello, This is a JavaScript/PHP question so I will go ahead and post it here. I would like to know if it is possible to access (in a PHP class) a value/variable that has been returned by a JavaScript function. The function is in external .js class. Here what I …

Member Avatar for Gary888
0
1K
Member Avatar for lonestar23

I am trying to parse a XML document but can not seem to parse both Childnodes and Attributes in the same Foreach statement. ===================== PHP CODE ===================== [CODE] <?PHP $webResults = $response->getElementsByTagName($prnt0); if ($webResults->length<>0) { foreach($webResults as $value){ $title = $value->childNodes->item($child1)->nodeValue; } } ?> [/CODE] Need the title childnode and …

Member Avatar for ShawnCplus
0
2K
Member Avatar for furqan219

hi this is a form.php [CODE=html]<html><body><font face=Arial size=2> <form method="post" action="contact.php"> <table bgcolor=#ffffcc align=center> <tr><td colspan=2><strong>Contact us using this form:</strong></td></tr> <tr><td>Department:</td><td><select name="sendto"> <option value="info@mycompany.com">General</option> <option value="support@mycompany.com">Support</option> <option value="sales@mycompany.com">Sales</option> </select></td></tr> <tr><td><font color=red>*</font> Name:</td><td><input size=25 name="Name"></td></tr> <tr><td><font color=red>*</font> Email:</td><td><input size=25 name="Email"></td></tr> <tr><td>Company:</td><td><input size=25 name="Company"></td></tr> <tr><td>Phone:</td><td><input size=25 name="Phone"></td></tr> <tr><td>Subscribe to<br> mailing list:</td><td><input type="radio" …

Member Avatar for Atli
0
203
Member Avatar for kings

hi so far i have done only small php application.now i want to learn cake php.i dont have any idea..... can anyone suggest a website to learn cake php from the intro. thanks in advance.

Member Avatar for Atli
0
108
Member Avatar for tulipputih

Hi all.. really need a help. this is looks easy peasy but I can't solve it :( I want to make a link from lesson ID to a details of the selected lesson ID. [icode]<td> "<a href='details.php?lessonID=". $lessonID ."'> </a>" </td>[/icode] when I run the coding the following error appear …

Member Avatar for navi17
0
239
Member Avatar for StNick

Hi all, I have a web app that is used in a number of countries, including ones such as Brazil, where the comma is used as a decimal separator. This is causing problems with my SQL queries, as it is trying to update a number field with "0,013" when it …

Member Avatar for StNick
0
104
Member Avatar for elanorejoseph

i always get some problem when i try to create a edit link and corresponding page. now the value to be edited are not shown in the edit form, and i do want to return to the same page where i have selected value to editted .can any one help …

Member Avatar for Atli
0
114
Member Avatar for SKANK!!!!!

im trying to get the username of the personal profile. the url is example.com/theusername/index.php the "theusername" i want to make into a variable. How do i do that? i want the variable to be called "theusername" so how do i make that into a variable? does anyone know? with php …

Member Avatar for SKANK!!!!!
0
201
Member Avatar for theworx

Hi I am using OsCommerce v2.2 for the last two months. Site: [url]www.musictonourish.com[/url] Via the admin console I cannot add new products. Products are added and deleted via the console, but these adding of new products does not show up in the browser view. Previously I did have error 1054 …

Member Avatar for Josh Connerty
0
88
Member Avatar for wilbery

I need help Im trying to get a form to work with PHP and it doesnt seem to be working. I fill out the form and click submit. It changes to a blank white screen not displaying the thank you page or email the form fields. Any ideas? Thanks [code] …

Member Avatar for Josh Connerty
0
162
Member Avatar for nish123

[B]just a small query... how to get User's login time and logout time...??? as well as how to know whether particular user in Logged in out..?? Thnx[/B]

Member Avatar for Josh Connerty
0
3K

The End.