39,323 Topics

Member Avatar for
Member Avatar for sibt-i-hasan

i know not a single word about how to design a website and i dont know any language may any one can help me[code][/code]

Member Avatar for web3
-1
34
Member Avatar for Phil++

Hey, what I'm trying to do is create a mysql_connection script that includes a exception handling statement that trys to connect to the database and the table, if one isn't created it goes to a file and the database information is stored there. <?php // this file contains the database …

0
58
Member Avatar for praveen_dusari

hi all, i am developing a newsletter module for my site,previously i used a specific newsletter added by admin (using wyswyg) and it is inserted in database and like that admin can send newsletter of his type to n number of users at a time. now i want to change …

Member Avatar for pritaeas
0
107
Member Avatar for Facte

Hi there, for the life of me I can't work out what is wrong with this script, but when it runs I get this message. Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in.... [CODE] <? $q6 = "select * from banners where lang = \"$_SESSION[lang]\" and section …

Member Avatar for Facte
0
142
Member Avatar for Jayakrishnan_gk

I am sending a text from a .js file to a .php file using POST. Since the text contains special characters i have to use escape() in the javascript file and convert the text. Is there I can get back the original text in the .php file ? Some php …

Member Avatar for ShawnCplus
0
72
Member Avatar for sanjaypandit

[QUOTE]hi friends i have facing a problem [CODE=php]<? define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'lang/'); define('DEFAULT_LANGUAGE',''english); ?>[/CODE] these are code use in configure.php it is use in index.php with following code[CODE=php]<? include_once(DIR_WS_LANGUAGES.DEFAULT_LANGUAGE.'.php') ;?>[/CODE] now i want to use this with select language i select language [CODE=php] <? if(isset($_GET['flag'])){ if ($_GET['flag']==po){ echo …

Member Avatar for pritaeas
0
94
Member Avatar for whiteyoh

Hi all, The following code should link 2 tables, showing: student id, surname, firstname, study type, start year. However, its not :-). its just a white screen. ive got php5.ini with ERROR_REPORTING (E_ALL); in it but im still getting nothing at all. The tables definitly exist! have i missed something …

Member Avatar for whiteyoh
0
98
Member Avatar for streetrodfanati

Hello Everyone, My mailer keeps sending duplicates & I can't find the problem in my code. I would appreciate it if someone could look it over & point out the problem. [code=syntax] <? if($action == "mail") { $success=0; $failed=0; $headers .= "From: Golden Planet Clubs PTC Admin <admin@ptc.goldenplanetclub.com>\n"; $headers .= …

Member Avatar for streetrodfanati
0
95
Member Avatar for sarithak

Hi friends.... I need to learn Smarty for my next project... Plzz tell me , some good tutorials/free books... for smarty template engine, developement in coding.... If any body having softcopy ,plz send me as attachment... Thanks in advance... Saritha K

Member Avatar for pritaeas
0
179
Member Avatar for bhadong04

hello.. may i seek ur help.. i have this problem of coding a library system using php.. is there anyone here know how or already have the codes? i need two log in, one for the borrowers and one for the admin. then registration is also needed. it should also …

Member Avatar for ithelp
-1
246
Member Avatar for ebumark

Good to be here. On my computer system, i want to use apache program so that i can make my computer a server. Now after doing that and as well installing PHP, it will be reporting error. i think the problem is on configuration. Plz can any body help me …

Member Avatar for nunomartinsinet
0
159
Member Avatar for muralibobby2015

hi frnds.....when ever i select some lines that lines will automatically copy with out using 'ctrl+c'. so how to do?

Member Avatar for muralibobby2015
0
76
Member Avatar for CFROG

What could make a query run fine from the command line and return the expected results, but not return results when run through the page? I get no syntax errors, just a warning for the fetch_array. It all looks good to me, I'm stumped. I echoed all the variables immediately …

Member Avatar for CFROG
0
104
Member Avatar for MDanz

on the bottom frame is menu.html [CODE]<body><form action='link.php' method='post' name='changer'> <label>URL <input type="text" name="url" /> </label> <label> <input type="submit" name="Submit" value="Submit" /> </label> </form> </body>[/CODE] on the top frame is link.php [CODE]<?php if (isset($_POST['url'])) { header("Location: " . $_POST['url']); } ?> [/CODE] the problem is when i enter a url, …

0
45
Member Avatar for gpss

Hi! Is it possible to refresh only a <script> and not all the page?! i have a <script> that displays google maps... and i show it on my page with other material.. i just wanted to refresh that script (google maps display), and not all the page... i did it …

Member Avatar for Will Gresham
0
114
Member Avatar for realchamp

Hello! I was wondering if it were possible for me to have a PHP script which would send a line of charactors to my C++ program. The C++ program needs to run all the time to recieve the inputs from PHP. Both the C++ program and my webserver is on …

Member Avatar for realchamp
0
219
Member Avatar for leviathan185

Hi All, i am trying to write an application that will take an XML file that has been saved from an XLS spreadsheet and display the data. I will be ok with how to display the data i just dont know how to get the data from the XML. I …

Member Avatar for leviathan185
0
116
Member Avatar for streetrodfanati

Hi, My install file is not creating all the tables- it's only creating the " abuse_report" and not any of the others. Can someone give it a look see? Or can someone tell me how to put the tables int a sql file that I can just upload instead? [code=syntax] …

0
90
Member Avatar for Xentiago

Hi, was wondering if someone could point me in the right direction. I am currently making a php/html registration page for users in dreamweaver and I want them to check a radio button to confirm they have read the rules, like so. [code]<input type="radio" name="rules" value="radiobutton"> <p>I confirm I have …

Member Avatar for Xentiago
0
114
Member Avatar for artdezign

Hey there, I'm new to php, but have been using a book to guide me through the code. I have created an order form and have run into this: Parse error: parse error, unexpected T_STRING in /home/content/a/r/t/artdezign/html/new_order/pages/orderreceived.php on line 5 Here is the php code I have used in my …

Member Avatar for Will Gresham
0
77
Member Avatar for web3

How to limit access on my page to unregistered visitors? Like that they can't open forum or users profiles?

Member Avatar for Will Gresham
0
66
Member Avatar for valonesal

One of the guys here were nice enough to help us put together a javascript code that displays dynamic information. [CODE]<div id="info"></div> <script type="text/javascript"> var request if(window.XMLHttpRequest){ request=new XMLHttpRequest() }else if(window.ActiveXObject){ request=new ActiveXObject("Microsoft.XMLHTTP")} request.open('GET','http://ourwebsite.com/index.php?get=1',false) request.send(null) document.getElementById('info').innerHTML=request.responseText </script>[/CODE] The problem we are having now is that it does not show the …

Member Avatar for codejoust
0
66
Member Avatar for severman

hi all im trying to find out where the hack php5 is installed on my computer.. its not on /usr/bin/php5 im trying to run a php script with the ./ command. i searched php5 on my computer and enter this code at the begining: [code] #!/etc/php5/apache2 [/code] etc... allways get …

Member Avatar for codejoust
0
109
Member Avatar for web3

How i put to my register error if user already exists. My code: [CODE]<?php include "connect.php"; echo "<h1>Register</h1>"; $num = 0; $submit = $_POST['submit']; $username = $_POST['username']; $password = $_POST['password']; if ($submit){ if ($username){ if (strlen($username) > 20){ $num ++; echo "<tr><td>".$num.". Username is too long.(3-20)</td></tr><br />"; } } if …

Member Avatar for Will Gresham
0
182
Member Avatar for guruvarman

Hi Friend image Uploading is working well in localhost working with WAMP SERVER 2.0. Also i am able to access the stored image easily from the directory in offline BUT While working online only the path is getting updated in database but the file is not uploading to specified directory. …

Member Avatar for guruvarman
0
98
Member Avatar for veledrom

Hi, We can code this way to print something if Exit button is clicked. [code] <form action="process.php" method="POST"> <input type="hidden" name="hiddenName" value="Jolly" /> <input type="submit" name="submit" value="Exit" /> </form> if($_POST["submit"] == "Exit") { echo $_POST["hiddenName"]; } [/code] What about if we use this way. How do i check if Exit …

Member Avatar for ShawnCplus
0
117
Member Avatar for j_limboo

New to php I want to create new table and store session ID this step is to prevent multiple login Current using this code which does not check multiple logins Any advice would be appreciated [CODE] <?php //Start session session_start(); //Include database connection details require_once('config.php'); //Array to store validation errors …

Member Avatar for diafol
0
2K
Member Avatar for severman

hi im trying to build a program like windows commander on linux with php. is there any way that i can start vi with php? for example, im showing all the files of a certain folder and now i wanna edit with vi one of the files. how do i …

Member Avatar for pritaeas
0
37
Member Avatar for mcx76

I install php script.Everything is fine.But when i go to the page (Code Below ) Update button is not showing on internet.While when i open the file with Dreamweaver i can see the Update button.Please be advice. I am not php coder.Dont know that much about programming. Thank you in …

Member Avatar for network18
-1
107
Member Avatar for dokinah1

the above code is supposed to allow you to edit the property info/details of real estate in the database....problem is when the edit button is clicked , a parse error (on line 802) is displayed.[code]<?php header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); header("Last-Modified: " . gmdate("D, d M Y H:i:s") …

Member Avatar for network18
-1
198

The End.