39,326 Topics

Member Avatar for
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
365
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
159
Member Avatar for John23

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

Member Avatar for veedeoo
0
149
Member Avatar for baig772

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

Member Avatar for mathieu89
0
75
Member Avatar for WickidGRAFX

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 …

0
60
Member Avatar for gikonyo

please help. i want pass variables from a php form to an online shopping payment systems this is the url i have [url]https://usd.swreg.org/cgi-bin/s.cgi?s=133537&p=133537-2&q=1&v=0&d=0&Variable[/url] Pricing=<?php echo"$price";?>" the url links the php form to the swreg.org but it doesn't transfer the price. how can i modify the code to transfer the price …

Member Avatar for gikonyo
0
308
Member Avatar for blahbla

hi i'm having trouble creating a drop down menu using data from the database and i dont understand where the problem is [CODE] <?php .... $conn ...blah blah blah... mysql_select_db ...blah blah blah... .... $query = mysql_query("SELECT * FROM teamdb WHERE sports='Basketball'"); $options = ""; while($row = mysql_fetch_array($query)) { $teamid …

Member Avatar for simplypixie
0
109
Member Avatar for elbeato

Hi there, I'm using php to try and take two separate arrays ($colors and $message), write them to a single multidimensional array ($endline), and then write the resulting md array into a csv. This works fine on my localhost, but for some reason it doesn't work through my web host. …

Member Avatar for elbeato
0
375
Member Avatar for bossie09
Member Avatar for james1700

Description: ------------ in my php pages i am using aes_encrypt which works fine. The issue i am having is with aes_decrypt. I have been searching for days to try and resolve this problem but need more help. The following string in my php will not bring any results back at …

Member Avatar for skraps
0
597
Member Avatar for gunnerone

Hi, i am trying to take a string from a text area and put it into a variable and split it by carriage returns and then add <li> to the beginning of the line and </li> to the end of a line. While putting <ul> at the beginning of the …

Member Avatar for blocblue
0
95
Member Avatar for opticblaze

Hi there, I have a form that collects array values and then posts it to another page.eg [CODE]<form action="page2" method="POST"> <input name = "myid[]" type="text" value="1"> <input name = "myid[]" type="text" value="4"> <input name = "myid[]" type="text" value="6"> </form>[/CODE] the second page then receives the array and implodes the results …

Member Avatar for opticblaze
0
249
Member Avatar for rse

Hello, I am new to php and mysql and I need to do password encryption and decryption. The password will be saved in a data base, I need to use an algorithm that uses SALT varible. Can some please help me with that? Thanks in advance.

Member Avatar for rse
0
2K
Member Avatar for gikonyo

is there any one with an idea of how to link a php form where by a customer places an order when the click clicks submit order data is verified,sent to database and then linked to SWREG i have implemented the order form, verification and sending data to the database. …

Member Avatar for gikonyo
0
109
Member Avatar for jacksantho

Yeah, its it possible to have multiple form in a single page. for example: <form action=test.php method=post> --- -- </form> <form action=test.php method=post> --- --- </form> Both the form action is the same test.php. Any problem ?

Member Avatar for reganstar
0
180
Member Avatar for gunnerone

How could i create x amount of checkboxes based on how many items are in a database and populate each check box with a php variable containing the data from the database. I have had a go and come up with the code below: But i cant seem to get …

Member Avatar for as.bhanuprakash
0
120
Member Avatar for codemonkey88

Perhaps not strictly a php question - but I can't find anything on this and thought you guys might be able to help. I am using a CMS which has FCKeditor built into it. Just recently (I didn't change the configuraation or server or anything) its started escaping all my …

Member Avatar for codemonkey88
0
97
Member Avatar for Fly_Batswana

I am using the code which i have attached but it generates errors.... the first error is in this line 36. if (isset($_POST[$MM_flag])){ if(empty($_POST['first_name'] || empty($_POST['last_name'])){ $error['name'] = 'Please enter your full name; name and surname'; }

Member Avatar for Biiim
0
51
Member Avatar for peter20

Hi, I am trying to print a table but I can't. I have a file called r.php with rules like [CODE]<?php $rule['ab'] = "afd"; $rule['vf'] = "ghe"; $rule['as'] = "rtg"; ?>[/CODE] and in another file I write [CODE]<?php include_once("r.php"); $a = 'as'; echo $rule[$a]; ?>[/CODE] but it is not printed …

Member Avatar for Biiim
0
153
Member Avatar for raf.fredi

How to check textarea value is submitted or not on insert page? if (isset($share)){ //do stuff } or anything else? I'm using click function #share instead form submit. How to check #share is clicked, on insert.php page? config.php [CODE] $host="localhost"; $user=""; $password=""; $db=""; $link = mysql_connect("$host", "$user", "$password"); $con=mysql_select_db("$db")or die(mysql_error()); …

Member Avatar for Biiim
0
125
Member Avatar for extjac

Is anyone familiar with this php class??? [url]http://justinvincent.com/ezsql[/url]. I am planing to start using it as framework. I think it is the based of Wordpress class.

Member Avatar for cereal
0
77
Member Avatar for davy_yg

Hi, I am using an include function to include image gallery to my site. this is index.html of image gallery: [CODE] <link rel="stylesheet" type="text/css" href="css/sliderkit-core.css" media="screen, projection" /> <link rel="stylesheet" type="text/css" href="css/sliderkit-demos.css" media="screen, projection" /> <link rel="stylesheet" href="css/main.css" type="text/css" /> <!--[if IE 6]> <link rel="stylesheet" type="text/css" href="css/sliderkit-demos-ie6.css" /> <![endif]--> <!--[if …

Member Avatar for davy_yg
0
170
Member Avatar for Rosiannie

Is there anyone here tell me how to create php auto suggest box from database using mojave linux?Thanks

Member Avatar for phoenix_2000
0
118
Member Avatar for davy_yg

Hi what's the code to keep the login safe. I mean after people login by entering username and password, I do not want other user to be able to access my web admin just by entering the url without login first. Notes the admin folder has many pages too which …

Member Avatar for Zahinize
0
182
Member Avatar for Drugsxxx

I dint know how to title this but... I`ll start from begining, i have a .txt file loking like this: 2011-11-14 15:39:51,Polnoc 2011-10-13 15:41:54,Polnocny-Wschod 2011-10-14 15:43:04,Wschod Then there is a code that shows data from last mont,week,day looking like this: [CODE]$lines = file('Kier.txt'); $monthlist = ""; $weeklist = ""; $daylist …

Member Avatar for diafol
0
128
Member Avatar for 140fulton

I'm seeing a problem where some $_SESSION variables are passed from one page to another, and others are not. The session is setup on login, with user identity held in $_SESSION["id"]. At a later date, I want to shift the identity to another, subordinate account. The change is handled by …

Member Avatar for diafol
0
314
Member Avatar for gunnerone

Hi, How would i have a text box where each new line is a bullet list. [CODE]<ul> <li>method line 1</li> <li>method line 2</li> </ul>[/CODE] Can i extract the HTML code tags with the text and insert it into a database with the code and text? So it can be accessed …

Member Avatar for blocblue
0
1K

The End.