39,320 Topics
| |
As heading shouts, I need to make source code formatter to format PHP Codes. RobertoP have written nice Lexical analyzer that means no need for me to tokenize file. I just do not know how to "juggle" with tokens to produce the formatted code. I appreciate any pointer especially simple … | |
Hi I have been using a replace array which has worked wonders but now I have just added one and it wont work why is this please. I can understand why it wont work but do not know what i have to do to sort it. I added the last … | |
hi guys i need help, i need php code about how to put a sound in website... thanks!!! | |
hi i want to create realestate search form. but i don't know how to do it . please help me. for example visit below site [Click Here](http://www.lankaland.lk/) | |
view.php <html> <head> <title>Video Upload</title> <link rel="stylesheet" href="styles.css" /> <link href="http://vjs.zencdn.net/4.0/video-js.css" rel="stylesheet"> <script src="http://vjs.zencdn.net/4.0/video.js"></script> </head> <body> <?php include 'connect.php'; ?> <div id="box"> <?php $video = $_GET['video']; ?> <video id="my_video_1" class="video-js vjs-default-skin" controls preload="auto" width="500" height="264" poster="my_video_poster.png" data-setup="{}"> <source src="videos/<?php echo $video; ?>" type='video/mp4' /> </video> </div> </body> </html> | |
menuWerx is a PHP class to generate a menu for your site. Options include: debug mode, horizontal or vertical orientation & hooks, optional inline styles, and strict or transitional modes. See an example at: [url]http://www.Clear-Mind.com/menuwerx/[/url] | |
I have a problem in searching text in data, like search only street = Denover... Here is my code. Pls help me. if i click button nothing happend... Index.php <?php include_once '../templete/header.php'; ?> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Search</title> <link href="style.css" rel="stylesheet" type="text/css" /> </head> <body> <form … | |
I'm using pspell and I have a large text document of one word per line that I would like to add in addition to the US dictionary already being loaded. I don't need to be writing to this document so just loading it for the session would be fine, I … | |
This snippit is a follow up to my first snippit, namely "Simple website hit counter" which is written in Perl. It does exactly the same thing using PHP. "Boring", you might say? Well, I have my reasons for wanting to learn this language and one needs to start somewhere :) … | |
Hi Everybody, Had a website transferred from Windows to Linux server, and ever since, I've had an error coming up when attempting to login - meaning that I can never actually enter the secure area of the website. I can login (i.e. press the login button) without error - however, … | |
Hi, I try to make a simple page to upload an image in Database. This is a test page in my website at this moment. The name of the table to store the images is image and the columns are: id, userid, name, image My problem is when I click … | |
Hi. I have HTML form and i need php code when i want to subtract something from coulmn in mysql database. Something like http://www.daniweb.com/web-development/php/threads/101739/using-php-and-html-forms-to-update-a-mysql-database MY FORM - HTML <form action="objednat_potvrdenie.php" method="post"> Meno: <input type="text" name="meno"><br> Priezvisko: <input type="text" name="prie"><br> Mesto: <input type="text" name="mesto"><br> Ulica: <input type="text" name="ulica"><br> PSÄŒ: <input type="text" … | |
Hi All - I am trying create classes for db connection and I am getting the following error Thanks in advance D Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'XXXXXXX_david'@'localhost' (using password: YES) in /home/djenning/public_html/dbconnection/connection.php on line 20 Cannot connect to the database page: connection.php <?php class createConnection //create a … | |
I have problem with this drop down menu. This code is part of form.php and is used by 2 pages, 1 page is working fine in which it will not show the "-assigned-", where the other page is showing it. I don't know why they both display differently. assuming library … | |
The code below is to select and then echo stuff from my db grouped by either weeks or months. I have a couple of more of these and then use offset to get the second week etc. FROM my_db WHERE DATE >= CURDATE() - INTERVAL 10 ".$grouping1." GROUP BY ".$grouping."(DATE) … | |
Hello, I am using xampp for mysql: When I try to delete a database : "DROP DATABASE" statements are disabled. That statement appears. Why is it? What other alternative I could use? Thanks. | |
This tiny captcha code is kind of weird. Only works in Firefox but not IE (6,8) Hope someone may figure it out what's going on? Or you may download this code from Author. (demo included) [Click Here](http://codefuture.co.uk/projects/captcha/) exmple.php <?php if(isset($_POST['setCaptcha'])){ include_once('./captcha/cf.captcha.php'); if(!check_captcha($_POST['setCaptcha'])){ echo 'CAPTCHA CHECK: <span style="color:red">'.$error_captcha.'</span>'; //exit(); }else{ echo … | |
This thread I am starting is a carry over from this thread http://www.daniweb.com/web-development/web-design-html-and-css/threads/205959/getting-ip-address-into-a-contact-form-field **In the thread above BBQKAREN and ALMOSTBOB was able to resolve her issue wich is the same issue I have but I have no way of contacting THEM here.** I have a form field (no PHP) code … | |
Hi everyone, I have created a twitter app to auto post to a number of twitter accounts. The auto tweet works great - but for one thing I am stuck on... I am trying to add a hashtag # (#) to the tweet but for some reason I'ts not working. … | |
Hey people I'm in some dire need of assistance. I am writing this small website which uses a database to store some info. Always when I call up add.php from the html file it shows every thing I've typed in the php file. I know its something small but can't … | |
Hello everyone, I am trying to find out how facebook extract information like image, title and description of a webpage using open graph tags. Please share you knowledge or any working scripts, tutorial. Thanks | |
Hullo, I am working with a datepicker that allows users to enter a date schedule for given tasks. However, I want the dates that have passed to be disabled from the datepicker, so that the user only selects a future date. Here is what I am using currently; <script type="text/javascript"> … | |
Hi all, I am looking into PDO, as I want to learn how to use it for future projects. I am fairly new to OOP, but got the basics by now.. All though I cant get this database class to work : class Database { private $host = 'localhost'; private … | |
I want to add a feature in which my website can translate from English to Hindi.. How it can done and there is any free script ? | |
Hello Friends, lately I have found a few websites that use very beautiful background and its look like 3D, i see the background Like using 2 layers background, i just want too know the name of this type background and how can i make it, example java or flash. ONE … | |
Hi all I am experiencing the following error. Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean givenit refers to line 94 which is the while loop start point. Thanks in advance D <?php $x=0; $remainder=0; $image_value = array(); $partners_id = array(); $description_value = array(); $url_value= array(); $image_filename_value = array(); … | |
Hullo, I am working on a php application that is meant to respond to user requests to create accounts. For instance; whoever wants to create an account has to send a text with "Login" as the message content. Only problem is that the mysql queries are not being executed. Can … | |
> hey guys, how to get min value in array 2D except value zero '0'and also key ? > i've try use min and array_filter function to solve it > can you help me?please Array ( [0] => Array ( [0] => 0 [1] => 6 [2] => 4 ) … | |
hello.. i have to need report...and i have to need dynamic select query from differnt table in php... and i have no idea about this..using if condition..but problem is that at time only fire one query... i have totally more that 5 select query how can i do it..? help … | |
how we can match the ans with database ans in online test and score wil be increment if the ans is correct |
The End.