39,323 Topics
| |
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] | |
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 … | |
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 … | |
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 … | |
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 … | |
[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 … | |
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 … | |
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 .= … | |
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 | |
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 … | |
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 … | |
hi frnds.....when ever i select some lines that lines will automatically copy with out using 'ctrl+c'. so how to do? | |
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 … | |
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, … | |
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 … | |
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 … | |
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 … | |
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] … | |
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 … | |
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 … | |
How to limit access on my page to unregistered visitors? Like that they can't open forum or users profiles? | |
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 … | |
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 … | |
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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
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 … | |
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") … |
The End.