39,316 Topics
| |
is it possible to use php as a client side scripting language? if it possible, how can i read values releated with the form? | |
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. … | |
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 … | |
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? | |
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"; … | |
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 … | |
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 … | |
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 … | |
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='' … | |
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 | |
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, … | |
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 … | |
:) 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 … | |
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 … | |
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)):'')+ … | |
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'] . … | |
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 … | |
: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???? | |
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; … | |
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 … | |
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 … | |
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" … | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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] … | |
[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] |
The End.