52,566 Archived Topics
Remove Filter ![]() | |
I want to do in the following way, i would be very grateful if you help a little ... Currently my way - from /first page / 1-7 ... 50/last page / 7 when i clicked appears in the following way photo 2, and i want when clicked on 7 … | |
Hello everyone.. i need help for my project.. im using PHP and MYSQL.. i have an exam in my project where one question is displayed at a time.. the user gets to proceed to another question if he/she gets the right answer for the current question.. otherwise, he/she will be … Web Development php | |
Hi, I have a pretty quick question regarding PHP code if script is hidden from client's browser and php code are rendered back as HTML to the user is there a way ever that someone can view your code using say a browser plugin? or getting your source file and … Web Development client-server php web-browser web-server ![]() | |
Hi! I dont know if this possible I have a payments table in a database what I want to accomplish is, once a certain customer id has paid say $100 USD my discounts table will generate a code for me automatically say I'll insert a new record is there such … Web Development php | |
Hi, I'm new to JQuery/Ajax with PHP. I'm calling a PHP file, and all the code runs well, except for the echo's. The echo's are not showing and they were supposed to be showing . Here are both my files(Which are very simple): (x.php(main file) and sugere.php(the called file)) X.PHP … Web Development javascript-jquery php ![]() | |
hello, i was wondering if someone can explain me what the difference is between the following classes. I found class B nicer to use, but i want to have your comments..... [code] class A { public function setField($var) { $this->anyfield = $var; } } //this is how i use it … Web Development php | |
I am using MySQL database to download various RSS feeds every few hours. The feeds are then displayed on my website that shows a direct link to the original website where the feed is coming from. I want to change this such that the link would show my website that … | |
Hello everybody, i learned the basics of php a while ago, and as a first project, i want to create a website where anybody can rate pictures or upload his own. The hosting isnt a problem, i want to know if a db is necessary, if its i will have … Web Development php | |
Hi all, I'm having a problem with a combination of Ajax / PHP / Javascript and I'm stuck. I've spent a fair amount of time googling possible solutions but I can't find anything. [B][U]What I am trying to do[/U][/B] I am using Ajax to query a MySQL database using an … Web Development javascript | |
I have been doing some research on how to go about using a random salt per user's password. There are a few things that I am still unsure about. It is easy enough to store a random hash using something as the following: [CODE] <?php $password = 'MySuperSectretPassword!'; $salt = … Web Development encryption php | |
I need dropdown menu with this options, just each of them have to show data from base where is = location [CODE]<p>Mesna zajednica <select name="mesto"> <option value="donji_grad">Donji Grad</option> <option value="karadjordjev_dud">Karadjordjev Dud</option> <option value="plavinac">Plavinac</option> <option value="seone">Seone</option> <option value="ladna_voda">Ladna Voda</option> <option value="lestar">Lestar</option> <option value="zlatno_brdo">Zlatno Brdo</option> <option value="slavija">Slavija</option> <option value="papazovac">Papazovac</option> <option value="carina">Carina</option> <option … Web Development php ![]() | |
Hi all, How can I make this nonsens i have written work? I have 2 tables, one containing the urls I need to echo out in links - But I am not echoing out all of them. First I have to check in another table if there are any products … Web Development php | |
change password.php [CODE] <html> <head> <title>Change Password</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link href="pwd.css" rel="stylesheet" type="text/css"> <link type="text/css" href="menu.css" rel="stylesheet" /> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="menu.js"></script> </head> <body> <style type="text/css"> #menu { top:5px; margin:0 auto; width:80%; left: 40px; } #copyright { margin:100px auto; width:80%; font:12px 'Trebuchet MS'; color:#bbb; text-indent:20px; padding:40px … Web Development cms ecommerce html-css javascript-jquery php web-design wordpress | |
Hello there, anyone can help me with my problem? my problem is, i want to display a "please complete all the fields" when the user inputs incomplete data in the textboxes and i want to display it in the same form. im new in php. These are my codes [CODE]<?php … Web Development php | |
Hello, I'm working on a website which requires ALL fields to be filled before a user can download stuff. How can i code the web form as such a user has to fill in their details before the download button becomes active or usable? Help greatly appreciated. regards, Pabbzmike Web Development php | |
I have two relation table and I've made a php sql query out of it ... What I need is to insert the sql result into a new database table... Anyone ? this is my code [CODE]<?php $con = mysql_connect("localhost","sample","sample"); if (!$con) { die('Could not connect: ' . mysql_error()); } … | |
Hi, I store images in my MYSQL database. I need to retrieve that image to my jsp along with datas.Response.write() function only displays the picture and not the data. How to do that? | |
Hello i am trying to make my Ajax fetch the right <input button value. The <button is generated by PHP and will look like this. [CODE] <input type="button" value="Private" id="txtCustomerId" onclick="requestAlbumInfo()"/> <input type="button" value="Public" id="txtCustomerId" onclick="requestAlbumInfo()"/> <input type="button" value="Nature" id="txtCustomerId" onclick="requestAlbumInfo()"/>[/CODE] My Ajax needs to fetch the value="" and send … Web Development javascript | |
Hi, I have a problem with jquery callback. The callback is executed before the fadeIn animation is completed. What im trying to do is, I want to replace an existing image with a new image and resize the new image to a specific size. [CODE] var filepath = "images/test.jpg"; $('#imagewrap').css('background-image', … Web Development image javascript javascript-jquery | |
I am trying to install pyrus.phar from the command line but I keep on receiving the next error. c:/www/wamp/bin/php/php5.3.8 php pyrus.phar You must compile PHP with the following extensions enabled: sqlite3 or install the necessary extensions for your distribution. I checked the php.ini file and the sqlite3 is enabled. I … Web Development php | |
I'm new to .NET and having a difficult time deciphering when to use namespaces and where to place "using" clauses. For this one project, I'm trying to develop a .NET page within a web application that has 99% of the pages written in Classic ASP. I started by creating a … Web Development asp.net assembly ide open-source web-browser | |
hi all i want your help plz am working on a news website and i want a way or code to let the visitors add comments on any news am using asp.net with c# plz help :'( Web Development asp.net | |
hey m making a website which use to tel the daily report. there are many other functionalities as well. i have three tables concerned with this problem 1. shift 2. molding section 3. intermediate store on the basis of date and shift num, shift ids are assigned now i want … Web Development php | |
<script type='text/javascript' src='http://code.jquery.com/jquery-1.4.4.min.js'></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.5/jquery-ui.js"> </script> [CODE] <ul id="navlist"> <li><a href="home">Home</a></li> <li><a href="contact">Contact Us</a></li> <li><a href="about">About Us</a></li> </ul> [/CODE] [CODE] #content{ width: 100%; height:350px; display: none; background: orange; position: absolute; left: 0px; bottom: 0;} [/CODE] [CODE] <script type='text/javascript'> $(document).ready(function(){ $('#navlist li a').click(function(){ $('#content').hide("slide", { direction: "down" }, 900); var … Web Development javascript javascript-jquery | |
![]() | I am writing a simple program where i have a HTML page that gets the username and password from the user and sends it to a PHP page. The PHP page connects to an MS access database and retrieves the stored password, compares it with the password given by the … Web Development php |
Hi all, I'm using google chrome as client of my web application. If I open it with mozilla or ie it won't work 100% all application features. Does anybody know the differences concerning iframes and document selection for example in the following lines of code: [CODE] self.parent.iframe[i].getSelection().getRangeAt(0); map = document.createElement("map"); … Web Development javascript ![]() | |
Hello,i have the following html page. [CODE]<html> <head> </head> <body> <div class="container"> <div class="8"> <?php $firstname['1']; ?> </div> <div class="8"> <?php $firstname['2']; ?> </div> <div class="8 last"> <?php $firstname['3']; ?> </div> <div class="8"> <?php $firstname['4']; ?> </div> <div class="8"> <?php $firstname['5']; ?> </div> <div class="8 last"> <?php $firstname['6']; ?> </div> … | |
HI I have a drop down box after selecting it page must be refreshed and it must show the selected value. How to do it example I select one item in a dropdown and page must be refresh and show the selected value in drop down after refresh? thanks Web Development php ![]() | |
Hello all, I've been searching all day for a solution to this. I have the following code: [CODE] <?php foreach ($software_serialRecords as $record): ?> <?php $programLimit = array(); ?> <?php $programLimit[] = $record['program']; ?> <?php $programLimit = array_unique($programLimit); ?> <?php for ($i = 0; $i<count($programLimit); $i++) { ?> <option value="software_serials_program.php?program=<?php … Web Development php | |
Hi, I'm trying to sort out the names from the database based on the first letter by using (addr WHERE LIKE 'A%'). This gives me the following error message: [B]Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in...[/B] Does anyone know what’s wrong here? Everything works great when … | |
Hey guys. I am getting an error in this jsp code in line13 i.e PopulateTextbox obj = new PopulateTextbox(). What is wrong in my code. Am i declaring the function at wrong plae or missing braces anywhere. Please help. ? [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <%@page … Web Development coldfusion html-css java-jsp javascript javascript-jquery ruby ![]() | |
Hi all, I use codeiniter framework and I am still new to the framework. I settup a project in a localhost in my pc and I use netbeans id. I setup route.php in config folder , as $route['default_controller'] = "welcome"; when the project is started it shows the url as … Web Development php | |
Hi everyone, i am trying to develop a website in php by reading the discussion and tutorials available on the internet and i have completed it almost, its working well we can register and data base working well, but problem is that i want to display user name on all … | |
Hello, i have a very basic question. Is there a way to hide the file name/folder (ajax/post.php) used on the AJAX post request? [code] $.ajax({ type: 'POST', url: 'ajax/post.php', data: data, success: success, dataType: dataType }); [/code] I dont want people to see this: 'ajax/post.php', Web Development first-post javascript javascript-jquery | |
Needs to achieve such an effect: [CODE]$dateall=$year.$month.$day; $arr_from=array('20120401','20120416','20120510'); $arr_to=array('20120405','20120425','20120515'); if($dateall>=$arr_from[0] && $dateall<=$arr_to[0] || $dateall>=$arr_from[1] && $dateall<=$arr_to[1] || ...) { $calendar .= '<td class="reservation"><span title="reservation" id="id'.$year.$month.$day.'">'.$day.'</span></td>'; } else if //other conditions [/CODE] The above code works fine. But I need to rewrite this code as: [CODE]if($dateall>=$arr_from[$j] && $dateall<=$arr_to[$j]) // something like … Web Development php | |
[CODE]<?php include_once ('connection.php'); include_once ('session.php'); if(isset($_POST['submit'])) { $title = $_POST['title']; $content = $_POST['content']; $metatitle = $_POST['metatitle']; $metadescription = $_POST['metadescription']; $metarobots = $_POST['metarobots']; $metatags = $_POST['metatags']; $categoryname = $_POST['categoryname']; if(empty($title) || empty($content)) { echo 'A valid title and some content is required to ceate a post'; } elseif(empty ($categoryname)) { $category … | |
Actually i'm creating web template using asp.net and c#. in my user control page i have to create the table dynamically. i just read the data from XML file then retrieve the name and number of columns and rows of each table. while i'm creating the table i assign the … | |
Hey guys. I am getting an error in this jsp code in line13 ( PopulateTextbox obj = new PopulateTextbox();). What is wrong in my code. Am i declaring the function at wrong plae or missing braces anywhere. Please help. ? [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <%@page … Web Development coldfusion html-css java-jsp javascript javascript-jquery ruby | |
hello to all. I have a problem. I want to alter a table to add three columns whenever i click a button.But i want the name of the table taken from a drop down list, and the name of the three columns are also taken from either a drop down … | |
Hi about 7 days am experiencing this problem if you can help me out this is the code; it's not updating at all it's just redirecting me to the page this is my code [CODE] function editcat($cid,$catname,$catdesc,$ok=false) { global $db; $id = intval($cid); $result = $db->query("SELECT * FROM category WHERE … | |
Hi, I am new to Wordpress. I am using latest version of wordpress. I am launching new designing blog. I want new user to register on my blog so they can post blog post on my blog. I use PIE REGISTER Plugins. I have done all the settings. But i … ![]() | |
![]() | Hello, I have setup a wordpress locally in WAMP. Every user is given points for writing. I want to write a piece of code that will add two points to the user's existing points every time he writes a blog. Can this be done usng php? Also, where should I … ![]() |
Im building a control panel on my website to cover a bunch of stuff for my website. It makes viewing each member and video, website etc alot easier. But im building a table for my members. And i have it layed out pretty good. but there's one issue. When you … Web Development php | |
Aside from sql injection if I sanitize data before querying or sending it to a database are there any issues that needs to be addressed concerning security of a web app? im building an e commerce from scratch as part of a school project using notepad++ and xampp. any recommendations? … Web Development php | |
I want something like how facebooks wall works but when i call what others have posted its out of order with time for example: First Table (Users): UserID: 1, Name: Matt, UserID: 2, Name: Bob, UserID: 3, Name: Steve, Second Table (Friends): UserID: 1, FriendUserId: 2 UserID: 1, FriendUserId: 3, … | |
my goal is when user adds a product thats already in the cart, it will retain the product name and it will add 1 to the current quantity my code is: [CODE]$item_found = false; $index_of_array = 0; if(isset($_POST['product_id'])) { $product_id = $_POST['product_id']; if(!isset($_SESSION['cart_array'] ) || empty($_SESSION['cart_array'] )) { $_SESSION['cart_array'] = … Web Development php ![]() | |
im making a small web app as e-commerce site im storing the product id selected by a visitor into session product id as an array now what i want to accomplish is: also store the quantity associated with the product selected and then update that sessions for quantity if visitor … | |
I'm trying to use a variable in a Update to a field. The variable will change the amount of the increment that occurs in that field. I can't use a fixed amount, as it will change according to the user. The Following won't work $points = 5; $query2 = "UPDATE … Web Development php | |
Hello. I have two text files. Text1.txt and Text2.txt. I am needing to remove an lines found in Text1.txt from Text2.txt. That was probably confusing, so let me give an example. Let's say Text1.txt has this: 1 2 3 And Text2.txt has this: 2 3 4 The final result would … Web Development php | |
This is the beginnings of a login script that I've been working on, and I can't seem to figure out why I have this error. The error is said to be on line 10. Any help would be appreciated. I've changed the info in the variables used for connection just … Web Development php ![]() |
The End.