39,323 Topics
| |
Please help me how i can contact the daniweb admin. | |
Hey... I've got some problems with jQuery. Code: jQuery: [code] <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript"> $(document).ready(function(){ $(".bspicdiv").animate({height:0},"fast"); $(".bspicdiv").animate({width:0},"fast"); $(".bspic").click(function(){ $("#box").animate({height:500},"fast"); $("#box").animate({width:500},"fast"); $(".bspicclose").click(function(){ $(".bspicdiv").animate({height:0},"fast"); $(".bspicdiv").animate({width:0},"fast"); }); }); }); </script> [/code] PHP/HTML: [code] echo "<a class=\"bspic\" href=\"#\"><img border=\"0\" src=\"./bsbilleder/".$file."\" height=\"80\" width=\"80\" /></a>"; echo "<div class=\"bspicdiv\"><a href=\"#\" class=\"bspicclose\"><img border=\"0\" src=\"./bsbilleder/".$file."\" height=\"450px\" width=\"450px\" /></a></div>"; … | |
Hello there members of DaniWeb :) Im making a website for my father but suddenly an error came up :( Error: Parse error: syntax error, unexpected '(' on line 44 Code: $first = true; $include_file = "./inc/acp.php"; foreach($_GET as $key => $value) { $include_file .= (($first)?("?")("&")) . $key . "=" … | |
hello. i have a code that looks like this: [CODE]$localdir = 'C:/somedir'; $dh = opendir($localdir); echo '<table><form method="post" action=""><input type="submit" value="Add checked" name="doneA" />'; while(($files = readdir($dh)) != false) { if ($files != "." && $files != "..") { echo '<tr><td><input type="checkbox" name="' . $files . '" /></td><td>' . $files … | |
Hi all! I need some help. What I need is, to make a listbox, and fill it from a mysql database, which contains users from my website. The idea was, to select two or more users from that listbox, and after hitting a submit button, I would see the comments … | |
Hi, I'm trying to make a custom search form in Concrete5 CMS. Without any help on their forums, I thought I could make a workaround for now. From what I understand, I can make a search form with an input field <input name='query' value='' /> which works absolutely fine, and … | |
I was wondering if there was a contains word to use with a mysql query, my current query is : //$query="SELECT * FROM $table WHERE date = '$selecteddate' AND Style = '$selectedstyle' AND Platform = '$selectedplatform'"; but the $selectedplatform isn't always the only thing in the Platform column, I just … | |
All arguments aside from using $html->tag() instead of <tag> ... I'm a trying to create a table to display photos I'm pulling from the database and something is amiss. When I was testing this I changed $num_cols to 2 and it ended the row and started a new one after … | |
hello.... it could be interesting.......my frnd asked a question to me...on if else condition. for suppose... [ICODE] <?php if(Condition) { echo "hello"; } else { echo "world"; } [/ICODE] it is the question. she asked me how to write condition for print hello world. | |
Hey guys, Im new to php and i have been given a question which i dont understand: --Create a PHP page that will display the content of each of the fields of the customer table of the warehouse database. Save the file as task3.php.The following code will be helpful (you … | |
Hello, i think the title describes exactly what my problem is. Please if anyone knows something post. | |
Hello! I'd like to ask a question, and I guess the simplest way to explain what I want is to simply show you the [URL="http://lace.forthesky.org/wardrobe/angelicpretty/op"]page[/URL]. See the sort by list? I simply want to sort the entries by year, which I did succeed with, in a way. The problem is … | |
I'm new to PHP and trying to learn a bit about classes. In most languages if a class member is private, it is accessed through a property which itself has an accessor. So there is a separate accessor for each property It appears in PHP that the __set accessor is … | |
Hi all i am newbie in PHP I would like to learn how to create simple admin panel via PHP if possible pls help me i am very in need of this script with explanation Thans beforehands | |
Hi, I was wondering if some of you guys could give me some advice. I have a normally setup websites for clients on a reseller account from a hosting company. However I was looking at setting up my own PHP/MYSQL server in a new office. We are looking at business … | |
I am creating a page of articles for a site i'm working on. The current page i'm creating needs a list of articles by date. I want to have it list the year the article was posted as a header then list only the entries for that year underneath. I … | |
I'm having a hard time getting this to work! I currently have 3 dropdowns. The 1st one will open up the 2nd 3rd ones. The 2nd one has just 1 value and the 3rd one has about 60 values the user can choose from. Then they fill in a text … | |
I am trying to create an email form that allows the user to subscribe or unsubscribe to an email list. It goes bad at line 25. This is what I have so far: I can not figure out how to write the unsubscribe part. I used if/elseif/else: 1 <?php 2 … | |
Hi Guys, I need your help. I have fedex address validation code downloaded from FedEx. The code works fine at this moment. Have you implemented the code in such a way so that it will tell you exact error / problem in validating address. Like, Invaid home address Block number … | |
i need help :( i'm trying to create an external menu with rollover images i'm using php include() the javascript for the rollover images is written into the <head> of every page and the included file contains the revelant html.... .... the rollover doesnt work. it says 'done, but with … | |
I have built a mobile website that searches my library's online catalog. Most things work fine, but I am hung up on multiple page results. For instance, if you search the catalog for "The Beatles" ([URL="http://bit.ly/cl2RkN"]http://bit.ly/cl2RkN[/URL]), I can't provide access to the second and third page, or get the results … | |
Hey everyone. I am looking to get some books to help further my education on web development. The difficult thing is finding one that suits me. I know the "basics" of programming (strings, lists, arrays, variables, classes, functions, etc) and so a book that is three-quarters full of basic programming … | |
Let see, who will solve this problem before i can... Problem is that values are getting update but in response, it is not showing the update values back on page. [CODE]<strong>Update multiple rows in mysql</strong><br> <?php $host="localhost"; // Host name $username="root"; // Mysql username $password=""; // Mysql password $db_name="newdb"; // … | |
I am beginner php programmer.How can i create dynamic link without using database in php page. For example I have creat a form. When user enter the data and click submit. I want to display submit page in same page. My form page is: [url]www.mysite.com/form.php[/url] and i want to create … | |
hi all, i had done a logout page. so wen we click on logout i am getting out but wen i click on back button i am again going to my account. so wat can i do..any idea...? thank u.. ---logout.php---- [CODE]<?php ob_start(); @session_start(); require_once ("check.php"); session_destroy(); echo "<strong style='color:#FF3333'>"."<left><h1>Successfully … | |
Hi all. I am completely new to PHP and MySQL and this forum, so I hope someone can help. I have just installed xampp (completely out of the box as it were) and am having problems with a simple script. The script is below [code] <?php ini_set('display_errors', 1); $connx = … | |
I've got a function for making input safe. One takes from a textarea on a form. The problem is when someone types a few paragraphs in it, using regular sentence stuff like ( ' , . () ? ) it kicks it out and gives them my error message. How … | |
Hello Everybody, i m new one in php/mysql, i created my database with the name of air_data, and in table i created 4 fields, in which one is "date", in every row i have different dates, now i trying to find out those "date" records for which i m searching … | |
hi iv got phpmailer and recaptcha together but im stuck. iv integrated recaptcha within my php form and im stuck on this part where it validates recaptcha and then if success i want it to submit the form to phpmailer. please see the following code [CODE] // redirect to success … | |
hi all, i need a link 'delete' so that wen i click on that link button that selected name should get delete. i know somewhat to write delete code but how to make it in a link..? can any one... Thanks in advance. |
The End.