52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for azareth

I can't update my database by using select .. i've tried searching for different solutions but those didn't helped me .. any ideas why this doesn't update my DB?? i need to update the row with such conditions: the query/queries i used $records = mysql_query("SELECT * FROM cot_cargovolume WHERE VoyageNo …

Web Development php sql
Member Avatar for diafol
0
162
Member Avatar for gssr

Please tech gurus Help me ! Please help me urgent iam total newbie in MySQL and in PHP actually i want to auto generate user id if gender male selected in radio button than user id will be m00001,m00002,m00003..... like this, if gender female selected in radio button than user …

Web Development gui php sql
Member Avatar for pritaeas
0
331
Member Avatar for kairoland

I've created a While loop that prints out the info of a MySQL table into a simple html table. This part works just fine. I've created a variable which has a prefix tableID and then adds the number of the row ID. ID is the primary key and row is …

Web Development php
Member Avatar for blocblue
0
115
Member Avatar for Tharanga05

I am creating a registration form for my web site. In my registration form, there are two select boxes to select user's district and there city. So I need to do it, when a user select their district then automatically display city select box with cities which relevant to above …

Web Development php
Member Avatar for broj1
0
495
Member Avatar for frostymoon37

# How do i do a previous and next buttons with ajax and get different results on same page? # Im fairly new to coding so i need some help. im trying to build a web site for geology ( rocks, etc). My concept is this. How do i use …

Web Development gui javascript
0
156
Member Avatar for Thevenin

Hi all, I really need some help. I am trying to make a website with horizontal scroll (working!), then I am using a jQuery Slideshow (called Camera), and I combined this with the horizontal scrolling website(working!). When I select the page I want from the menu, the website scrolls to …

Web Development javascript javascript-jquery
0
116
Member Avatar for bilal_fazlani

I using listview on an asp.net form.. It has item template and edit template... I want to add ajax slider in both the templates.. I just used on script manager as suggested my many people,, but for reason i can only see one single slider in the top row.. and …

Web Development asp.net javascript listview
Member Avatar for bilal_fazlani
0
332
Member Avatar for hwoarang69

i have a form in html. when user hit sumbit. i want to run top php code. when i run it it give me 2 errors Notice: Undefined variable: _SESSION in C:\xampp\htdocs\login_test\register.php on line 134 Warning: array_key_exists() expects parameter 2 to be array, null given in C:\xampp\htdocs\login_test\register.php on line 134 …

Web Development html-css php
Member Avatar for hwoarang69
0
320
Member Avatar for hwoarang69

sorry, i forgot to put php code. Parse error: syntax error, unexpected $end in C:\xampp\htdocs\login_test\register.php on line 152 line 152 is the last lne </form> <?php include("connect.php"); //grab submitted data if(isset($_POST['submit'])) { //grab submitted data $firstname = $_POST['firstname']; $lastname = $_POST['lastname']; $username = $_POST['username']; $password = $_POST['password']; $confirm_password = $_POST['confirm_password']; …

Web Development html-css php
Member Avatar for hwoarang69
0
404
Member Avatar for Awah Mohamed

hi guys, well i am using .htaccess in my website to make SEO friendly urls.. the urls are supposed to look like this: http://localhost/home or http://locahost/singup it is working nicely.. the problem is when i came to makin forms.. how should i submit my forms?? the .htaccess takes all the …

Web Development apache php seo
Member Avatar for Awah Mohamed
0
167
Member Avatar for hwoarang69

Parse error: syntax error, unexpected $end in C:\xampp\htdocs\login_test\register.php on last line 2nd question. what is different between name, class, and id? if i just use id will it make difference? <form action="register.php" method="post"> <p id = "reg_error"></p> Firstname: <input class = "text" type="text" name="firstname"><br> Lastname: <input class = "text" type="text" …

Web Development php
Member Avatar for diafol
0
201
Member Avatar for nurnfs

Hi, every members, I am Nur, i want make a complete MLM site. i try to MLM Binary tree downline View on php code. it will be difficalt for me to make MySQL database or php coding. please help me any on. i add a link to example: 1) MLM …

Web Development mysql php
Member Avatar for mohsinxn
0
2K
Member Avatar for hwoarang69

need help with this. so in index.php i have a html tag <p id = 'login_error'></p> here(p tag) i want to print all the errors which are tested in login.php. in login.php i create a array called $error = array(); where has all the errors. in error_message.php iam printing all …

Web Development php
Member Avatar for veedeoo
0
144
Member Avatar for DaveyMoyes

Hi everyone, I have been trying to code a facebook application using the API. Within this, I am required to include the base_facebook.php file. But I keep gertting an error Fatal error: Uncaught OAuthException: An active access token must be used to query information about the current user. thrown in …

Member Avatar for veedeoo
0
3K
Member Avatar for Awah Mohamed

I was wondering how many connections in parallel can one web socket handle? what i mean is if i made a chat socket and a million user connected to it at the same time, will it affect it in anyway? and if yes, what is the maximum number of connections …

Web Development php socket-programming
Member Avatar for Awah Mohamed
0
1K
Member Avatar for syd919

Hello guys, I just deployed my site and when I try to view through the browser I get "403 - Forbidden: Access is denied." error. this does not happen when I replace index.aspx in the wwwroot folder with index.html. I would really appreciate any advice on this thank you.

Web Development asp.net
Member Avatar for JorgeM
0
915
Member Avatar for FireSBurnsmuP

Alright, I just started trying to do some CSS (I know, I have too much time on my hands) in order to make my own theme for firefox, so it matches my windows theme a little better. However, I really don't know what CSS is, what the general syntax is, …

Web Development html-css javascript
Member Avatar for alikhanbaba
0
129
Member Avatar for sentongogray
Member Avatar for JorgeM
0
100
Member Avatar for sentongogray
Member Avatar for benqus

I want to write a new version of [my jQuery extension](http://benilicous.blogspot.com/2012/05/jquery-jmake-v3-adding-appending.html) but I want to ask before diving into it. So here is what I have and what I want, I am not sure whether I am goind in the good way with this question so feel free to express …

Web Development javascript javascript-jquery
Member Avatar for benqus
0
208
Member Avatar for riahc3

Hey Im seeing that I need to learn Javascript and using its classes, functions, declaring it, etc so I need something. What is a good way to learn Javascript (besides practice, because basically its all copy-paste so Im not learning what anything means)...... Thanks!

Web Development javascript
Member Avatar for riahc3
0
219
Member Avatar for rogelioz

Hi, I've tried several combinations of commands like the following to finish a session: [code] Request.Cookies.Remove("cookie1"); Request.Cookies.Remove("cookie2"); Request.Cookies.Clear(); Response.Cookies.Remove("cookie1"); Response.Cookies.Remove("cooke2"); Response.Cookies.Clear(); [/code] But after that I go to another page that checks for the existence of the cookies, and it still finds them. Any ideas? Thanks in advance.

Web Development asp.net session
Member Avatar for sandybarasker
0
146
Member Avatar for vijayram

Hi everybody, plz help me. how to create a own like button on my website.using php ,javascript or jquery

Web Development javascript-jquery php
Member Avatar for vibhaJ
0
77
Member Avatar for Kewne

well I have this code, at first it was working perfectly....then a little modification just caused an error. I want to know what are the possible causes of this error Notice: Undefined index: CSM_blackmere_portside2_1 in C:\xampp\htdocs\PMS\F51-AI_insert.php on line 16 aside from, of course being defined .. i'm thinking of something …

Web Development php
Member Avatar for Kewne
0
131
Member Avatar for mani508

hello i want to do autocomplete with jquery and ajax from database without using webservices. i want to do with ajaxhandlers not using webservices. how can possible.? Tell me as soon as possible thanks in advance... my final year project is web discussion forum i want to post topic in …

Web Development asp.net javascript-jquery
Member Avatar for mani508
0
223
Member Avatar for mariaceline_21

Notice: Undefined index: HTTP_REFERER in C:\xampp\htdocs\cart\order.php on line <?php define('INCLUDE_CHECK',1); require "connect.php"; if(!$_POST) { if($_SERVER['HTTP_REFERER']) header('Location : '.$_SERVER['HTTP_REFERER']); exit; } ?>

Web Development html-css javascript php
Member Avatar for mariaceline_21
0
231
Member Avatar for mariaceline_21

Notice: Undefined variable: _SESSION in C:\xampp\htdocs\dl\index.php on line 117 here;s the code: <?php if ($_SESSION['username']) echo "Hello ".$_SESSION['username']." â™”<a href='logout.php'> Logout </a> "; ?>

Web Development html-css javascript php
Member Avatar for vibhaJ
0
102
Member Avatar for mariaceline_21

Strict Standards: Only variables should be passed by reference in C:\xampp\htdocs\cart\ajax\tips.php on line 8

Web Development html-css javascript php
Member Avatar for mariaceline_21
0
241
Member Avatar for mbarandao

Hello: I have a bit of an interesting delima: I have a form with select box which is dynamically db populated and based on the first selection, additional data populates two other linked boxes (a input and a textarea). This process happens in a table row. here is the source …

Member Avatar for mbarandao
0
201
Member Avatar for jazz1011

Hi guys i am new for the ASP.net world so help to understand new stuffs. I want to add an image as a background in my <div>. As an example, when you create a new asp.net web site. You will get few default stuffs like in this [image](http://i1.asp.net/asp.net/images/whitepapers/aspnet40/ASPNET4B1-image13.png). Now what …

Web Development asp.net image
Member Avatar for jazz1011
0
792
Member Avatar for ebanbury

Hi I currently have URL's looking like this when it is coming from a link: http://www.dev.xxxxxxxxxxxxxxxxxxxxxxxx.com/findanagent_details.php?recordID=4 I would like to hide the fact that recordID=4 How can I do this? Many thanks

Web Development php
Member Avatar for veedeoo
0
146
Member Avatar for memz

how to make this link alert t0 times <A HREF='javascript:window.alert("attack");'> link </A>

Web Development javascript
Member Avatar for azareth
0
101
Member Avatar for s7mo

Hello all I am attempting to use PHP programming to execute a scripts to this link... http://ws.geonames.org/postalCodeSearch?postalcode=VARIABLE_ZIP&country=US. The VARIABLE_ZIP is the actual zip code entered into the form that will submit the information in the link above. The output of that link creates an XML page that i do not …

Web Development php xml
Member Avatar for diafol
0
2K
Member Avatar for davy_yg

Hello I am having this codes: <?php // Add new book using DOM $dom = new DomDocument(); $dom->load("books.xml"); $book = $dom->createElement("book"); $book->setAttribute("isbn", "0973589825"); $title = $dom->createElement("title"); $text = $dom->createTextNode("php|architect’s Guide to PHP Design Patterns"); $title->appendChild($text); $book->appendChild($title); $author = $dom->createElement("author", "Jason E. Sweat"); $book->appendChild($author); $publisher = $dom->createElement("publisher", "Marco Tabini &amp; Associates, …

Web Development php
Member Avatar for veedeoo
0
331
Member Avatar for jateshs1007

Guys i am niew for the .net site development. I have a small question. I have my personal login page created in jquery. I am not using login form of ASP.net. Now the question is how to create a session for the user. I have 4 web pages (Below are …

Web Development asp.net session
Member Avatar for hericles
0
167
Member Avatar for hwoarang69

in my index.php there is a <p> tag in form. i want to print errors there from login.php file. in login.php iam checking for 3 errors. is there a way i can print them in index.php in <p> tag? i was thinking may be i use an array in login.php? …

Web Development php
Member Avatar for diafol
0
643
Member Avatar for GFX010

Greetings to all, I have two functions: Function 1: ImageToByteArray: Is used to Convert an Image into a Byte Array and then Store in an Oracle Database, in a BLOB Field. public byte[] ImageToByteArray(string sPath) { byte[] data = null; FileInfo fInfo = new FileInfo(sPath); long numBytes = fInfo.Length; FileStream …

Web Development asp.net c# image oracle
0
295
Member Avatar for saadi06

Hi, I am using jquery form validation and jquery multiple file upload script but I am having problem with it. My multiple upload script works like this <input type="file" name="userfile[]" size="20" class="multi MultiFile-applied" type="file" maxlength="5" accept="gif|jpg" /> and I dont want to apply jquery validation code on this field but …

Web Development javascript javascript-jquery
Member Avatar for saadi06
0
241
Member Avatar for QuaminaIT

function validscript() { var fname = document.getElementById("fname") ; var lname = document.getElementById("lname") ; var number = document.getElementById("number") ; var email = document.getElementById("email") ; var confemail = document.getElementById("confemail") ; var street = document.getElementById("street") ; var city = document.getElementById("city") ; var state = document.getElementById("state") ; var zip = document.getElementById("zip") ; if (fname.value …

Web Development javascript
Member Avatar for fobos
0
166
Member Avatar for showman13

Good Morning... I was just wondering if it is possible to do a query based on the status of a record, and if one is found with the status of 'E'arned, then to return the relevant fields from that record while at the same time changing the status to 'P'laced... …

Web Development php
Member Avatar for diafol
0
174
Member Avatar for hwoarang69

so i have a database set up. it has 3 fields. 1 is id, 2nd is uername, and 3rd is password. i already create a one username and password. in index.php for some reason it always goes inside else statment. and it skips the if part. -------------------- index.php -------------- <?php …

Web Development php
Member Avatar for phorce
0
462
Member Avatar for kelvinejimogu

Hi guys, **I have this error :** Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most …

Web Development php
Member Avatar for kelvinejimogu
0
182
Member Avatar for vuquanghoang

I have a code on the Internet and I have rewritten it, but there are t and n3 variable in the odd_order function that I don't understand their meaning. Please help me to explore it. :D. This code is generating a odd order magic square. <html> <head> <title>Magic Squares</title> <script …

Web Development javascript
Member Avatar for fobos
0
223
Member Avatar for manzoor.ilahi77

I need not to focus on readonly input and when user tab it should jump to next write field. <input type="text" name="first"></input> <input type="text" name="second" readonly="readonly"></input> <input type="text" name="third"></input> <input type="text" name="fourth"></input> <input type="text" name="fifth" readonly="readonly"></input> <input type="text" name="sixth"></input> <script> $(document).ready( function(){ $('input').focus(function(e) { var readonly = $(this).attr("readonly"); if (readonly) …

Web Development javascript javascript-jquery
Member Avatar for stbuchok
0
1K
Member Avatar for arezz09

i need to build wedding card webased system...so i need to create a gallary for wedding card with card information. How to upload that picture into gallary and next time i can delete it back or update information about that picture information..

Web Development php
Member Avatar for seslie
0
96
Member Avatar for DaveyMoyes

Hi everyone, I have been trying to write a php script to display a div and its contents depening on a result from mysql. Inside the div is a basic input form etc, nothing special, some error & validation checking. What I would like to do is, to only display …

Web Development display html-css php
Member Avatar for pritaeas
0
180
Member Avatar for Kewne

ammm...I have this code <table border="1" name="myTable" id="myTable"> <?php $nRow = $_GET['rowLength']; $nColumn = 7; for($i=0;$i<$nRow;$i++){ echo "<TR>"; for($i=0;$i<$nColumn;$i++){ echo "<TD><INPUT TYPE='text' NAME='' VALUE=''/></TD>"; } echo "</TR>"; }?> </table> now, I'm trying to pass js variable to php variable on the same page.... but I'm having this error: Undefined index: …

Web Development php
Member Avatar for Kewne
0
212
Member Avatar for hwoarang69

hi, iam new at php and iam doing a tutorial from youtube. I am keep getting 2 errors 1st error is "Column count doesn't match value count at row 1" 2nd error is nothing shows up when i do <?php echo $error_message; ?> full code of registration file <?php /* …

Web Development html-css php
Member Avatar for pritaeas
0
236
Member Avatar for leader2345

I'm trying to create a checkbox where the user will select their 'diseases affected: heartdisease, cancer, diabetes' and hit the submit button and will be saved into the database respective columns as as either '1' for yes or '0' for no. I've tried googling for the answer but I can't …

Web Development mysql php
Member Avatar for veedeoo
0
170
Member Avatar for hwoarang69

Parse error: syntax error, unexpected T_BREAK in C:\xampp\htdocs\website1\prompt.php on line 17 line 17 is in case 0 were it say break; function createMessage($x) { if(is_numeric($x)) { switch($x) { case 0: $message = "Your account is now active. you may now <a href=\"login.php\">Log In!</a>" break; case 1: $message = "Thanks you …

Web Development php
Member Avatar for baig772
0
209

The End.