52,566 Archived Topics
Remove Filter ![]() | |
hi, i have 2 different user ~which are admin and instructor ,the admin successfully log in to admin.page and it will showing their name ,the instructor login in to instructor.page will showing their namr also.hope can help thx!! [CODE]<form id="form1" name="form1" method="post" action=""> <table width="280" height="66" border="2" cellpadding="2" cellspacing="2"> <tr> … | |
![]() | [CODE]$data = "email@yahoo.com,go@gmail.com,example@example.com"; list($email1, $email2, $email3) = explode(",", $data); echo $email1; // email@yahoo.com echo $email2; // go@gmail.com [/CODE] Pretty perfect but my problem is I don't know how many email addresses will be inserted by a user. He can input just 1/2 or even 30/40. So the style of below … Web Development php ![]() |
Hello! I'm fairly new to HTML and CSS, but I have the concepts down and I can do many things. I also know some very basic XHTML. I am looking to learn Javascript, mainly so I can do an effect like the advertisement that drops down on [URL="http://www.knabstruppers4usa.com/index.php"]this[/URL] website. I … Web Development html-css javascript | |
I am having records in a field (field_id) of a table (in mysql database), which is having ID stored per line, for example [B] 1 2 3 10 11 13[/B] above is one record, and I have many records similar to that. and, when I am writing the query [B]SELECT … Web Development php | |
Hi all, basically, what I am having trouble with is this: I have a value stored in a table for each member, let's call it $my_value. Each member has a $my_value, which is an integer. What I want to do is as follows... Lets assume I log in as user … | |
Hello freinds, Recently i was interviewes in accenture and i was asked what the difference between tostring and convertostring. I think tostring checks for spaces and convertostring does not | |
Hello, I have a website which sells like 5 digital products,and the transactions are made only via PayPal.After the user purchases a product he can login to download. Also affiliates can be created.That's all that it does. I was wondering if a SSL/TSL certificate would be usefull and which type … Web Development xml | |
Hi all, im trying to make a new webpage open if a persons password is equall to COOP, i have used the code [CODE]header('Location: loginfull.php')[/CODE] to do this but i need to call through the EmployeeID and Password when this link is opened, any one have any idea how ? … Web Development php | |
I am trying to make a form and send all the entered fields directly into an email to a specific email account. if any one knows how to do this or can point me to a site that can help me i would be extreamly grateful thanks!! Web Development email javascript | |
OK I'm pretty sure this is an easy one. I've successfully made my list and checkbox fields sticky using selected=selected and checkbox=checkbox etc etc. I now have a very simple text field. What is going wrong is that the entire string within the value="" shows up as the initial value … Web Development php | |
can someone send the code for connecting with MySql in asp.net. and code for inserting some entry to a table. I have no idea about MySql. Am having an interview on 16th March.They asked me to do with MySql. Please someone help me.. | |
HELLO. THIS IS MY CODE.. WHY HAS THAT ERRORS..I HAS TRY MANY SOLUTIONS, BUT IT CANT WORK... PLS HELP ME IMMEDIATELY.. TQ "Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\integombmds\updateCurriculumCorrect.php on line 190" BELOW IS MY CODE: [code]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> … | |
I have this code for a hover effect, it was working, but now won't. jQuery is working, but events from jquery aren't... [CODE] $(document).ready(function () { $("#logoimg").hover(function () { $("#logoimg").attr("src", "Media/imgover.png"); $("#logoimg").animate({ width: 420 }, 300); }, function () { $("#logoimg").attr("src", "Media/imgout.png"); $("#logoimg").animate({ width: 400 }, 300); }); });[/CODE] Web Development image javascript javascript-jquery | |
I am trying to write a script that will get TOP ten values from a Table of a certain column. Here is my code.. [CODE]<?php include("../inc/db.php") $data = mysql_query("SELECT * FROM table ORDER by rank DESC LIMIT 10"); while($row = mysql_fetch_array($data)) { echo $row['id'] ; echo "-----"; } ?>[/CODE] Here … ![]() | |
Hello! I am beating myself up here. I use [CODE]include "header";[/CODE] on all pages, at the top, the header contains everything within <header></header> on a html page. But should i use [CODE]session_start();[/CODE] inside the header or before i include header.php on all pages? The session on my website logs out … ![]() | |
I have a ul and I would like to animate each li in descending order, and I'm having no luck on this. my current code it, [CODE]function menuItemsIn(){ $(".ac_menu ul li").each(function(){ $(this).animate({marginTop : '0px', opacity : '100'}, {duration : 'slow', easing : 'easeInBack'}).delay(200); }); }[/CODE] It animating all the li's … Web Development javascript javascript-jquery | |
when i log in my pages move to home.php page,so i need how to relate home page with other pages,that the same person to get permission to access to other pages! Web Development php | |
Hi all , below is a program i have made, and i need to know the code to compare password and password1 so they are the same value and the user hasn't made a mistake, but im not sure on how to do this, any ideas ? [CODE]<body> <table width="744" … Web Development php | |
hello , Iam trying to add google map fuctionality in website dynamicallly. Iam sucessfull in but noe i want my map to be opened in lightbox .i have googled and found various results but of no use .any kind of help appreciated thanks Web Development javascript javascript-jquery php ![]() | |
![]() | I wan't to check if a user is listed as permitted in a particular group. How'd you do that? Should I do something like this? [CODE]group_id | permitted_users 1 | mark,jon 2 | maria,warren,mila[/CODE] now I gotta retrieve the value of permitted_user column of a specific group then separate every … ![]() |
Hi Everyone, I am currently working on a site that will have lots of European and Middle-Eastern town names that include accented and other special characters. I have never had to deal with these characters before and I foolishly assumed that setting everything to utf-8 would take care of it … Web Development coldfusion json | |
[URL="http://www.appcelerator.com/"]Titanium[/URL] is an open source package that brings a bunch of development options together into one place. It allows you to take one set of code and deploy it on: [LIST] [*]Windows [*]Linux [*]Mac [*]Android [*]Iphone [/LIST] Even better, you don't need to learn a new language. The development is … Web Development android android-development html-css iphone open-source php ruby | |
I am a total noob at php and I am creating a basic wordpress plugin for a site. I have a function [CODE]function My_Function_2() { ?> [/CODE] Then I have an input inside a div coming from an options page: [CODE]<form method="post" action="options.php"> <?php wp_nonce_field('update-options'); ?> Define Box height <table … | |
I will have a page with about a 100 or so different links and I would like each one to toggle the visibility of its corresponding hidden div. For instance, if I have a county 'Johnson' when it's clicked I would like the hidden div associated with that county to … Web Development html-css javascript javascript-jquery | |
I know there is a lot of threads already on this website, but I cant find any that remotely looks like it'd be help to me. I am getting frustrated over this bit of code error. Any help would be appreciated. php line 64 [CODE] $emails = $_REQUEST['email']; $data = … ![]() | |
hello, i'm new in PHP coding. Please help me in solving this error. Parse error: syntax error, unexpected T_STRING in C:\wamp\www\test\testdate.php on line 49 Line 49 is :Valid Oxygen:$oxygenmin-$oxygenmax I attach together the whole coding for my project: [code]<?php require("phpmailer/class.phpmailer.php"); $db_connect=mysql_connect("localhost","root",""); if(!$db_connect) { die("Could not connect:".mysql_error()); } mysql_select_db("mpob",$db_connect); /****2)RETRIEVE DATA … Web Development php user-interface | |
http://i325.photobucket.com/albums/k392/sarjan123/name.jpg hi all, for the picture above,i am currently writing a code to check if the seller_name is match with current login user name,it will show the item name in a page, i have following code now <?php $check =$_SESSION['username']; $query = "SELECT id, seller_name "; $query .= "FROM items … | |
Hi everyone, I have a question. I m using iterator to loop my jsp such as code below in my jsp [CODE]<%Iterator itr;%> <% List data=(List)request.getAttribute("data");%>[/CODE] I use servlet as my engine to proceed my sql statement. below is my sql statement [CODE]select * from a natural left join b … | |
Hi I'm having problems with a query bringing back records where the price is between 2 different min and max options. My field in the db = prop_price and it is currently an integer (as I thought part of the problem might be the comma in the prices) I've pasted … Web Development php | |
Hello Im trying to read from ttyUSB0 on Ubuntu using the following code: [CODE] <?php // Create the context set_time_limit(0); @ob_end_flush(); ob_implicit_flush(true); $c = stream_context_create(array('dio' => array('data_rate' => 1200, 'data_bits' => 7, 'stop_bits' => 2, 'parity' => 0, 'flow_control' => 0, 'is_blocking' => 0, 'canonical' => 1))); // You can … | |
Hi everyone. I have an application where users submit text files and then based on some rules, the application gives instant responses of whether the submitted text file is right or wrong. What actually happens behind the scenes is that I have the correct text file on the server and … Web Development file-system php | |
Hi experts.,:) I have tried to send mail using silverlight application and now i am very much tired because of can't get it correctly.... I wrote a Web Service for sending mail as like below. [CODE] using System.Web.Mail; MailMessage msg = new MailMessage(); msg.From = emailFrom; msg.To = emailTo; msg.Subject … | |
Hi, I am having a few issues trying to get this to work. When I click the link delete i want the record to be deleted from MySQL if 2 parameters are true. The following is the delete link: [url]http://domain.com/records.php?url=21313[/url] So the first parameter is "url" the second will be … | |
Hello every one, I have small problem. Can any one tell me how to get the url from an anchor tag dynamically. That is when i click on link the next coming url i need to send to a script can any one help me... My problem is when i … Web Development apache html-css java-jsp open-source pdf | |
I have a database of invoices that have multiple attachments(which are stored in a different table) per each invoice. I have it returning the row of invoices just fine. But now I want a way to click the "view" link to call a php script to open up a jquery … Web Development javascript javascript-jquery mysql php | |
Hey, Just a quick question. My webpage is all working fine in IE9, new Firefox, Safari, Opera, and Chrome, but in IE7 it's flagging errors to do with the Facebook share buttons (javascript). When you click them nothing shows up. I was wondering if you could tell me what I … Web Development app-store javascript social-media | |
hi.. i want to develop a GUI for the Grid in my company.. so pls someone provide me with a code for job submission in grid.. job submission module includes submission of a job, status of job, cancelling and retrieving output of a job.. if not a complete code, atleas … | |
Hi , I want to confirm a delete function using javascript .. In detail I want to display a list using php Mysql as follows No + Name + ---------------------------------- 1. + Raj + Delete 2. + Raj2 + Delete ---------------------------------- When user clicks on Delete button that will leads … Web Development javascript | |
Hi I'm trying to write a query which when 0 is selected it brings back all the district_zones otherwise it just brings back the selected zone. It brings back the selected zone fine, but not all records which are not 0 I know it is my wildcard that is the … Web Development php | |
Hello, I'm building a site that allows users to post comments like facebook. After say, 10 rows ( or 10 INSERT INTO's )I want the 1st row to be deleted as to control space in the data base. Any key words or links would help. Thanks Web Development php | |
hello, I have build an code for opening a map in thick box but i have problem closing it ,i have to click outside a thickbox please help Web Development javascript mysql php | |
I have a table made up of a number of columns, id, room_id, property_id, and date. The property_id could be a category with different room_id being subcategory. An additional variable is the number of dyas, eg.2 .The date is stored as a timestamp, so if two nigths are selected along … Web Development php | |
I am trying to write a script for my site that will check if a user has submitted a review for a particular cigar in the past [B]30 days[/B] and if they have, prevent them from creating a new review. I am trying to figure out the code but I'm … Web Development php | |
Hi, I am trying to use AJAX to pull back mysql table information. I tried to alter an example I found (w3 schools) where they showed how use a selection table to pull a specific line out of a mysql table, using the "q" (not really sure if the "q" … Web Development html-css javascript mysql xml | |
Hey All! I am trying to update some records using forms - But something gets mixed up when I send my info to the database: [B]My form with the info I wish to update, look like this:[/B] [CODE] //Getting the info from a dropdown list, where the user has picked … | |
I'm trying to create a simple login page by following a tutorial i saw online. I did everything it required but i got this error Deprecated: Function session_is_registered() is deprecated in C:\xampp\htdocs\final\login_success.php on line 7 Login Successful my code is login_success.php [CODE]<? // Check if session is not registered , … | |
guys i am having problems with my jquery code . the slider that has the words "portfolio , service , contacts" etc . doesn't seem to be working here is my site here [url]http://homejobsinc.t35.com/test2.html[/url] here is my source code [CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" … Web Development html-css javascript javascript-jquery open-source | |
I have a jQuery form in which I create a series of checkboxes: <?php <form method="post" id="b-form" action="../createb.php"> for ($i=0; $i<$request_count; $i++){ <div class="request-check"> <table> <tr> <td><input type="checkbox" name="show_request[]" value="request".$i." checked="checked"/>select request</td> </tr> </table> </div> } javascript $.ajax({ type: 'POST', url: '../createb.php', data: $('#b-form').serialize(), success: function (msg){ alert(msg); } }) … Web Development javascript javascript-jquery | |
I have to folowing problem I have links in a table Some of thes cells are empty So if have the folowing code: </td><TD WIDTH='180px'><p CLASS='WithBreaksNarrow14'><a href="<?php If echo (!$row['link'])) $row['link']; ?> target="_blank" <?php else echo ' '; ?>"><font color="orange"><?php echo $row['treffpunkt_wo']; ?></a></font></p></td> But my target="_blank" dosn't work and even the … Web Development php |
The End.