52,566 Archived Topics
Remove Filter ![]() | |
Hi, I'm trying to make a template page for my web site. The main template will include a header section, a main body section and a footer section (not included in sample code). I want to make the header and footer sections separate html pages so I only need to … Web Development html-css linked-list php | |
I can't select elements within my popover for the Bootstrap framework. I've tried: $("#button").popover({content:"<span id="test">Test</span>", html:true, placement:"bottom"}); And tried selecting the inner span with: $("#test").html("foo"); This doesn't seem to work. Help! Web Development css-bootstrap javascript javascript-jquery | |
HI, Am trying for onload page content from backend(perl) using Ajax .When Tried with simple CGIHTTPServer then, the pages is getting load as required . But as same page i moved to Apache Server , the content are not getting load .Am not getting any error also..:( how to debug … Web Development apache javascript javascript-jquery | |
![]() | I cannot work out how to get an integer value from a textbox from inside a datalist for a variable to insert into SQL. Here is my code. int qty = int.parse(dlProducts.Controls[0].FindControl("txtProductQty")); and this variable will be put into an insert Query. into a textbox inside a datalist id="dlProducts" <asp:TextBox … |
Hi I am creating some files of which are taken from database fields, the problem is the field in the database has £ in which is great as it is needed when in the browser page. The problem I have is when making the file is that it creates the … Web Development php | |
Hi! It's ma first time in this forum,i hope u wll wormly welcome me.I am an undergraduate student in Software Eng. at the University of Dodoma in Tanzania, i would like 2 know if I can develope a **computer alarm** with **PHP**, if not the other languages I h've gon … Web Development php ![]() | |
I've been through a dozen blogs tonight looking for a solution for this problem. I am populating pages dynamically (shopping cart) and I grab the product name and descriptionfrom SQL Server then use that data to populate the page title, keywords and description meta tags. This is usually simple until … Web Development asp.net | |
Hi, In the fg_membersite.php file I would like to get the ['id_user'] variable under the function SendUserWelcomeEmail, so the subscriber will receive the registration number (a kind of ticket)... Can someone help me on how to achieve this? I've been trying changes for months but I get nothing. Many thanks … Web Development php | |
Could you help me solve the problem The code bellow locate the image path just in "image1" Something like this id image1 image2 image3 image4 image5 image6 1 pic1 2 pic2 but I need to get something like this id image1 image2 image3 image4 image5 image6 1 pic1 pic2 pic2 … Web Development programming-construct | |
ok so im having trouble working out the best solution to this. i have a database with two tables as follows  I want to load a single date based on the ID but then load each content that has that dateIDFK - this is fine in sql however … | |
Your coding skills are needed. my website [Click Here](http://www.kidztar.com)works great in all browsers except internet explorer. On the tour book tab, the java script flips through my book. In internet explorer every other page of the book does not show up. Can you look at the code and help me … Web Development html-css javascript publishing | |
hello everyone..i just wanna ask how i can increment the score after each answer given by the user and at last displaying result after questions finish. i want to store the result in database here's my code which is working fine with checking questions and displaying result and then next … Web Development html-css javascript-jquery php | |
Dear Everyone! I am building a website which shows in many gas stations the current price. Well, I am stuck a bit, because there are many gas stations around my country, and it wouldn't be a bright activity to keep them freshly every single day. Is there any trick or … Web Development javascript | |
Hi, I'm trying to make my gallery so that it shows a certain number of images then creates more pages. Can anyone help me out on this? This is my gallery file at the minute. gallery.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <link href="../css/thumbnailviewer.css" rel="stylesheet" … | |
Ok, I am not a professional in PHP as I am more on front-end than back-end. I want to know some information of file upload in PHP. I did create a website as a project where users can upload images, with its security and validation. The images stored in a … Web Development algorithm file-system pdf php | |
Its been alot of mess to make the pagination in wordpress :( I have the pagination, but it renders the same page template file is ?php get_header(); ?> <?php global $my_query; global $paged; $paged = get_query_var('paged') ? get_query_var('paged') : 1; $temp = $my_query; $my_query = null; $args = array( 'post_type' … | |
hi, im trying to write a mysql query to join tables. I basically i have the following tables: tblwinners = table that shows all the winners PK reward_id customer_id tbluser = table that holds all the user accounts PK customer_id tblcompleterewards = completed rewards PK reward_id tblrewards = holds a … | |
Hello Everyone, I have a php class like this: class DatabaseObject { protected static $table_name; } Then, when I extended this class, I do this: class User extends DatabaseObject { protected static $table_name = "users"; } However, I am encountering errors "mysql_fetch_array(): supplied argument is not a valid MySQL" because … Web Development php | |
I Have a drop down that allows the users to select 'other' if they do the drop down disappears and a text box and new drop down appear. What I would like is for this text box and drop down to be in the same position as the previous drop … Web Development asp.net | |
> hy guys,..how to make paging from array 3D? > first index[0] become first page next index[1]become second page and next index[2] become third page > example: Array ( [0] => Array page>>>1 ( [0] => Array ( [0] => aaa [1] => bbb ) [1] => Array ( [0] … | |
Hello, I am trying to install this free script: --------------- 3. Installation --------------- To install MyMail, follow these simple steps and you'll be creating lists in no time. 1. Unzip file contents to a folder 2. FTP into your server and upload MyMail 3. CHMOD config.php to 777 and the … | |
Hi, I need help in writing a regular expression accoding to the following criteria: preg_match (keywords tel/contact/phone/phne/telephone which can be found anywhere in the string) followed by 7 int(numbers). Thnx, Regards, Sami | |
Hey Friends, Developing an Online Shopping System. Firstly had posted a code regarding MD5 Encryption and it was solved very quickly. Require the same help again. While registering an image selected by the User should be inserted into the Database. Posting a Code which follows the DAO Pattern but i … Web Development database-design encryption image java-jsp session | |
Hello everyone! I need help. How do I stop a typing text, how to hide/show a class/id, and load a content everytime a button is press. The problem in my code is it doesn't hide the website, everytime I click the button it always reload the content. Then when I … Web Development html-css javascript javascript-jquery legal | |
<?php $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("ms", $con); $time1 = $row['timein']; $time2 = $row['timeout']; $sql = mysql_query("SELECT employees.*, timetable.* FROM employees INNER JOIN timetable ON employees.id = timetable.id WHERE timetable.in_time BETWEEN employees.timein AND employees.timeout "); echo "<table width='734'> <tr> <th width='49' scope='col'>Employee … Web Development php | |
If I choose to retrieve some MySQL data using PHP, how do I put it in a certain area of my page? For example, if there is a div with an id of "putTextHere", how to make PHP echo/put text in this div? And how to get a certain value … | |
Hi, I am trying to create an input that collects address inputs (home address) and I have no idea how to start nor how to create an input like that. I tried Google, got nothing from it. If anyone can help, that would be great :) Web Development php | |
hi, i have a problem to display my data. i have 4 table (**proposals,quotation, po,simulation**), in **proposal** there is **pro_id, pro_name,file_name and file**, in **quotation** there is **pro_id, quo_name, file_name and file**, in **po** there is **pro_id, po_name, file_name and file**, in **simulation** there is **pro_id, simul_name, file_name and file**. … ![]() | |
hiii! Can any one help me to add super user to my login script that can veiw and edit all user, and evry user can veiw his/her profile like facebook. hope you people will help me. Web Development php ![]() | |
hi everyone i have made 3 stylesheets for different looks for my website i want to load/ change the stylesheet if the user selects the dropdown option and cliks update button heres my code for drop down <label>Select Theme:</label> <select name="theme" value="<?php echo $theme; ?>"> <option value="Default">Default</option> <option value="Dark">Dark</option> <option … Web Development php ![]() | |
Hi Admin..!! i want source code in php+ajax for a form, in such a way that, suppose i have a form in php, with 10 different fields, when the user fills that form, the fields next to gender should automaically change, like the remaining fields must be different for Male … Web Development javascript javascript-jquery php | |
Hi, How I should crypt messages when sending on my own site them from user to another? I don't want them to be plain text in a database or be readable easyly via stealing datastream over wifi. Thanks! Web Development php ![]() | |
i am getting nothing , i am trying to retrieve checkbox value and email address from gridview via code, I am succeeded in getting Checkbox value successfully but cannt get email address, even grid view has it, but i cant get, just blank, here is the code: .cs : protected … | |
hi to all m lil bit confuse as m beginner to the xml+xpath. so m sorry if i m unable to ask any kind of wrong question. now the question is m trying to accessing the name of the of the attribute of xml file using xpath and tyring to … | |
Hi I am inserting in database but there is error in query. i have array in which form data is stored and function recieve the array but data is not inserting in array. bellow is the code. $insArr=array(); $insArr['first_name']=addslashes($_REQUEST['first_name']); $insArr['last_name']=addslashes($_REQUEST['last_name']); $insArr['email']=addslashes($_REQUEST['emailid']); etc there is 46 fields in table //now the … Web Development php | |
**Hi Daniweb!** I have a question regarding my e-commerce website. On my product overview, I have this code: <?php $replace_what = array('/',' ', ' - ', ' ', ', ', ','); $replace_with = array('-',' ', '-', '-', ',', '-'); //Start of (1) $mysqli = new mysqli(***); if (mysqli_connect_errno()) { printf("Connect … Web Development php | |
When an item is selected in the drop down it will show a text box, but when another item is selected the text box stays and it keeps adding to the end. I need to be able to have only the text box appear that goes with the item. <!DOCTYPE … Web Development javascript | |
I wrote this script for my validation page.I used javascript and jquery mixed it all up. For some reason when I submit the gender validation doesnt work right, it keeps asking to validate but every other condition works. What I've pasted below is just the gender condition and the "if … Web Development html-css javascript javascript-jquery | |
hi everyone, i just want to ask is there any mistake in my code..because whenever i comment the email check it wroks fine but with email check it always gives error that this email already exists.. i am actually checking if the email im going to add is present already … Web Development php | |
hope everyone is fine over there :) i just wanted to ask how i can display only one question at a time from mysql table?? here is my code which is doing following things 1) selecting all questions and displaying them what i want to do is 1) display only … Web Development php | |
Hi, not too sure if Web Development is the right place for this but anyway: I've never done any web development and I have never created a Firefox extension either but here's the thing: I am making a project for myself, a Java (not JavaScript!!!) program that can add, change … Web Development java web-browser | |
There is code in the project I am working on that increments. Basically the user selects from a drop down list and than there is a button that increments the number for that option, to record how many times they've done something. Now I need to write code to decrement … Web Development asp.net linked-list session | |
I need help. I got this error after submitting a form that uses formmail.php: Parse error: syntax error, unexpected T_STRING in /home/thewebdy/public_html Web Development php | |
I'm a bit lost on this with html5 - The datasrc attribute on the select element is obsolete. Use script and a mechanism such as XMLHttpRequest to populate the page dynamically.. Does this mean that I will have to change everything into a ajax format? Web Development php ![]() | |
i Always getting : **mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\wamp\www\class\function.php on line 28** please give the suggestion friends config.php <?php define('DB_SERVER', 'localhost'); define('DB_USERNAME', 'root'); define('DB_PASSWORD', '12345'); define('DB_DATABASE', 'class'); class db_class { function db_constractor() { $connection = mysql_connect(DB_SERVER, DB_USERNAME, DB_PASSWORD) or die('Oops connection error -> … | |
Getting a q is undefined.. I took <option="1">1</option> etc.. and now I'm pulling with ajax from datasrc.. I can't quite figure out how to define my database value.. The one uses query which pulls from the auto start typing.. then it submits to the other page through q - Once … Web Development javascript php | |
I'm getting this error in one of my scripts: **You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-25,25' at line 1** Below is part of the code any help would be great <?php … | |
At the minute I have code that allows the user to enter a reference number and it returns the record from the database matching that exact reference. But I would like it so that the user can enter only part of the reference and it will return all records that … Web Development asp.net | |
Okay, sorry if it's a terribly easy/newb-ish task. But I really need this figured out, so I appreciate any help at all. I have a simple online exam task with just a couple of pages, just started learning PHP. The process is like this: 1.) a new user inputs his … Web Development php | |
Hello all.. we can execute php files from the command line interface... but do we have anything using which we can execute the command line cmds from our php file?? Plz help soon.. Web Development php |
The End.