39,323 Topics
| |
I'm trying to use php to validate my form. I would like to validate a product_name box for being not empty, a price box for being numeric and having a decimal, and a quantity box for being an integer. Right now I'm getting an error: Parse error: syntax error, unexpected … | |
hi i am coder i am selling games and code it simple of my work saifhallaq.freehostia.com that simple new ; casino[U]s[/U] fixed forums added max bet fixed casino faxed hard to rank not like all games 1day u have the last rank i can add new codes if you want … | |
Hi, I have never use CMS before and want to learn. For a beginner, do you think Joomla would be easy for me to learn or Drupal? Thanks | |
DOES ANYONE KNOW A WORKING PLUG IN FOR WORDPRESS SIDE BAR ALTERNATING WITH DIFFERENT PAGE AND/OR POST? I FOUND IN THE SOME WORDPRESS SITE, BUT ANY OF THEN WORK PROPERLY, I TRIED TO CHANGE THE FUCNTION.PHP BUT STILL REMAINS THE THE SAME SIDEBAR... THANKS [CODE]<?php if ( function_exists('register_sidebar') ) register_sidebar(array('name'=>'sidebar1', … | |
Hi, i am having a problem with a form where a user can enter there birthday when they register. In the database it does not show up, it only shows the default value 0000-00-00. I am using month, date and year in the form and i am wondering is there … | |
hi guys! i need ur help because im noob at web programming.well.. i would like to insert formatted text (html) in the mysql database and retrive it to a page. do i have to save text with all tags? what is the best way to do that? example: i hav … | |
Hi .......... I attached screen shot with this thread. is this possible for calculating these two values and display the same page. This values retrieve from database. | |
Hi, Yesterday I downloadet and installed wamp, it worked quite fine most of it. I could put it on Offline and online mode if I wanted to, but when I tested my php page on the localhost by typing [url]http://localhost/index.php[/url] in the adress bar it would get directed to wamp's … | |
Hi, Is this structure correct guys because I get this error message "Fatal error: Class doL contains 2 abstract methods and must therefore be declared abstract or implement the remaining methods (AbstractData......." Thanks in advance [code] abstract class AbstractDatabase{ ... Some function ... abstract public function setLogin(); abstract protected function … | |
please list down [B]5 basic things about joomla [/B]such as: 1) joomla installation works for single site (is it true?) :-O 2) we can easily modify structure of a site as a modules. what ohters thing to keep in mind about joomla ???? | |
Hi all, i have m y search setup which brings back a part number, a description and then underneath any associated manufacturers name and part number which could range from 1 to 20, my problem is i just want to populate my table if there is something there and if … | |
Hello All, I am a new Ajax learner... i am trying to do one simple script to handle the following.. Adding, deletion and modification of records in one mysql table using php and Ajax. I have created following code so far... if anyone could lead me to a better simple … | |
hie.. i want to need the process and requirment for integrating API of google checkout with php code? i dont have to make something sell. but want to hire labour and for that user has to make payment , but there are option such as buy now etc option can … | |
I have a "while loop" on a PHP page with stuff coming from a DB, how do I make that the content should come as a table with a few row and columns? | |
Hello, I have this inquiry form. I wish to capture the fields and email via php script. Can anyone help me in doing that? It uses html text field, select and textarea form elements.. In select name I wish to capture and email the option selected. <form action="#" method="get" name="form1"> … | |
I'm having a problem creating a dropdown list and populating it with information from a database. When I display the page below I get this PHP code displayed in place of the drop down menu: " \n"; while ($row = mysqli_fetch_array($result)) { $str .= '' . $row['systemName'] . ' ' … | |
Hello everyone Im new to this forum as well as new to MySQL. Ive read countless forums about using blobs and referencing. Im the type of person who learns by seeing. I kinda understand the referencing but I would like to see an example if I am doing it correctly. … | |
Im am trying to create a custom PHP code on SMF v1.1.1 My task: To get my HTML to be the same as the attchment What I am asking I am asking for anyone to help me create PHP codes to make the HTML be the same as the attchment. … | |
Hello everyone! This is my first post, been a long time reader though. First of all, it's been a while since I don't program and I'm rusty (very). The problem is: I just can't learn how to use the JOIN or UNION commands, everything I read is confusing. I'm simply … | |
hello all. i am writing a php / mysql script that does various things, but in addition to those things i need it to get the username of whoever is using the front end. any help is greatly appreciated! also i can post some code snippets if you want a … | |
[code] <? ob_start(); ?><?php //session_start(); include('ziplib.php'); //require 'database.php'; //require 'zip/gnu-lgpl.txt'; require 'zip/pclzip.lib.php'; // if($_POST['download']) // from button name="delete" { $checkbox = $_POST['checkbox']; //from name="checkbox[]" $countCheck = count($_POST['checkbox']); for($i=0;$i<$countCheck;$i++) { $del_id = $checkbox[$i]; if(isset($_GET['del_id'])) { $id = $_GET['del_id']; $query = "SELECT * FROM updatenews WHERE id = $del_id"; $result = mysqli_query('$query') … | |
I'm wondering is it possible to echo out an entire media player, such as windows media player,in a similar method to echoing out all other tags such as tables and divs? The code i want to echo out, only if certain variables dictate, is this: [CODE]<OBJECT id='mediaPlayer' width="300" height="250" classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95' … | |
hello firends. I am learning php and I install wamp but now i dont know what i must do for using wamp server and how i must execute my projects? | |
Hi! Ok thats it. Bye.. no jk My names Joe Segal. I develop websites and live for the thrill of innovation and creativity. I just launched a new website called SNIP that helps any site owner publish instant surveys and feedback forms on their sites and make money in the … | |
Hi, I'm creating a simple analytics script to use on my website(s). I started of very simply by just creating a new record for every session, and updating the sessions (i.e. incrementing the number of pageloads for that session) when a new page is loaded. I also save the browser/version … | |
Since am new to php i have the following doubt. I have a combo box within a form in my home page.The combo box will display data from mysql database. When the user chooses an item, i have to pass it to an query and display the result in a … | |
My company has a IIS server which is hosting a PHP intranet application. The IIS basically authenticates the user by using Windows Integrated Authentication so once the user is logged on his/her machine he doesnt have to provide credentials again. One of the employees is using Remote Desktop to logon … | |
Hi friends, I get some error for storing into database. I given that coding.any body know pls say to me. accep.php <?php $check=$_REQUEST['submit']; mysql_connect("localhost","root",""); mysql_select_db("menus") or die(mysql_error()); $projectid=$_REQUEST['pid']; $projectname= $_REQUEST['pname']; $projectcat= $_REQUEST['pcat']; $scope=$_REQUEST['psco']; $location=$_REQUEST['plo']; $rate=$_REQUEST['prate']; $query="insert into order values('$projectid','$projectname','$projectcat','$scope','$location','$rate')"; $dbase=mysql_query($query) or die(mysql_error()); if($dbase==TRUE) { include("congrat.php"); } ?> Detail.php <body> <h3> … | |
i have an ASP web services to change byte array that given from the client and change it to a file the code is like this : [WebMethod] [CODE=asp] public string UploadFile(byte[] f, string fileName) { try { MemoryStream ms = new MemoryStream(f); String path="/images/"; String location=HttpContext.Current.Server.MapPath(path); FileStream fs = … | |
Hey guys, I need an idea on how to determine wether a user that has been logged in is a supervisor. Ive made my login.php file and my choosereview.php.I have a very slight idea on how to do it but i just cant get it right.I want to determine whether … |
The End.