39,323 Topics
| |
Hello all, I am new to the webhosting...and now i am in a position to configure my Server(WAMP) into https...I tried by following a step by step procedure which is published in a web page....I created the Certificate and the Key and if i type "https://localhost", i can go to … | |
<td> <select name="sourceitems"> <?php $Qry1->text = "SELECT * FROM sourceitems"; $Qry1->openSQL(); $Qry1->first(); while(!$Qry1->eof){ $SourceID=$Qry1->fieldByName("SourceID"); $ItemName=$Qry1->fieldByName("ItemName"); $selected=""; if ($SourceID == $_POST['SourceID'] ) $selected="selected"; print "<option value=\"$SourceID\" $selected> $ItemName </option>"; $Qry1->next(); } ?> </select> </td> Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in D:\Webroot\TM\editData.php on line 179 … | |
hi all, i am having a page. where we can see list of files in a table and in every row download link is there.we can download that file by clicking on download link, so now i need a delete link also which deletes the selected file by using its … | |
No matter what I try, I keep getting Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in ___ I tried array also, but here's the code for the login page. About 23 lines down. Also, I'm new to PHP, as in, today new. [ICODE] /* Start session … | |
Hi there, I am still experiencing problems to populate the dropdown menu in my form (mysettings.php) with the correct contents from the database. Herewith is what I have. <?php /********************** MYSETTINGS.PHP*************** *********** This updates user settings and password **************************** ********************** **********/ include 'dbc.php'; page_protect(); $rs_settings = mysql_query ("select * from … | |
Im trying to customise search fields and then display in a pdf but the code just doesnt work. can someone take a look and see why exactly this is not working? if u see any mistakes? [CODE]<?php //access incoming name, id or radio button values $cs = $_GET['cs']; $name=$_GET['name']; $uni=$_GET['uni']; … | |
Greetings! I have an app that my users rely to update customer data in our local database. I want to add a "control" whereby a check for customer number is done to make sure it exists. I started with this simple script [code] <?php //variable declaration $customer_id = '257'; // … | |
[code=php] <?php session_start(); $password = "password"; if($_POST['password']==$password) { $_SESSION['loggedin']=1; header("location:index.php"); } else { header("location:index.php"); } ?> [/code] That works fine in other browsers. But in IE, when you click the submit button the previous page it redirects you back, and not logged in. Internet explorer says something about security. Does … | |
Hi Everyone, Basically i have a reward system on my website as Achievements. On the acievements page i want to display the achievment images that are unlocked and the locked image if the user has not unlocked them. The following code works but still brings back the following error: [QUOTE] … | |
First let me start off with saying I am just learning PHP with smarty and am not doing this for any school/class assignment. I am trying to create an email form that allows a user to subscribe/unsubscribe from a mailing list. I can not figure out how to write the … | |
Hi, I'm a relative newb with wamp server and web development. I've been asked to take over the development of a website. when I'm accessing the site locally everything works fine. But when I upload the site to our online server and I try to access it remotely from another … | |
i have tried shell_exec system exec i want to run a command like maybe im missed something if you want my code ill post it but the other command i run to ocr the item works fine im banging my head and its probly something simple mv -f .*tif /somewhere/ | |
Hi, I am trying to run a stored procedure from PHP file,i am getting following error : CALL fetch_gist() execute command denied to user 'user_name'@'localhost' for routine 'dbname.fetch_gist' on 1370 When i directly call stored procedure from phpmyadmin it works fine , [COLOR="Red"]but when i call the same from php … | |
Hi Flocks.... I am developing a web site by using Joomla And I need to get a data from data base under the following criteria 1. item should be a published (in my module published is 1 and unpublished is 0) 2. and selected data should be a shorting under … | |
hi how i can let echo like in image [URL="http://img52.imageshack.us/img52/5373/gggpr.jpg"]http://img52.imageshack.us/img52/5373/gggpr.jpg[/URL] first article with image and title after come title only for other articles this is my code [ICODE]$querypub = "SELECT * FROM art_publish where category='$bnrow[1]' ORDER BY id DESC limit 3"; $qrypub = @mysql_query($querypub,$connect) or die ("Wrong Query"); while ($pub … | |
i want to add an advertisment in my site. is there any control for that as in asp.net or some other way? i wnat adds to be changed after few seconds.. kindly help me and give ur precious suggestions. Thanx | |
hello guys,i am having a problem when i want to post some variables using multiple forms.please i need some help. the first file contains the following: <?php if(isset($_GET["submit"]) && $_GET["submit"]) { $qty1=$_POST["qty1"]; $qty2=$_POST["qty2"]; $qty3=$_POST["qty3"]; $qty4=$_POST["qty4"]; $qty5=$_POST["qty5"]; } else { ?> <table border="3" align="center" width="90%" > <tr><BR><BR> <th bgcolor="#ECD672" align="center">¸éäïò Êáõóßìïõ</th> … | |
hi all, i am having a login page.so that if role==0 it moves to one page and if role==1 moves to another page,if role==2 it moves to some other page. In this i need to add another condition if status is active(1) so i had done that but i am … | |
hi friends, i cant able do perfect design in php using html. if any spaces allocate means i use only " ". if you know any other way for successfully doing this pls send to me. | |
hai all, i am working on a project, my project have 3(bronze, silver, gold) types of payments, payments are done through the paypal the expiry date is one month. if user reach the expirydate we must send email to him, after expirydate is passed his payment type change to bronze(it … | |
Hi, I would like to set up a html email that gets sent to a mailing list for a client. However I have never done this and am really unsure about where to start. The way i am intending it to work, is for the client to just click a … | |
Hi Guys, I just installed PDFLib, Im trying to create automatic invoice system for one of my clients. Im testing using MAMP on mac OSX10.5. I used the PDFLib manual and installed the extension. Im pretty sure that everything is working because i can see the extension information in my … | |
I've been messing around with this for three days now.. can you look at my code? I'm not getting any error messages, but I'm not getting any data either. I currently have a working form that successfully returns the results I want from one table in my DB. However, I … | |
[QUOTE]hi all, i had a problem with logout.Even after clicking on logout,if we press back button i am able to see the details. i am destroing the sessions also. so can any one help me.... Thank u.[/QUOTE] [CODE]<?php ob_start(); @session_start(); require_once ("check.php"); session_destroy(); echo "<strong style='color:#FF3333'>"."<left><h1>Successfully logged out.</h1></left>"."</strong>"; ?> <html> … | |
Hi, I am bulding my own website and I would like to have a drop down selected menu on there. I would like to do it, creating a database on mySQL connected to a php file to show the results. However, I am not sure if what I wrote above … | |
[QUOTE]hi all, i hav a problem so in order to solve that i need to keep the radio button value in a session.but i am not getting it how to keep. so any can can say me.. Thank u.[/QUOTE] [CODE] <?php ob_start(); @session_start(); require_once ("check.php"); include 'connection.php'; $query= mysql_query("SELECT projectassign … | |
Hi to all Result of my SQL Query is attached My Query is [CODE=mysql]SELECT * FROM $tbl_name WHERE TO_DAYS( NOW( ) ) - TO_DAYS( `pDate` ) >20 AND mid(`SiteID`,1,1) ='C' AND `cDate` LIKE '0000-00-00' AND `crDate` LIKE '0000-00-00' [/CODE] For Showing I use this Code [CODE=php]echo "<table cellpadding=2 align=center cellspacing=2 … | |
hi everyone im new to programing im trying to send a html email using my forum mass email option, but every time i send it nothing shows up in the email but a bunch of source code. CAN ANYONE HELP ME PLEASE. THIS IS MY SOURCE CODE. <html> <style type="text/css"> … | |
hi im using combobox and retriving values in it from database , now what i wan is to get the selected value of combobox and send it in my php function....im unable to do this need your help thanx | |
Hi, I have used Dreamweaver to create my php/mysql data driven site. I have managed to secure the site with it and generate my pages. problem is users should only see their own clients which works on the results page, however if say UserID 1 had a client registered to … |
The End.