52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for maofree

Hi to all I use a cms and I want to modify an its module. I need to pass a variable to a xml file (this xml is necessary for a flash slideshow), like the value of a folder like '/example' If I create a system variable in php and …

Web Development cms flash php xml
Member Avatar for maofree
0
338
Member Avatar for newn01

Hi. I've been looking for a code, and found something, edited it a little bit and came up with nothing, so here's the original version of it: [CODE] <?php $dbLink = new mysqli('localhost', 'usr', 'pwd', 'dbName'); if(mysqli_connect_errno()) { die('Failed to connect to MySQL: ' . mysqli_connect_error()); } $sql = "SELECT …

Web Development php sql
Member Avatar for newn01
0
178
Member Avatar for EricIskhakov

Hey guys, sorry i know it doesn't belong on PHP but there is no general discussion. i am having trouble to understand this licenses. I am building a website for public use. with profit included. can i use a jQuery lib for my site? (it's licensed by MIT or GPL …

Web Development php
Member Avatar for EricIskhakov
0
142
Member Avatar for EricIskhakov

Hello. i made an swf (With ActionScript 3.0) that exchanges data with php file. The swf works perfectly fine when on my local host but when i embed the swf in a the page the swf doesn't work. The swf runs a php file ( [url]www.mywebsite.com/mypage.php[/url] ) and recives data …

Web Development actionscript php
Member Avatar for EricIskhakov
0
115
Member Avatar for jrotunda85

I am setting up a database currently and I want frequently used values stored in a Code table on my database. The Code table is setup with the following columns: Type_CD" , "Code" , "Description". For example, if I wanted to pull a list of states, I would want all …

Web Development html-css php
Member Avatar for diafol
0
193
Member Avatar for malipia
Member Avatar for bangla

hi, I have xampp/eclipse/windowsxp. below code does not send any email. I dont know whether i need to do something with php.ini file. or i need mail server. I am new to this. When i run the following code in eclipse, i get message saying Mail Sent but i never …

Web Development php
Member Avatar for bangla
0
142
Member Avatar for newbiecoder

Hello, I just installed XAMPP to a Windows 7 computer and I am trying to learn some PHP. I go to C:/xampp/htdocs and create a file named [B]phptest.php[/B]. And I write inside this code : [CODE]<HTML> <HEAD> <TITLE>PHP Testing</TITLE> </HEAD> <BODY> <?php echo “If this works, we <i>really</i> did it!”; …

Web Development apache php
Member Avatar for newbiecoder
0
176
Member Avatar for Sorcher

Link to the page [CODE]<a href="http://xxxx.com/u/'.$_SESSION['loginid'].'/index.php?user='.$_SESSION['loginid'].'">test</a>[/CODE] index.php [CODE]<?php if (isset($_GET['user'])){ define("HOST", "xxxx.xxxxxxx.com"); define("DBUSER", "xxxxx"); define("PASS", "xxxx"); define("DB", "xxxx"); $conn = mysql_connect(HOST, DBUSER, PASS) or die('Could not connect !<br />Please contact the site's administrator.'); $db = mysql_select_db(DB) or die('Could not connect to database !<br />Please contact the site's administrator.'); $user = …

Web Development mysql php
Member Avatar for Sorcher
0
316
Member Avatar for 123mehran

hi I have two webforms when a user fill the webform1 and get webform2( through submit )if user click return(get webform1) i want to show user the webform1 info that user filled first time. (i want to keep webform1 info when user go to webform2 and return to webform1) what …

Web Development asp.net
Member Avatar for 123mehran
0
89
Member Avatar for cristi08

[CODE] $id_subramura1=$row['id_subramura1']; $display_block.="<li><a href=\"".$_SERVER["PHP_SELF"]."?id_subramura1=" .$id_subramura1."\">".$Denumire_Subramura1."</a></strong></li>"; print_r($_GET); if($_GET["id_subramura1"] === "") echo "a is an empty string\n"; if($_GET["id_subramura1"] === false) echo "a is false\n"; if($_GET["id_subramura1"] === null) echo "a is null\n"; if(isset($_GET["id_subramura1"])) echo "a is set\n"; if(!empty($_GET["id_subramura1"])) echo "a is not empty";[/CODE] How it possible to echo "a is null" when is …

Web Development php
Member Avatar for zizuno
0
200
Member Avatar for jrotunda85

I am trying to define and pass through (I think that's the term) a variable from my login page to other parts of my site. Right now, the user logs in providing their username/password combination and those variables are able to be used. What I want is if a login …

Web Development php session
Member Avatar for pixelsoul
0
247
Member Avatar for jrotunda85

Hey everyone, I'm relatively new to PHP coding and I have a question I've been having trouble finding the answer to - it may be I'm not sure [I]exactly[/I] what I'm needing or what it's called. I am trying to create a very rudimentary login in system where users will …

Web Development php session
Member Avatar for jrotunda85
0
208
Member Avatar for Lioshenka

Just a quickie - is there a freely available WYSIWYG editor I can use on my site? I want it to be written entirely in PHP - no other languages e.g. JavaScript. Is it technically possible to avoid JavaScript? All of the editors I have seen use JS in one …

Web Development cms php
Member Avatar for Lioshenka
0
187
Member Avatar for Misklahr

Hi I have a website that has a get.php file that echoes out the specific image i want Here is the code: [CODE]$id = addslashes($_REQUEST['id']); $image = mysql_query("SELECT * FROM items WHERE id=$id"); $image = mysql_fetch_assoc($image); $image = $image['image']; header("Content-type: image/jpeg"); echo $image;[/CODE] To get an image from the database …

Web Development image php
Member Avatar for Misklahr
0
103
Member Avatar for Awah Mohamed

hey people. okay, i am designing a social network. but i got a problem in my signup code. check this is the form code : [CODE] <script src="../../../SpryAssets/SpryValidationTextField.js" type="text/javascript"></script> <link href="../../../SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" /> <script src="../../../SpryAssets/SpryValidationSelect.js" type="text/javascript"></script> <link href="../../../SpryAssets/SpryValidationSelect.css" rel="stylesheet" type="text/css" /> <div id="signup"> <div id="CollapsiblePanel1" class="CollapsiblePanel"> <div class="CollapsiblePanelTab" tabindex="0" …

Web Development javascript php
Member Avatar for Awah Mohamed
0
216
Member Avatar for andyhunter

<form name="contact_form" method="post" action="./contact/mailer.php" onSubmit="return evalid()"> <table border="0"><tr> <td>First Name *</td> <td colspan="2"><input name="fname" type="text" size="30" /></td> </tr><tr> <td>Last Name *</td> <td colspan="2"><input name="lname" type="text" size="30" /></td> </tr><tr> <td>Your E-mail *</td> <td colspan="2"><input type="text" name="mail" size="30" /></td> </tr><tr> <td>Phone</td> <td colspan="2"><input name="phone" type="text" size="30" onkeypress="return numere(event)" onkeyup="return limitarelungime(this, 12)" /></td> …

Web Development image php
Member Avatar for smantscheff
0
110
Member Avatar for Joe34

Okay. I have a whole list of products. Some are the same thing ie: same titles I have a form where people search for the products. I organize the products by a rank I give each product when they are first created. I want to group up the products. For …

Web Development mysql php
Member Avatar for smantscheff
0
90
Member Avatar for devinodaniel

Hello friends, Props to anyone who can help me out on this because I have a feeling it's going to be quite complicated. I've searched and searched and can't seem to find the right answer so I've decided to resort to the brilliance of these forums. Here's my scenario: I …

Member Avatar for devinodaniel
0
1K
Member Avatar for cristi08

I have a tree that is not working to third level....something it wrong with the $_GET id_subramura1 [CODE] $display_block.="<li><a href=\"".$_SERVER["PHP_SELF"]."?id_subramura1=" .$id_subramura1."\">".$Denumire_Subramura1."</a></strong></li>"; } [COLOR="Green"] if (isset($_GET["id_subramura1"])) { if($_GET['id_subramura1']==$id_subramura1)[/COLOR] $query2 = "SELECT * FROM subramura_2 where id_subramura1='".$id_subramura1."' order by Denumire_Subramura2"; if(isset($query2) && !empty($query2)) { echo"<!--" . $query2. "-->"; $result2= mysql_query($query2) or die …

Web Development php
0
69
Member Avatar for weekendrockstar

Sorry for the crappy title but it was the best that I could come up with for this. It could be quite easy to someone but I'm wracking my brains out on it. Background: I have a script that shows dynamic articles. The rows for each has the author, title, …

Web Development php
Member Avatar for blocblue
0
90
Member Avatar for ellenski

Here is what my page is suppose to look like. There are clickable tabs at the top namely: Home, About, Contact Us. When I click on the About tab for example, the content for the About would be displayed. However, the content for the Home tab is still there. I …

Web Development html-css php
Member Avatar for zizuno
0
164
Member Avatar for stebentje

Hello I'm using a form with a dropdown list. When the user select "Test1" in the dropdown then press the button "Submit" it has to send the data to [url]www.test1.com[/url]. When the user select "Test2" in the dropdown then press the button "Submit" it has to send the date to …

Web Development php
Member Avatar for HemantPHP
0
104
Member Avatar for tcollins412

i have this code: [CODE]<?php session_start(); $id=$_SESSION['uid']; include "dbconnect.php"; $query = "SELECT FROM members WHERE id='$id'"; $result = mysql_query($query); $row = mysql_fetch_array($result); ?>[/CODE] and it says mysql_fetch_array is not a valid argument. help please

Web Development mysql php
Member Avatar for lyrico
0
120
Member Avatar for SuPrAiCeR69

How can I perform the following with this API? Form is setup in PHP for registered user to enter domain name On submit.. Check if domain is available > - If NO > output to XML > run the loop again in 5 minutes - If YES > output to …

Web Development api php xml
Member Avatar for HemantPHP
0
200
Member Avatar for ankurmawanda

am trying to connect a jsp page to a postgress database i have created a jdbcconnects.java file and compiled it with jsp_api.jar from my apache..../lib directory i have placed the class file in root/WEB-INF/classes folder the code of my class file is [CODE] import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; public …

Web Development apache java java-jsp postgresql
Member Avatar for ankurmawanda
0
179
Member Avatar for psathish2

hi i am sathish. i am asp.net beginner i want learn grid view in asp.net using C# . i donot how to do. so any one know plz send me step by step.. thank you

Web Development asp asp.net c#
Member Avatar for afroz khan
0
301
Member Avatar for yamot47

[CODE]while ($row = mysql_fetch_assoc($query)){ echo("<tr id='$a' bgcolor='B0C4DE'>"); $sr_num=$row['b_sr_num']; echo ('<td>'.$row['b_sr_num'].'</td>'); echo ('<td>'.$row['b_name'].'</td>'); echo ('<td>'.$row['b_author'].'</td>'); echo ('<td>'.$row['b_avail'].'</td>'); if($row['b_avail']>0) { if (!$_SESSION["valid_user"]) { // User not logged in, redirect to login page echo("<td>Available</td>"); }else echo("<td><INPUT TYPE=button id=show name=show[] value=add onClick=buttonPress('$sr_num','$a')></td>"); [/CODE] can you give me the code of or sample to use …

Web Development php
Member Avatar for yamot47
0
72
Member Avatar for fuston05

I am working on a app at the moment, as practice mostly. But I have like 25 $vars that accumulate over the course of like 2 pages of forms gathering information. On the final page i use all these $vars to put together an estimate. My question is: Is there …

Web Development php
Member Avatar for fuston05
0
126
Member Avatar for itisnot_me

ok i think that i am missing something here but i not sure what. i have a function with a class that is supposed to take all the data make a query and then put into an array the data i would like to collect later function [CODE] function getDataLoop($strDbType, …

Web Development oop php
Member Avatar for itisnot_me
0
212
Member Avatar for jaydeebee84

Hi, right I'll try put this across quickly but basically at the moment I have AJAX posting to a separate PHP page and then getting the response which is echoed on that page which is then used on the original page to display. This works fine and is all good, …

Web Development javascript php
Member Avatar for jaydeebee84
0
145
Member Avatar for keyroche

Hello all! I am making a web application that allows someone to create a website through the various steps of the app. The system is based on templates, that a user picks and then chooses the content to go into it. I have all the info stored in a session …

Web Development app-store php session
Member Avatar for sDJh
0
621
Member Avatar for paullanesra

hi i am having a problem with a php script. i have 3 files index.php, home.html.php, form.html.php. home.html.php is working fine, if has a form that is submitting fine but when it submits i get a problem. maybe someone can help me out please i would be grateful as i …

Web Development mysql php
Member Avatar for EricIskhakov
0
143
Member Avatar for Ellsinore

I'm transcribing information from .jpg files. I have my form set up, but as it is now, I have to have the photos open in another window to read them, and use a <select> form field to list all the file names using this code: [code] $files = array(); $dh …

Web Development php
Member Avatar for Ellsinore
0
120
Member Avatar for joban.ali

I want to use sessions to identify if a user is signed in. If user is signed in they should be directed to their own profile. If the user is not signed in then the user should be taken to the login page. on my header I have options when …

Web Development php session web-browser
Member Avatar for joban.ali
0
120
Member Avatar for srilekha nikky

Hi, I have a excel file with 1000mail Id's i want to send the greetings to them at a time by splitting their names Example: [email]if.ex@gmail.com[/email] the mail should go as "Hi ex".For this i want to upload event or property to upload the excel file. can u please help …

Web Development asp.net
Member Avatar for inplainsite
0
164
Member Avatar for brynFlew

Hello, does anyone have an example of radio buttons working with a java bean. It would help out allot. Thank you

Web Development java java-jsp
Member Avatar for brynFlew
0
279
Member Avatar for GaBack

I'm stack in a php code that i want to find the total but i don't know what i did wrong and the total comes alway on "0". My code like a order list. You check on what thing you need and how many do you want. You order it. …

Web Development php
Member Avatar for GaBack
0
119
Member Avatar for tcollins412

i am making a website in php all on one page. here is my script [CODE]<a href='?goto=register'>register</a> <?php if ($_GET['goto']=='register'){ ?> <form name='register' method='POST' action='?goto=reg'> <table style='margin-left: auto; margin-right: auto; color: white; font-weight: bold;'> <tr><td style='text-align:center;'>First Name: <input type='text' name='first'></td></tr> <tr><td style='text-align:center;'>Last Name: <input type='text' name='last'></td></tr> <tr><td style='text-align:center;'>Email: <input type='text' …

Web Development php
Member Avatar for pzuurveen
0
122
Member Avatar for Buppy

Hi, I have a file index.php with script on a link, which opens new window with myfile.php, using JS window.open method. The page itself is based on PHP. What i need to do is to prevent direct access to that JS popup window file. For example, if i press a …

Web Development file-system php
Member Avatar for Buppy
0
231
Member Avatar for Shanti C

Hello all, I have successfully deploy my jsp project into webserver.It is running fine. But my problem is , my project contains some .java/.class files where i have written classes and methods. If i want to change this .java file and re-upload it to web server, it is not get …

Web Development client-server java java-jsp
Member Avatar for Shanti C
0
191
Member Avatar for adarshcu

Hi all, I've this following piece of code. It is a simple hands on exercise for my learning. I retrieve data from a table called cat and what i would like to do is , go to the action page only if there is a record for that username and …

Web Development java-jsp
Member Avatar for Shanti C
0
186
Member Avatar for Ignatius88

Is there a way that if I click on a radio button, it inserts its value to database? [CODE]<form name = "data" method = "post" action = "JSP/insert.jsp"> <p> <font size = "4"> Rate: 1<input name="radio_rate" type="radio" value="1" onclick="return validate()"/> 2<input name="radio_rate" type="radio" value="2" onclick="return validate()"/> 3<input name="radio_rate" type="radio" value="3" …

Web Development java-jsp mysql
Member Avatar for Shanti C
0
572
Member Avatar for JOUATT

Ok so I have a site that I want to automatically close the window when the focus is lost from the page. For example, if the user clicks off the page to something else on there desktop I want the page to close. So far I have managed to do …

Web Development javascript
Member Avatar for rakhi4110
0
3K
Member Avatar for canterorist

hi! I would like to know how to use jquery in sliding left to right? Can you give me simple sample there.. thanks in advance.

Web Development javascript javascript-jquery
Member Avatar for canterorist
0
188
Member Avatar for samsons17

Hi, after days of figuring this out, i still have no idea of whats wrong with the code.. Hopefully you guys could help me out.. when i put this code on my home.php file, i keep getting this error : [B] Parse error: syntax error, unexpected $end in C:\xampp\htdocs\smartforum\home.php on …

Web Development php
Member Avatar for samsons17
0
73
Member Avatar for PixelatedKarma

Hey guys I'm new to these forums and I was curious about what avenue to take. I am currently playing with Joomla and so far it seems not bad as far as CMS goes for developing and maintaining content on one website. However I am looking for something a little …

Web Development cms
Member Avatar for cinneran
0
149
Member Avatar for bluesheeva

Hi, I created a new web service and a client that request for this web service by using SOAP message. Before consuming the web service, I created a class that implements SOAPHandler to intercept the soap message and authenticate the client. I would like to redirect the page to registration …

Web Development xml
Member Avatar for Daisy_S
0
150
Member Avatar for denmarkstan

i find it difficult to add mssql dbs to asp.net website when i am using vs2008. here i intend working locally. please let someone help me.

Web Development asp asp.net mssql sql
Member Avatar for kvprajapati
0
143
Member Avatar for sweetkinjal

Hello everybody! I'm doing my project about ASP.NET but i don't know howto create Database. Example: UserName: xxxxxxx Password: xxxxxxx Login(<<<) i want to know how the code working. i want to know where my data will be stored. for example if i am creating login control then which fields …

Web Development asp asp.net
Member Avatar for kvprajapati
0
313

The End.