52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for davy_yg

input_berita_static.php [CODE] $id = isset($_POST['id']) ? $_POST['id'] : ''; $confirmation = isset($_POST['confirmation']) ? $_POST['confirmation'] : ''; $kategori = isset($_POST['kategori']) ? $_POST['kategori'] : ''; $isiBerita = isset($_POST['isiBerita']) ? $_POST['isiBerita'] : ''; $judul = isset($_POST['judul']) ? $_POST['judul'] : ''; //Load berita if (!empty($_REQUEST['id'])){ $result = mysql_query("SELECT * FROM static_page WHERE id =".$_REQUEST['id']) …

Web Development php
Member Avatar for cwarn23
0
297
Member Avatar for wimmer

I am a newbie with php and was hoping someone can help me out. I am creating my first dynamic site in php and have gotten stuck. I have one page with 100's of links. I need all these links to load the same page but I need the server …

Web Development php seo
Member Avatar for wimmer
0
327
Member Avatar for vinothaviji

In php delete the row in html table: Hi to everyone, I have a problem in deleting the single row in html table.In html table each row has a delete link and auto_increment id.if u click the delete link the particular row has been deleted in both the html table …

Web Development php
Member Avatar for rpv_sen
0
160
Member Avatar for Joshua Kidd

Hello, I want to do something with my link. And by this I mean. I want to do this: [url]www.example.com/mypage.php?id=10000[/url] But is there a way to do that samething but display it like [url]www.example.com/10000[/url] or [url]www.example.com/mypage.php/10000[/url] ?? Would this have to be done through a .htaccess file?

Web Development php
Member Avatar for Joshua Kidd
0
141
Member Avatar for davy_yg

input_berita_static.php [CODE] $id = isset($_POST['id']) ? $_POST['id'] : ''; $confirmation = isset($_POST['confirmation']) ? $_POST['confirmation'] : ''; $kategori = isset($_POST['kategori']) ? $_POST['kategori'] : ''; $isiBerita = isset($_POST['isiBerita']) ? $_POST['isiBerita'] : ''; $judul = isset($_POST['judul']) ? $_POST['judul'] : ''; $page = isset($_POST['page']) ? $_POST['page'] : ''; //Load berita if (!empty($_REQUEST['id'])){ $result = …

Web Development html-css php
Member Avatar for OmniX
0
117
Member Avatar for aecha

Anyone can help me with this code? I try to make it upload the photo but its cannot save and get this error.. Warning: fopen(Waterfall.jpg) [function.fopen]: failed to open stream: No such file or directory in C:\AppServ\www\pqs\hra\data_entry.php on line 13 Warning: filesize() [function.filesize]: stat failed for Waterfall.jpg in C:\AppServ\www\pqs\hra\data_entry.php on …

Web Development file-stream php
Member Avatar for aecha
0
127
Member Avatar for kacprek

The problem is as follows. When I enter to some page from my site clicking the link (FF browser), I am redirected to an unwanted site. And some window pops-up where you can choose whether to stay or leave the site. When you click I want to stay, the window …

Member Avatar for kacprek
0
320
Member Avatar for arctushar

Hi I have an website. Where people may write short messages. Now I want that home page will display 10 recent messages from those posts. So I want that New message will be shown and one oldest will be remove. All this will be down by ajax. Can anybody help …

Web Development javascript
Member Avatar for toms ace
0
148
Member Avatar for denmarkstan

please people i am just looking for tutorial that will guide me through on how to handle graphics designs and photoshop designs in asp.net. please help for any good link. thank you.

Web Development asp
Member Avatar for ctaylo21
0
95
Member Avatar for nexter

please solve my problem Parse error: syntax error, unexpected T_STRING in /home/vhosts/www.changs.tk/index.php on line 8 [CODE]<?php if ($NoTemp) { $CONFIG; Return (1); } $EXTRA_ENGINE="exchange_box.php"; $PAGE_TEMPLATE="index.html"; $PAGE_TEMPLATE="login_page.html"!!session_active()$CONFIG$_GET$CONFIG$CONFIG; $_GET("do_login")$page; $LANG_msg$LANG_msg; $page("LANG",$LANG_msg); $_GET$_GET; Return (1); ?>[/CODE]

Web Development php
Member Avatar for ctaylo21
0
296
Member Avatar for saybabs

I really want someone to tell me on FREE web hosting site that i can upload my project in order to TEST it before i do the final hosting. I appreciate your usual efforts.

Web Development php
Member Avatar for toms ace
0
155
Member Avatar for davy_yg

image_gallery.php [CODE] <?php $i = 0; //while ($data = mysql_fetch_object($result)){ for ($rows = 1; $rows<=3; $rows++){ echo "<tr>"; for ($cols=1; $cols<=4;$cols++){ if ($i >= $numRows) break; echo '<td style="text-align:center;">'; $data = mysql_fetch_object($result); echo '<div style="width:100px;font-family: verdana; font-size: 11px;">',$data->title; echo '<a href="'.$data->path.'" rel="lightbox[roadtrip]">'; echo ' <span style="border:0px;"><img border="0px" class="reflect" src="'.$data->path.'" width="100" …

Web Development php
Member Avatar for davy_yg
0
144
Member Avatar for patel28rajendra

I have gridview which display images previous and next. i want to popup (display) big image of particular image which is cllicked. Please help me.

Web Development asp.net image
Member Avatar for carrieathomer
0
142
Member Avatar for emailcrombiez

I have a pretty simple question about RewriteRule. I am using the isset($_GET['p']) function to call pages into my index.html so when you click on a page the address in the address bar appears like this: [CODE]http://site.com/?p=contact[/CODE] I would like to get rid of the ?p= in front of the …

Web Development php
Member Avatar for emailcrombiez
0
119
Member Avatar for marliah

i using this system reference beginning e commerce c# when compile button place order..it error say "Procedure or function CreateCustomerOrder has too many arguments specified." this my code checkout.aspx.cs using System; using System.Data; using System.Collections; using System.Collections.Generic; using System.Web.UI.WebControls; using System.Web; using CommerceLib; public partial class Checkout : System.Web.UI.Page { …

Web Development asp asp.net
Member Avatar for ArtistScope
0
263
Member Avatar for kaleeswaranm

Hi, Can any one tell me how to pass a value from jsp to javascript both being different files.. ie a.jsp , b.js.. I have a hidden value in jsp i want to get its value in the javascript file. thank you, kaleeswaran

Web Development javascript
Member Avatar for shivnal
0
4K
Member Avatar for ghostdog_alex

Hello, I have a newoffer php page wich has a form for inserting new data in a mysql database. When the page newoffer.php is opened, a new record will insert with the values NULL. When the form is completed, the record will update with the new information. But if the …

Web Development php
Member Avatar for ghostdog_alex
0
108
Member Avatar for maxelcat

Hi All I am sure this is easy, but I can't make it work I have two variable $sectionID and $categoryID. There are a whole pile of conditions that these could have but I want to pick out two: when $sectionID==4 and $catergory!=21 and $category is !=27 How do I …

Web Development php
Member Avatar for maxelcat
0
98
Member Avatar for RazorRamon

Ok this is as basic a jquery coding as you can get.. Why does div id=tx show on load??? I'm testing this on wamp localhost...www folder. Any help?? Is there anything i need to do to save the jquery.js? jquery.js is in the same folder as this page. [CODE] <html> …

Web Development javascript javascript-jquery
Member Avatar for stbuchok
0
196
Member Avatar for jogesh_p

hi i am not clear with the socket connection in php, because before starting a new topic i want to clear with the experts(you all guys), why we use socket connection??

Web Development php socket-programming
Member Avatar for jogesh_p
0
133
Member Avatar for davy_yg

style.css [CODE] #footer { height: 120px; width: 985px; float: left; background: yellow; margin-top: 190px; position: relative; } [/CODE] This is just a part of css code. Basically I am creating a footer underneath my web which consist of many pages. I wonder how to set its footer location since each …

Web Development php
Member Avatar for davy_yg
0
118
Member Avatar for davy_yg

banner_manager.php [CODE] <?php //require("include/header.php"); //if (!$_SESSION['login']){ // echo "Anda tidak berhak mengakses halaman ini."; // exit(); //} include ("includes/koneksi.php"); //$_REQUEST['simpan'] = isset($_POST['simpan']) ? $_POST['simpan'] : ''; //$_REQUEST['link'] = isset($_POST['link']) ? $_POST['link'] : ''; //$_REQUEST['gambar'] = isset($_POST['gambar']) ? $_POST['gambar'] : ''; //$_REQUEST['id'] = isset($_POST['id']) ? $_POST['id'] : ''; //SIMPAN DATA if …

Web Development php
Member Avatar for davy_yg
0
304
Member Avatar for davy_yg

input_berita.php [CODE] //Simpan berita dan konfirmasi kepada subscriber if (isset($_REQUEST['ok'])){ $judul = $_REQUEST['judul']; $news = $_REQUEST['news']; $idKategori = $_REQUEST['kategori']; $tanggal = date('Y-m-d'); if (empty($_REQUEST['id'])) $sqlstr = "INSERT INTO berita(id_kategori, judul, isi_berita, tanggal)VALUES(".$idKategori.",'".$judul."','".$news."','".$tanggal."')"; else $sqlstr = "UPDATE berita SET judul='".$judul."', isi_berita='".$news."' WHERE id=".$_REQUEST['id']; $result = mysql_query($sqlstr) or die(mysql_error()); //Jika mode edit, …

Web Development php
Member Avatar for davy_yg
0
112
Member Avatar for tusharbhatia

Hello, I am trying to get a dictionary definition from the Wordnik API. I copied the code below from their example and it's not working. I've played around with it and I can't see what's wrong. I get this error: "Parse error: syntax error, unexpected $end on line 56". If …

Web Development api
Member Avatar for tusharbhatia
0
265
Member Avatar for shrikant_77

[CODE]if(isset($_POST['listingType'])) { ini_set('magic_quotes_gpc', false); // magic quotes will only confuse things like escaping apostrophe //Get the item entered $listingType = $_POST['listingType']; $primaryCategory = $_POST['primaryCategory']; $itemTitle = $_POST['itemTitle']; if(get_magic_quotes_gpc()) { // print "stripslashes!!! <br>\n"; $itemDescription = stripslashes($_POST['itemDescription']); } else { $itemDescription = $_POST['itemDescription']; } $itemDescription = $_POST['itemDescription']; $listingDuration = $_POST['listingDuration']; $startPrice …

Web Development api php session
0
163
Member Avatar for aecha

Hi.. I have problem with my system which is the bar code image cannot been display after the bar code generate from the database. can anyone show me the correct way to call the data from database to generate and display in my system? when user click view card in …

Web Development display php
Member Avatar for rpv_sen
0
2K
Member Avatar for Moderns

Hello Fellows :) I am trying to find a way to get more than one characters pasted on html text field (input type=text), using onkeydown or onkeypress, I am NOT interested in onkeyup(it works), so please do not suggest me this solution. Also I am not interested in Jquery, I …

Web Development javascript
Member Avatar for Moderns
0
411
Member Avatar for NoviceCoder37

I keep on getting this error "Warning: mysql_fetch_row() expects parameter 1 to be resource, boolean given in" from both of my while loop conditions. Can anyone review my code and let me know what I'm doing wrong? [code] <html> <head> <title>Task # 4 - Test Page</title> </head> <body> <?php $link …

Web Development mysql php
Member Avatar for cbemerine
0
335
Member Avatar for atalkingfish

I have a page full of user-submitted updates and stuff. Basically the basic stuff. I am taking it out of a database. I have this so far: [CODE]$getnews = mysql_query("SELECT * FROM news ORDER BY $order LIMIT 50"); [/CODE] and $order is determined by a drop down menu on the …

Web Development mysql php
Member Avatar for atalkingfish
0
1K
Member Avatar for atalkingfish

I have a website where you can log in with a session or with cookies (remember me) and I can't seem to get the logout to work. I have a code that goes on top of most pages (all pages that require one to be logged in) and it goes …

Web Development php session
Member Avatar for atalkingfish
0
82
Member Avatar for asif49

I use the following function to expand the footer border for a website I'm creating: [CODE] <script type="text/javascript"> var x=5; <!--original height--> function expand() { document.getElementById("footer").style.height=x+'em'; <!--Gets the height from css.css in the div "move"--> if(x>10) { <!--Desired height after expansion--> clearTimeout(t); return; } x++; <!--desired height isn't yet reached, …

Web Development javascript
Member Avatar for asif49
0
179
Member Avatar for BenzZz

Hi, Basically I'm creating and implementing a dynamic website as part of my uni final year project but i am a beginner in php so need some help. First, I'm not entirely sure about how i should go about creating the database, tables and inserting data. I don't mean in …

Web Development mysql php
Member Avatar for BenzZz
0
114
Member Avatar for wonderlhily

[code=php] <?php $conn = mysql_connect("localhost", "root", "dotherz"); //connecting to database if($conn) //testing if the connection was stablished { mysql_select_db("orders", $conn); //selecting database from your localhost $qry = "SELECT * FROM customer WHERE customerId = 1"; //the query to get the first user $result = mysql_query($qry); //executing the qry and passing …

Web Development mysql php
Member Avatar for diafol
0
164
Member Avatar for kaizokupuffball

Hi! I can't say im familiar with the .htaccess file. I need to create a htaccess file that will redirect the user if he manually tries to open a .txt file on the server, or tries to download it (example if the user tries to navigate to [url]www.domain.com/users/username/bio.txt[/url], then he …

Web Development apache php
Member Avatar for diafol
0
124
Member Avatar for extemer

Hello guys i learn something new so i thought to share it with you people.This tutorial is about when you search some data in a search bar and as you enter any key word e.g 'a' so it start looking for keywords starting with 'a' and highlight it.In this way …

Member Avatar for Taywin
0
167
Member Avatar for Monster Killer

Hello. I am trying to create a javascript date/time script to display the current GMT date, but obviously because javasceipt is client side it displays the clients current date not the GMT date. Does anyone know how i can get javascript to show the current GMT date to anyone (even …

Web Development javascript
Member Avatar for Taywin
0
187
Member Avatar for bwls

Questions: Can I use a wildcard in unlink - ie: $myfile = '../pdf/'.$tnum .'*.pdf'; This results in an error: Warning: unlink(../pdf/36818*.pdf) [function.unlink]: No error in \purgepdf.inc.php on line 29 Any help would be greatly appreciated. Thanks, Bill

Web Development pdf php
Member Avatar for bwls
0
113
Member Avatar for prashanth18

i have a code to add and delete of divs when i click add button div was creating and on delete button div was deleting but i need with single link when on first click div has to create on same link if we click on second time div has …

Web Development javascript
Member Avatar for Taywin
0
128
Member Avatar for jacob21

I have a form having validation given below in java script. The problem is when i am inserting form data in a database,if there is any validation error,still added in database. please give me suggestion where to use PHP code I am using this code for insertion [CODE]<?php if(isset($_POST['submit'])) { …

Web Development javascript php
Member Avatar for cereal
0
159
Member Avatar for davy_yg

banner.php [CODE] <link href="../style.css" rel="stylesheet" type="text/css" /> <style type="text/css"> </style> <div id="banner"> <div class="headerStyle"> <div style="padding:4px 0px;">&nbsp;Banner</div> </div> <?php include('koneksi.php'); $result = mysql_query("SELECT gambar FROM banner"); while ($data = mysql_fetch_array($result)){ echo "<img src="$data['gambar']">".'<br>'; } ?> </div> [/CODE] Parse error: syntax error, unexpected T_VARIABLE, expecting ',' or ';' in C:\xampp\htdocs\php_template2\includes\banner.php on …

Web Development php
Member Avatar for cereal
0
4K
Member Avatar for cgull

Hello, I know this question was answered many times, and I looked at the answers but still can't find a solution. I have an index file that includes a contact form. The contact form action is itself, and if the form succeeds it should redirect to index.php?content=thankyou Althought the form …

Web Development php
Member Avatar for cgull
0
197
Member Avatar for vitaquous

I have no idea if I am doing this correctly. Eight years ago I was a C++ programmer, then I left the industry. I am lost and have been reading heaps on the web but do not know where to begin. I wrote a MySQL DB, I have populated the …

Web Development javascript php
Member Avatar for vitaquous
0
236
Member Avatar for divyakrishnan

Hi... I want to move an uploaded file to another machine.I had given the file path to move_uploded_file() function including IP address .The folder is a shared folder.My code shown below. [ICODE]<?php if ($_FILES["file"]["error"] > 0) { echo "Error: " . $_FILES["file"]["error"] . "<br />"; } else { echo "Upload: …

Web Development pdf php
Member Avatar for emiola
0
118
Member Avatar for masocha

l have got a series of menus. What l want to do is change the background-color of the link onclick. What l have done use jquery like this [code]jQuery('.menu a').click(function(){ var clz = jQuery(this).attr('id'); jQuery(this).attr('class','active'+clz); })[/code] This is not work.The code needs to work on mobile phones

Web Development javascript
Member Avatar for MartinRinehart
0
1K
Member Avatar for raviaaaa

HI while clicking calendar button calendar is displaying in IE6 and IE8 but in IE7 browser calendar is not displaying, java script error like obj null iam getting pls help me in this // written by Tan Ling Wee on 2 Dec 2001 // last updated 20 June 2003 // …

Web Development algorithm javascript
Member Avatar for MartinRinehart
0
436
Member Avatar for Pizza67

Hi all. I'm a JSP newbie and I'm trying to write a small client application that should facilitate the user authentication onto wifi hotspots provided by a telco operator from my country. Basically the application stores the user credentials and when the user push the (only) button on the GUI …

0
151
Member Avatar for davy_yg

banner_manager.php [CODE] <?php include ("includes/koneksi.php"); //$_REQUEST['simpan'] = isset($_POST['simpan']) ? $_POST['simpan'] : ''; //$_REQUEST['link'] = isset($_POST['link']) ? $_POST['link'] : ''; //$_REQUEST['gambar'] = isset($_POST['gambar']) ? $_POST['gambar'] : ''; //$_REQUEST['id'] = isset($_POST['id']) ? $_POST['id'] : ''; //SIMPAN DATA if (isset($_REQUEST['simpan'])){ $id = $_REQUEST['id']; $link = mysql_real_escape_string($_REQUEST['link']); $gambar = $_REQUEST['gambar']; } //Cek apakah ada …

Web Development php
Member Avatar for davy_yg
0
220
Member Avatar for amear

i need function : i want to make game to figure the word meaning e.g: when i wrote a abcdf i want to convert to bacfd and when the page refresh again its change again to another word and never convert to the original word "abcdf " and i want …

Web Development php
Member Avatar for cwarn23
0
120
Member Avatar for disc

Hi All, I'm trying to access php-code on another url: Local php-code test.php: [CODE]ob_start(); include( "http://www.mysite.eu/ext.php"); echo "Local call!"; echo "External call: ".GetExternal( ); ob_end_flush(); ?>[/CODE] And the code on the other url in ext.php: [CODE]<?php function GetExternal( ) { $output = "This is external text"; return $output; } ?>[/CODE] …

Web Development php
Member Avatar for ohmagoleh
0
81
Member Avatar for Slade

Is there any possible way to remove a query string without redirecting to another page? You see, my problem is I am using panels, when the create new button is clicked, it gives the querystring of "?JobID=New" now when I click on another button (which simply hides the current panel …

Web Development asp.net
Member Avatar for jack lion
0
222

The End.