52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for biomedpro

hello, I seem to be having an issue. I can not get my Ajax contact form to work on IE. It seems to break the page and everything runs together and all print is layered on top of itself. Any thoughts?

Web Development javascript
Member Avatar for biomedpro
0
72
Member Avatar for divin757

I am trying to allow a page to print nicely if a user uses the built in browser print. However the page is too small in IE. The frustrating part is I have no way to debug the page as the css is only applied at the time of printing. …

Web Development html-css
Member Avatar for divin757
0
220
Member Avatar for johndohmen1963

Hi hope someone can help me How can i update a date field to NULL so that i have 0000-00-00 in the date field i have the following code but it's not working i tried a lot of things but nothing wil work if($_POST['geboortedatum'] == "") { $date = NULL; …

Web Development php
Member Avatar for johndohmen1963
0
88
Member Avatar for coolsid01

<?php $fullname=strip_tags($_POST['fullname']); $username=strip_tags($_POST['username']); $repeatpassword = strip_tags($_POST['repeatpassword']); $date=date("Y-m-d"); $submit=$_POST['submit']; ?> <html> <h1>REGISTER !</h1> <form action='register.php' method='POST'> <table border =25 color=black align=center space=5 > <tr> <td>Full Name:</td> <td><input type='text' name='fullname' value='<?php echo $fullname; ?>'></td> </tr> <tr> <td>User Name :</td> <td><input type='text' name='username' value='<?php echo $username; ?>'></td> </tr> <tr> <td>Password :</td> <td><input type='password' …

Web Development php
Member Avatar for coolsid01
0
241
Member Avatar for arctushar

Hi I want to replace a word from text. I can do it with str_replace or str_ireplace. But I need more advance. for Example. my code is as below <?php $search_word=$_POST['gender']; $subject="Men and Women both r part of the world"; echo str_ireplace($search_word, '<span style="background:#0F0">' . $search_word . '</span>', $subject)."<br/>"; echo …

Web Development php
Member Avatar for diafol
0
115
Member Avatar for stephen_UK

Hi, I am generating an automatically email successfully using the code below, where all the email addresses are contained in the variable $to. How do I change the code below to send all of these emails as a bcc so that their email addresses are not disclosed to one another? …

Web Development email php
Member Avatar for Tapioca77
0
511
Member Avatar for starsunited

from what i have research, there are some barcode scanner which is uSB and are keyboard wedge have built in decoders that can read several barcode types and send them via the keyboard so info scanned appears as if it has been typed. Therefore does it means that, if the …

Web Development php user-interface
Member Avatar for davilotte
0
2K
Member Avatar for bjoy21

I want to make a php code with my dropdown menu in html. Can you help me? This is my code in html <form method="POST" action="search.php"> <h2 align="center" style="Verdana"> List of Voters Search </h2> <div align="center"> <table> <table border="0"> <tr><td>Select One:</td><td><select name="dropdown1"> <option value="Firstname">Firstname</option> <option value="Voters_Id">Voter's Id</option> <option value="All">All</option> <input …

Web Development php
Member Avatar for bjoy21
0
1K
Member Avatar for davidbernardino

Hello, I am trying to create a form with php that echo data like this: "echo -e “username /npassword” > filename". I created the form and php embedded code but I cant seem to create variables with the text box names. We currently have a automated guest wifi account creation …

Web Development gui php
Member Avatar for Riu 2009
0
1K
Member Avatar for mktrx

Got a problem that has completely stumped me... am hoping the combined wisdom of the forum could assist... I have a php script that enables a user to follow and unfollow items on a site... Am doing this with a table that captures basically the user's id and the item …

Web Development mysql php
Member Avatar for iamthwee
0
290
Member Avatar for freakthemighty

I'm building a CMS in PHP and this is my first attempt to use ajax to do something cool. It's making my queryies problematic, however. I'm writing in this forum because my PHP forms worked fine before I did the following: On my index page, I have a header with …

Web Development html-css javascript php
Member Avatar for freakthemighty
0
370
Member Avatar for jateshs1007

I need a guidance for making a website. I wanted to know how can I make a website like, from the below websites. 1. http://www.mohi.me/ 2. http://leotartari.com/ I am interested in learning the slider of each section. I know the all basics (HTML, CSS, Javascript, PHP, ...). So please just …

Web Development html-css javascript
Member Avatar for <M/>
0
187
Member Avatar for wasim kazi

Hello, I have one CMS with fixed layout. In that I have make few changes depends on my current URL. If I am on my home page so This class given below is **div.layout-column.column-main.with-column-1.with-column-2 = width:790;** And If I am of some other page so this same class look like …

Member Avatar for wasim kazi
0
289
Member Avatar for BradleyD

Hi all! I have a simple problem (I hope). I wanted the text fields full instead of extra text on the page, so I'm using the "onfocus" and "onblur" events in a form. ie: value='Enter Your First Name Here' onfocus="this.value=''" onblur="if(this.value=='')this.value=this.defaultValue;" The problem is, if they don't enter any information, …

Web Development
Member Avatar for BradleyD
0
222
Member Avatar for HunainHafeez

how much dynamic a template could be ? dynamic , in terms of modifications !! e.g i purchase a template for my website and further i want to modify it for my own satisfaction and requirements ? that how much it could be modified ? At large extent ? or …

Web Development asp.net ui-ux
Member Avatar for HunainHafeez
0
153
Member Avatar for vishalonne

After lots of home work I came here for support and help. Please see the site[Click Here](http://www.cbsecsnip.in) on home page I have menu Computer Science and sub menu XI which open XICS.php on this page threr are few links. From those links few must work if user already logged in …

Web Development php session
Member Avatar for diafol
0
531
Member Avatar for JRCharlie

Hi I would like to learn PHP. But I can't seam to find the proper IDE so I can learn Build and debug websites. Does anyone know an Express version or free trial that I could download. Thanks in advance.

Web Development ide php
Member Avatar for JRCharlie
0
259
Member Avatar for pawan768

Hi , I want to display PHP Code on my a.php page , I use <code> <?php if($c==1) { echo $c; } ?> </code> in my HTML page , but when I Run this page it Gave me the Value of $c , But I want to print this code …

Web Development html-css php
Member Avatar for diafol
0
278
Member Avatar for aabbys

Hi All, Can any PHP, MySQL expert help me with security considerations while accessing online shared hosting MySQL database(PHPMyadmin) from a local wamp servers PHP page. I even don't know whether it can be possible.Please answer with some recomendations.

Web Development php
Member Avatar for aabbys
0
123
Member Avatar for lewilaloupe

Hi, Can't find what I am looking for anywhere and it's driving me crazy. I have a page on which I have 10 spots for images. Each spot needs to fade in/out about 5 images each, in a continuous loop. I can fade in/out on multiple images in a loop …

Web Development javascript javascript-jquery
Member Avatar for Taywin
0
1K
Member Avatar for Djmann1013

I am having trouble with this code block: if($row['banned'] == 1) { header( 'Location: http://www.awsomechat.comuv.com/ban/userbanned.php' ); } elseif ($row['banned'] == 2){ header( 'Location: http://www.awsomechat.comuv.com/ban/userbanned.php' ); } Ive also tried this: if($row['banned'] == 1 or $row['banned']== 2) { header( 'Location: http://www.awsomechat.comuv.com/ban/userbanned.php' ); } But none of this works... I am trying …

Web Development php programming-construct
Member Avatar for Djmann1013
0
165
Member Avatar for madhan

I am reading ASP.NET 3.5 Dummies book. I am on Chapter 4 and learning FormsView. The FormsView new button is not firing InsertItemTemplate. I have no idea where I am wrong in the below code. According to the book it should work without code-behind added Please help me figure out …

Web Development asp.net
Member Avatar for nakor77
0
154
Member Avatar for Riu 2009

Hi everyone..im new to php and dont know much about my sql as well.actually i have displayed a mysql table from database to my webpage using php.now i've got a seperate list of teachers with thier data(firstname, last name,email, type).what i want is to edit a specific record from the …

Web Development html-css php
Member Avatar for Riu 2009
0
236
Member Avatar for aabbys

Hi All, Here you need to understand two points 1)A Book Store App (which is a web application) made on PHP and MySQL is running on local wamp server(in one computer locally) for store's proprietary use, which is running fine. 2)I stucked with implementing online(Internet) version of web app for …

Member Avatar for aabbys
0
344
Member Avatar for b0tz

Hello, I'm currently working on a project and I need to get the values I need from the API server. I'm really new to working with objects and arrays alltogheter, can I have a little help and perhaps someone can provide a simple example on how I can do this …

Web Development api php
Member Avatar for b0tz
0
283
Member Avatar for Squidge

Ok, following from my previous thread (now resolved) i want to convert and use namespace. **headScript.php**: <?php class headScript { public function connection() { try { $dbh = new PDO("mysql:host=localhost;dbname=roundth4_rtb2", 'root', ''); // Dev return $dbh; } catch(PDOException $e) { echo "Error :- " . $e->getMessage(); die(); } } public …

Web Development php
Member Avatar for Squidge
0
191
Member Avatar for heshanm

Hi All, I have a small problem. I want to add time tables for each grade in a school. Therefore in my addTimeTable.php page i have created a form to enter student grade, class and stream. (required only for grade 12 and 13) When a user clicks on "Add" button …

Web Development data-science php
Member Avatar for diafol
0
204
Member Avatar for anand01

Hi all, I have created web application, I have converted as .war ,now i need to deploy it in apache-tomcat-7.0.16, Have pasted that war file in apache-tomcat-7.0.16\webapps but I cant acces that file ,its shows resource not available(404 error ) Could some one help me thanks in advance

Web Development apache java-jsp
Member Avatar for anand01
0
111
Member Avatar for vinay7868

i am working with php and trying something new that if user inputs "a" than all the records of name starting with "a" in employee table should be displayed... $letter=$_POST["letter"]; sql="select * from emp where emp_name='".$letter."'* " //is above query write and the wild character to be used is write …

Web Development php
Member Avatar for vinay7868
0
138
Member Avatar for harsha.netpem

Hello, When I run this query then i am getting **SELECT * FROM upload where cas_no=''104-55-2''** Why I get backslash in my query ? Otherwise query is ok. and URL value is exact value. www.abc.com/upload_reportt.php?cas_no='104-55-2'.... so what happen with my sql query? <?php session_start(); include(functions.php); ?> <body bgcolor="#F5F5DC"> <a href="logout.php"><h3 …

Web Development mysql php
Member Avatar for simplypixie
0
148
Member Avatar for joshuao

Im trying to get transaction details of a paypal account, which I was successful in doing so, but I get this long (what i assume is an array) but I need to insert the details into a mysql database. I've tried several foreach methods but apparently I am doing something …

Web Development mysql php
Member Avatar for LifeSteala
0
627
Member Avatar for PhilEaton

How can I execute a function that will run while the client is waiting for the server response? Here is my code. I looked up and found a .load() function, but how does that fit into this? Any help would be great! Thanks $.ajax({ type: "POST", url: "mail.php", data: {name: …

Member Avatar for JorgeM
0
219
Member Avatar for arshadshaikh

I have to make a virtual host with xampp. I have IIS installed already for windows 7. So I had to change port number for apache with Xampp. I have configured many times different virtual host with port 80 that is default port for apache server. However right now I …

Web Development apache microsoft php
Member Avatar for arshadshaikh
0
358
Member Avatar for weirdCreature7

Hello there! I just want to know how to check if session variable is array because thee code that I am trying to work is not working see below :) <?php if(is_array($_SESSION['cart'])){ echo '<tr bgcolor="#FFFFFF" style="font-weight:bold"><td>Serial</td><td>Name</td><td>Price</td><td>Qty</td><td>Amount</td><td>Options</td></tr>'; $max=count($_SESSION['cart']); for($i=0;$i<$max;$i++){ $pid=$_SESSION['cart'][$i]['productid']; $q=$_SESSION['cart'][$i]['qty']; $pname=get_product_name($pid); if($q==0) continue; ?>

Web Development php session
Member Avatar for diafol
0
518
Member Avatar for dan_code_guru

I want to be able to get the html of many different sites and parse them to pull the article text from them, it cant be specific for one site as i want to use it form many sites, what would be the best way of doing this?

Web Development html-css php
Member Avatar for diafol
0
222
Member Avatar for liezlardo

Hello! I really need help! I have these codes but I can't make them work. In my first drop down list box, if I chose one option, I only wanted to see its appropriate value in the second drop down list box. For example, if I chose 'Quezon City' in …

Web Development php
Member Avatar for diafol
0
1K
Member Avatar for davy_yg

Hello, I have this contact form [website](http://www.rustoleum-indonesia.com/konsultasi-konsumen.php ) Try to fill in the whole information then after you press submit, the next page start to hang. Why is it? <?php // FORM VALIDATION AND RECAPTCHA SETTING // Include ReCaptcha and define keys require_once('recaptchalib.php'); define('RECAPTCHA_PUBLIC', '6LdRStUSAAAAAH4f_NMg-Fmdp2bDo4LYNhN36ScB'); define('RECAPTCHA_PRIVATE', '6LdRStUSAAAAABctjZq_iX249auG_kjaNvn_4vfN'); // Define notification …

Web Development php
Member Avatar for joshl_1995
0
149
Member Avatar for Riu 2009

this is how is inserted link on line 53.but its giving syntax error.i could not find any mistake as i already put ; at the end of the line but still it is saying missing ; or , please help. <?php include("../includes/config.php"); ?> <!DOCTYPE HTML> <html> <head> <title>Admdin Home</title> <link …

Web Development html-css php
Member Avatar for Riu 2009
0
4K
Member Avatar for ali3011

hi i'm still learning some basics of php, and now i'm trying to modify codes.. and follow tutorials after following a tutorial i made this multi-uploader which uploads images and thumbnails but there's a little thing with it, it changes the image name to random name, and i want it …

Web Development file-stream php
Member Avatar for ali3011
0
200
Member Avatar for vindyauwu

Is there any way I can get PHP support ticketing system tutorial?????????????

Web Development php
Member Avatar for diafol
0
516
Member Avatar for debal

I installed Xampp and have the apache, FTP and MySql server running. Initially i was getting an error:- ## error :- ## MySQL said: Documentation 1045 - Access denied for user 'root'@'localhost' (using password: NO). Connection for controluser as defined in your configuration failed. phpMyAdmin tried to connect to the …

Web Development apache mysql php
Member Avatar for debal
0
288
Member Avatar for bLuEmEzzy

I want to make a message textbox, when there is a newline the text will go down to fit the size of the textbox text here text here text here text here text here text here text here text here text here text here text here text here text here …

Web Development php
Member Avatar for diafol
0
95
Member Avatar for Ansraj

Please give me solution for this problem problem while connecting DB2 database with JSP in netbeans on Windows 7 ultimate 64bit platform...... Error code that is appear on the browser while running connectivity code is-> "Failure in loading native library db2jcct2, java.lang.UnsatisfiedLinkError: C:\Program Files\IBM\SQLLIB\BIN\db2jcct2.dll: Can't load AMD 64-bit .dll on …

Web Development java-jsp java-netbeans
Member Avatar for okule
0
171
Member Avatar for printman55

I need help in using a variable passed in a hyperlink query string to do PHP query of a MySQL database. I want use the variable to query the database and return the unique row field data to display in a table The hyperlink is: [CODE]http://www.site.com/bios.php?pc=ab [/CODE] After connecting to …

Web Development mysql perl php
Member Avatar for phpkiller123
0
558
Member Avatar for grant.baker

Hi I'm working on a form validation script. Up to this point, I've only written very basic regex validations. The input that I'm trying to validate should have entries in the following format AAA111 separated by comma space. So some sample entries are : `ABC111` or `ABC111, ABC112, ABC113`. Here's …

Web Development javascript regex
Member Avatar for grant.baker
0
291
Member Avatar for maranda.blanks

Simple instant price quote calculator javascript Hi there, I am trying to come up with an instant price quote calculator in javascript. Below is a sample of what I need Price per Meal Price per Week Shipping & Handling included Tax estimated Total Please let me know what other information …

Web Development javascript
Member Avatar for lps
0
295
Member Avatar for HunainHafeez

what is basically a QUERY STRING ? how its beneficial and what is its scope ?

Web Development asp.net
Member Avatar for HunainHafeez
0
125
Member Avatar for crazydevelopervish

I am working on an online project ...... i have two links on one of the page..... say home page.... having two links One Say Shirts and Other Say Casual Shirts.... So when user click on Shirts he will be shown all Shirts from Shirts Table for men and when …

Web Development asp.net open-source
Member Avatar for nakor77
0
123
Member Avatar for Violet_82

Hi there, I am working on a website at the moment and I am using the firefox console quite a lot. I am in the process of testing a script and I have noticed something really odd, hopefully somebody might be able to tell me whether there is something I …

Web Development javascript
Member Avatar for Troy III
0
111
Member Avatar for maori

Hi Guys I have a select form element which splits an hour up into 4 segments like so '0.15' => t('0.15'), '0.30' => t('0.30'), '0.45' => t('0.45'), '1.0' => t('1.0'), but when it adds it to the database table i get funny input like 14.6 after adding the 0.15 which …

Web Development php
Member Avatar for diafol
0
87

The End.