39,316 Topics

Member Avatar for
Member Avatar for squarkman

I have a template for web pages which is asp.net Inside the content object or whatever it's called, it wish to place a simpe PHP form. I tried it and the PHP code doesn't seem to be recognized as PHP but as text. Can this NOT be done? [code=syntax] <%@ …

Member Avatar for serkan sendur
0
223
Member Avatar for kibosh

Hello, I'm trying to do something I thought would be very simple. I need to display a "degree" symbol as part of my PHP output, and I can't figure it out. I'm trying to use the ASCII &deg code. If I try: [code] echo &deg; [/code] I get an error. …

Member Avatar for Aamit
0
2K
Member Avatar for Kavitha Butchi

Hi All, I am trying to set background image. I retreived it from the database into $xyzimage variable and then trying it to display in the <body > tag. When i am trying to display it a tabel cell like <td> it works, but not in <body> tag. Is there …

Member Avatar for Kavitha Butchi
0
2K
Member Avatar for php2sheik

hi, is session_id is generated by javapage in one website is equal to session_id generated by phppage????.because i integrated php pages to java pages in that website. so i maitain session based on that java page. is this possible to session_id from java page to php page, if i get …

Member Avatar for digital-ether
0
181
Member Avatar for rajeesh_rsn

I am a web designer and Programmer.... I would like to make a web server in my office... I am newbie in this. I want to register a domain and need to make a web server and make my hard disc as server.... Please help me..... I had a 2 …

Member Avatar for jbennet
0
69
Member Avatar for veledrom

I don't want to repeat writing $value in if statement. Is there any way to write once and add conditions like below? Thanks [code] if ($value==1 || $value== 2 || $value== 3) { echo "I don't want this way"; } if ($value==1 || 2 || 3) { echo "I want …

Member Avatar for veledrom
0
67
Member Avatar for shab.s3udi

hi, Just for the history : I am a new to apache. And I am responsible for this new server. um... I don't know if this is the right section to post my questions or not. Howere, here they are: 1. some libraries or packages installation instruction says : you …

Member Avatar for slacke
0
144
Member Avatar for mm2409

Hi, i have a html form for questionnaire whr i have few question. each one has 2 radio button (yes/no). if value for radio button 'yes' is selected then activate text box to write the comment. if radio button is selected for 'No' then text box should be disable. similarly …

Member Avatar for mm2409
0
934
Member Avatar for justted

Hello everyone, I am setting up a section of coding in which I need to add and subtract certain values to a mysql field. However ...the code only seems to add negative numbers (-13.0) as a postive number to the database and its really confusing me now! :( What I …

Member Avatar for justted
0
2K
Member Avatar for rouse

I am trying to get a row from a table based on the record number, a unique ID in a table which is passed from another form. The record number seems to be passed correctly and is received on the forwarding page. The query in the PHP page does not …

Member Avatar for Aamit
0
155
Member Avatar for 50tips

Hi, I have installed wordpress multiuser script on my vps host. when a user tries to upload a file, the script will create new folder, the new folders begin created are under apache ownership, that's why they are not accessable by normal users. can someone guide me how to set …

Member Avatar for cron410
0
77
Member Avatar for duhasteme

Why do some of the link here does not work... [url]http://patrick33.freehostia.com/[/url] click on videos...categories...members.. this is a very popular script and I am sure a lot of you guys out there would be familiar with it. Thanks in advance. Patrick.

Member Avatar for martin5211
0
86
Member Avatar for kibosh

Good afternoon, I'm hoping you guys can help me out with a simple problem. I am working on my first AJAX powered app, and I'm having a problem with the PHP portion. I am passing a value "q" from my app, that should return a Country name. Instead, I get …

Member Avatar for kibosh
0
121
Member Avatar for blunt57

Hi all I am a beginner with mark up and am trying my hand at HTML, Javascript and PHP. Currently I am copying source code from sites so I can learn and understand the code and rebuild the sites with my own content. Just recently I came across a site …

Member Avatar for snadboy6371
0
1K
Member Avatar for Kavitha Butchi

Hello all, For creating dynamic title tags, I tried using [code=php] <title>welcome<?php echo '$pagetitle';?></title> </head> <body> : : <?php : $pagetitle = '$row[2]'; ?> //closing rest of the tags. [/code] I get nothing displayed on title ! So i changed the code to, [code=php] <html> <head> </head> <body> : : …

Member Avatar for Kavitha Butchi
0
200
Member Avatar for mm2409

dear frnds, i hace wrote this code to generate unique id for questionnaire and a query to save it into database with two more value (response id and date) individually i have checked and unique id function is working. even insert query is also executing correctly. but when i put …

Member Avatar for xarz
0
158
Member Avatar for JRiga

I'm trying to develop a game that can be played by 2 players on different clients, and I can't figure out the mechanism how the server can communicate to both sites for the same game. A move on one browser gets communicated to the server, and the server must reply …

Member Avatar for JRiga
0
117
Member Avatar for nil_gh_80

Hello friends, I've a category table, the structure is: category{ id int(11) autoincrement, name varchar(255), parentid int(11); } Now a node can have multiple child nodes and grand child nodes. now if I want to get all childnodes and grandchild nodes of a node id what should i do ??????? …

Member Avatar for chrisranjana
0
154
Member Avatar for webdude12

I have a PHP script I am trying to convert to PERL and need some help. Here is the code in PHP [code] $store_list_name = $prod[10]; $category = $prod[11]; $sub_category = $prod[12]; $searchfor = $store_list_name . "->" . $category . "->" . $sub_category; $getcat = mysql_query("SELECT * FROM categories WHERE …

Member Avatar for chrisranjana
0
117
Member Avatar for nishant52

I want to pass my form data to default file of a directory. For eg:- My default file for a directory is "Default.php". If i give, <form action="Directory"> </form> , then the form data should be passed to "Default.php". Is this possible ?? If so how ??

Member Avatar for xarz
0
138
Member Avatar for addsf1

I keep getting this message what is wrong with my sacript??? Parse error: syntax error, unexpected $end in /home/sites/thefieldinggallery.co.uk/web/contact_form.php on line 65 here is the php script: [code=php]<?php /* subject and email Variables */ $emailSubject = 'Crazy PHP Scripting'; $webMaster = 'info@thefieldinggallery.co.uk'; /* Gathering Data Variables */ $nameField = $_POST['name']; …

Member Avatar for peter_budo
0
146
Member Avatar for websurfer

Hello, all: was wandering, how can I have php create a thumb frame of a movie?? (like youtube where only a frame of the movie appears which then when you click takes you to the movie itself to play...) I am looking to create a small gallery of movies, but …

Member Avatar for digital-ether
0
288
Member Avatar for Anil4u

Hi all, How to add google adsence module in Drupal, please can anyone help me, when i integrated then it asking for Google AdSense client ID, register in google adsence , but i have not that client id, please help me for this, i am able to test in the …

Member Avatar for digital-ether
0
57
Member Avatar for Aamit

[code] <?php if(isset($_POST["send"])) { $name = $_POST["name"]; $email = $_POST["email"]; $msg = $_POST["msg"]; echo(" Hello!<br />"); if(empty($name)) { echo(" - There was no name!<br />"); } if(empty($msg)) { echo(" - There was no message!<br />"); } // IF THEIR ARE NOT EMPTY if(!empty($name) && !empty($email) && !empty($msg)) { //code for …

Member Avatar for digital-ether
0
119
Member Avatar for asifkamalzahid

ftp_ssl_connect problom i run my php program for uploading file from my server to another server. it works with normal ftp connection but it has problom with ftp_ssl_connect function. it gives me an error u calling an undefined function (ftp_ssl_connect) i read the follwing information on the php.net site about …

Member Avatar for xylude
0
119
Member Avatar for parhs

Hello. I have downloaded some ready projects and i saw that they seperate html from php. They are echoing everything through a class.For example they make a class for <html> tag for <body> etc. This is driving me insane.Whats wrong with just having some classes and then mix html and …

Member Avatar for parhs
0
146
Member Avatar for tuse

Hi! I am using a code to echo a row in a database table using ajax. The code is working correctly. The ajax will send the response text as follows- [code] document.getElementById('outputText').innerHTML = httpObject.responseText; [/code] My question is how can I retrieve individual fields into separate Id's?

Member Avatar for tuse
0
79
Member Avatar for stealthmode

Hi all, I put some initial values in a form field to help the user, i use php to extract the form data and send it via email. How do i get the initial value in the text field to stop appearing in the email. example, I have a name …

Member Avatar for sikka_varun
0
93
Member Avatar for parhs

Hello.. I couldnt find anything for this topic. I know how to connect to a mysql database and close the connection.But that means that for every script a connection should be established and closed. Is this right and ok for big projects? About 200 concurrent users for example; Having a …

Member Avatar for pkpandit
0
125
Member Avatar for haru-chan

I have a string that should control if the checkbox array is checked or not when i open the page... I made a string which contain a value of 0 & 1 and deal with the string as an array if 1=checked note: I retreive my checkbox values from the …

Member Avatar for haru-chan
0
70

The End.