39,320 Topics
| |
I need Video Gallery With cPanel, i searched all over the World Wide Web and found nothing xD doesnt matter free or for money, im ready to pay for it, Video Gallery With cPanel to upload and edit and those things. :/ | |
[CODE]<?php include('header.php'); foreach($_POST as $key => $value) { $protectie[$key] = filter($value); }if(isset($_POST['submit']) && $_POST['type'] == "facebook") { $num1 = mysql_query("SELECT * FROM `facebook` WHERE `facebook`='{$protectie['url']}'"); $num = mysql_num_rows($num1); if($num > 0){ $mesaj = "<div class=\"msg\"><div class=\"error\">Facebook Pages has been added before!</div></div>"; }else{ mysql_query("INSERT INTO `facebook` (user, facebook, title, points, cpc) … | |
Hey there, I am trying to build a small survey for a homework assignment. So, I have the following code: [CODE] $con = mysql_connect("localhost","user", "mypassword"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("mydatabase", $con); $slq = "INSERT INTO results VALUES('', '', '', '', '', '', '', '', … | |
I have literally been banging my head on my keyboard out of frustration. I'm trying to display PHP sessions as values in my php form, but it's not going so well. here's what I have: [CODE]<?php session_start();?><html> <head> <title>Create An Event</title> <style> label {float: left; width: 100px;} input[type=text],textarea {width: 210px;} … | |
Hi i have a form which is used to post jobs. i have multiple checkboxs for location's i need a way in which i can save all the values which are checked into single table or two . right now i have a table called jobs in which all the … | |
Hi I want to make website like [url]www.polyvore.com[/url] can anyone know me how i can make clone of this website. What tools or third party tools i have to use ? | |
Hi, I want to create a typical form in PHP pls help in coding 1. How to sent id in link and get that in in HiddenField. 2. How to get value in array from text box and then display in table. 3. save all the data in MySQL data … | |
Hello, Am not new to PHP but new to OOP, I have watched lot of tutorials for oop and as I saw, class is almost a new language!! To be a pro programmer, I should learn existing class attributes or I should create my own?? example of default class attribute: … | |
I'm having problem with my login php files. I don't know if it is in the passing of values from inputboxes or connection with my database records. log-in code: [CODE] <td align="right" width="130px"> Username: </td> <td><input type="text" size="40" id="username" class="inputbox" /></td> </tr> <tr> <td align="right"> Password: </td> <td><input type="password" size="40" … | |
Hi, My layout.php form has many buttons it and a current date field, which all have a unique id/name. when the button is clicked it uses the id and date on the new.php, so when the record is saved it is saved relating to the id and date and other … | |
hi, i creating my reports using the ireport and that works very fine. now i looking for a way to creat the same report online for example using a flash report designer. anyone know a solution for creat/design a report online? thanks for your help :) | |
I can't figure out what is wrong since my codes are correct. [CODE] $host="localhost"; $username=""; $password=""; $db_name="database"; $tbl_name="members"; mysql_connect("$host", "$username", "$password")or die("cannot connect"); mysql_select_db("$db_name")or die("Cannot Find Database"); [/CODE] Keeps on saying the die statement. I'm using WAMP, and yes. my database name is "database" and table is name is "member". … | |
Hello all. I am working with some code like this. [CODE] echo"<div style='background-image: url(boxshadow2small.jpg);text-align:center; height: 266px; width: 225px; '></div>"; [/CODE] I wanted to be able to control the size of this div with php conditions. I thaught i could do it like this, but its not working. [CODE] $someVariable = … | |
Hey Guys I am writing a application in PHP. One feature is that the admin can create a question for a test in the application. I want to use the users input to create an xml file and save the xml file in mysql database for later use. This is … | |
Good Morning All, I am doing a membership site for a client and would like to use SSl, but know absolutely nothing about it... My primary concern is whether there are any specific programming differences required in my scripts to accommodate the https as opposed to http? I use about … | |
i want to run my php process on back hand so i use scheduler task to run my php file in window i use this in run on scheduler task C:\Xampp\php\php.exe -f C:\Xampp\htdocs\my_script.php now i want that i want to stop my php.exe with php page locally or live page … | |
Hi i am new to php/ajax. I have a drop down list.if i select 1st option,it displays one upload file option. if select 2nd option,it display 3 upload box if select 3 option ,it dispaly 6 upload box. I did this using ajax & displaying it in a div. What … | |
product_preview.php [CODE] // EDIT / DELETE MODE $kategori = isset($_POST['kategori']) ? $_POST['kategori'] : ''; if(!empty($_POST['id']) && !empty($_POST['mode'])){ if(!$_POST['mode'] == 'edit'){ $output = mysql_query("SELECT * FROM kategori WHERE id=".$_POST['id']) or die(mysql_error()); $data = mysql_fetch_array($output); $kategori = $data['nama_kategori']; echo $kategori; } elseif(!$_POST['mode'] == 'delete'){ $output = mysql_query("DELETE * FROM produk WHERE id=".$_POST['id']) … | |
Hello Everyone, I'm quiet new to PHP, and I'm making a news portal practicing the language. I have an index page where the news are posted in an order-> [url]www.fundis.hu/index.php[/url] I have a results page, where is a search engine -> [url]www.fundis.hu/results.php[/url] In the index page I used dynamic links … | |
I have this code: [CODE] foreach( $_POST[ 'count' ] as $textBoxIndex => $textBoxValue ) { echo '<br />Textbox ' . $textBoxIndex . ' has value [' . $textBoxValue . ']'; } [/CODE] This loops through a series of text boxes with have been created with this: [CODE] <while($rowequipment = mysql_fetch_assoc($sqlequipment)) … | |
I store date in product_edit.php form, here is part of the script: product_edit.php [CODE] if (isset($_POST['save'])){ $tgl_masuk = date("y-m-j"); if (empty($_POST['id'])){ $result = mysql_query("INSERT INTO produk(nama_produk, harga, deskripsi, tgl_masuk, gambar) VALUES('".$nama."','".$harga."','".$deskripsi."','".$tgl_masuk."','".$gambar."')"); } else{ $result = mysql_query("UPDATE produk SET nama_produk='".$nama_produk."', harga='".$harga."', deskripsi='".$deskripsi."', gambar='".$gambar."' WHERE id=".$_POST['id']); $result = mysql_query($sqlstr) or die(mysql_error()); //Jika … | |
Hi there. I'm having some problem in aligning my captcha image on a form. Here's the SS: [URL="http://imageshack.us/photo/my-images/33/captchab.jpg"]http://imageshack.us/photo/my-images/33/captchab.jpg[/URL] And here's my login code: [CODE] <html> <title>Log In</title> <style> .singleBorder{ border:1px #d6d6d6 solid; background-color:#f6f6f6; } .singleBorder td{ font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; font-weight:bold; color:#333333; } .singleBorder input,select{ border:1px #aaaacc solid; font-family:tahoma; … | |
I am trying to save data (link & picture) in banner manager. banner_manager.php [CODE] //SIMPAN DATA if (isset($_POST['simpan'])){ $id = $_POST['id']; $link = mysql_real_escape_string($_POST['link']); //$gambar = $_POST['gambar']; //print_r($_POST); die(); echo $link; echo $gambar['name']; } //Cek apakah ada file yang diupload if((!empty($_FILES['uploaded_file'])) && ($_FILES['uploaded_file']['error'] == 0)){ //$gambar = uploadPicture('uploaded_file'); $target_path = … | |
Hi, I would really appreciate if I could be helped on the following PHP code. I have two arrays. 1) $user 2) $usertotal $user can have as many names stored in it. Example: $user[0]="John"; $user[1]="Sean"; $user[2]="Nick"; $user[3]="Jay"; ................ ................ Similary, $usertotal can have as many amount stored in it. Example: … | |
Hi Guys, new to this forum, kinda new to PHP in general haven't been using it long, mostly creating forms for database and custom CMS modules. Anyway, i'm building a html email tool from the ground up and just need some help with one thing. How do i convert values … | |
I Want someone to help me on how I can get 32-bit Windows Imaging Component. I look forward to your great assistance. Thanks in advance. | |
Hey Guys, I haven't touched PHP in awhile so I am kinda rusty. I made a validation method within my new request invite class and need some help. I took out all the other code that works so we can focus on checking if email exists. I am trying to … | |
HI.. I have been able to save images into MYSQL database using php but I am having problems with retrieving images from mySQL ...Can anyone help thks | |
hi all i want to create facebook like iamge gallery in my website. i.e. as facebook displayes images, i want to display images in the same way in my website | |
I simply need to check my mail server for new email messages and be able to search them by email address. I don't need to load the messages just check for new ones. Here's the scenario. I have table that lists models I have contacted. I want to run a … |
The End.