39,323 Topics

Member Avatar for
Member Avatar for DarkWolffe

I have an [URL="http://pantheonarts.host22.com/xml/feed.xml"]RSS feed[/URL] set up using XML on the website I've developed for [URL="http://pantheonarts.host22.com/"]Pantheon Arts Unlimited[/URL]. I'm still fairly new to PHP and MySQL, so I find myself often jumping to various forums looking for answers for what are usually fairly obvious questions. My newest problem, however, I've …

Member Avatar for DarkWolffe
0
189
Member Avatar for aadebayo

Hello I have got a code below that works perfectly in generating html via PHP. However, I will like to export the results into PDF or Micorsoft word, but I am struggling. Please can anybody point me in the right direction [CODE]// Get house group details for this member //$memberRecord …

Member Avatar for aadebayo
0
119
Member Avatar for stanley87

May i know how to matching 2 array keywords? e.g I have 1st array keyword like kfc,mcd,fastfood,etc 2st array keyword like kfc,mcd If i want to get the matching keywords among these 2 arrays, how to i write the matching code? Thank advance for your help.

Member Avatar for stanley87
0
186
Member Avatar for DarkBerzerk

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. :/

Member Avatar for diafol
0
109
Member Avatar for twitah

[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) …

Member Avatar for diafol
0
152
Member Avatar for bibiki

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('', '', '', '', '', '', '', '', …

Member Avatar for bibiki
0
150
Member Avatar for waveydaveywaves

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;} …

Member Avatar for diafol
0
224
Member Avatar for hotice47

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 …

Member Avatar for diafol
0
134
Member Avatar for crishlay

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 ?

Member Avatar for diafol
0
78
Member Avatar for daniahmed

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 …

Member Avatar for diafol
0
62
Member Avatar for cmps

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: …

Member Avatar for cmps
0
112
Member Avatar for abelingaw

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" …

Member Avatar for raphie
0
222
Member Avatar for morrisproject

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 …

Member Avatar for raphie
0
3K
Member Avatar for srdva59

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 :)

0
51
Member Avatar for abelingaw

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". …

Member Avatar for abelingaw
0
123
Member Avatar for jonnyboy12

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 = …

Member Avatar for jonnyboy12
0
120
Member Avatar for jaycastr

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 …

Member Avatar for jaycastr
0
197
Member Avatar for showman13

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 …

Member Avatar for showman13
0
109
Member Avatar for naraza

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 …

Member Avatar for HITMANOF44th
0
110
Member Avatar for jacob21

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 …

Member Avatar for cereal
0
183
Member Avatar for davy_yg

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']) …

Member Avatar for simplypixie
0
77
Member Avatar for tibormarias

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 …

Member Avatar for tibormarias
0
184
Member Avatar for gunnerone

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)) …

Member Avatar for Rynkadink
0
86
Member Avatar for davy_yg

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 …

Member Avatar for davy_yg
0
117
Member Avatar for abelingaw

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; …

Member Avatar for abelingaw
0
265
Member Avatar for davy_yg

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 = …

Member Avatar for davy_yg
0
211
Member Avatar for SummerNight

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: …

Member Avatar for diafol
0
133
Member Avatar for JSR

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 …

Member Avatar for sush.princess
0
364
Member Avatar for saybabs

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.

Member Avatar for diafol
-1
98
Member Avatar for drewpark88

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 …

Member Avatar for drewpark88
0
155

The End.