39,323 Topics

Member Avatar for
Member Avatar for Sikander Nasar
Member Avatar for davy_yg

input_image.php <p>metode image managementnya masih konstruksi</p><center> <p> <?php include('../includes/koneksi.php'); $id = isset($_POST['id']) ? $_POST['id'] : ''; $confirmation = isset($_POST['confirmation']) ? $_POST['confirmation'] : ''; $judul = isset($_POST['judul']) ? $_POST['judul'] : ''; $image = isset($_POST['image']) ? $_POST['image'] : ''; //Load berita if (!empty($_REQUEST['id'])){ $result = mysql_query("SELECT * FROM gallery WHERE id =".$_REQUEST['id']) …

Member Avatar for Sikander Nasar
0
354
Member Avatar for patk570

Hello, I found this script and have used it for my login system. http://www.wikihow.com/Discussion:Create-a-Secure-Login-Script-in-PHP-and-MySQL I have changed some variables but none the less its the same. I am trying to create a reset password script here is what i tried so far: function resetPassword(){ //Main Info $id = $_POST['id']; $email …

Member Avatar for patk570
0
315
Member Avatar for Sikander Nasar

`$iCustomerId = IO::intValue("CustomerId");` why we use IO::intValue(); and other function similar to this.I am too confused about this.

Member Avatar for Sikander Nasar
0
180
Member Avatar for Daniel_24

<?php if(PHP_OS == "WINNT" || PHP_OS == "WIN32"){ $dlext = "dll"; }else{ $dlext = "so"; } if(!extension_loaded("Mapscript")){ dl("php_mapscript.$dlext"); } $map_path = "C:/ms4w/Apache/htdocs/Latihan/map/Riau.map" $map = ms_newMapObj($map_path); $image = $map->draw(); $image_url = $image->saveWebImage(); ?>

Member Avatar for pritaeas
0
53
Member Avatar for jKidz

Hi Guys, I am developing a Music Database system. This is a 'Song.php' page. It will be a Detailed page of a each song. Ex : song.php?id=1 <?php if(!empty($_GET['id'])) { $sid = mysql_real_escape_string ($_GET['id']); } // if song id is null, user will redirect to the full song list else …

Member Avatar for Benjamin_11
0
178
Member Avatar for chaitu11

I have attached an image file i want to escape first there rows and import data from sudha---- if(isset($_POST['submit'])) { $account_type = $_POST['account_type']; $fname = $_FILES['sel_file']['name']; echo '<center class=green>Uploaded file name is: '.$fname.'</center> '; $chk_ext = explode(".",$fname); if(strtolower(end($chk_ext)) == "csv") { $filename = $_FILES['sel_file']['tmp_name']; $handle = fopen($filename, "r"); fgetcsv($handle); //skip …

Member Avatar for Benjamin_11
0
3K
Member Avatar for arafath077

HI .Im devoloping a new website.can i integrate google analtics api to my Website Dashboard to show bounce rate and page visit result or summary.?

Member Avatar for cereal
0
117
Member Avatar for [NOPE]FOREVER

I have a php/mysql project. When the admin deletes a customer or product from the database on the form I need an confirm box to show and ask the admin if they are sure they want to delete and have the customer row show in the confirm also. Here is …

Member Avatar for pritaeas
4
339
Member Avatar for hericles

I don't know much about Magento so I need some advice. I do know PHP. A client wants to update their website to ecommerce and use Magento as the framework but they want to use their current accounting package for user logins, products, orders account, etc because the data is …

Member Avatar for iamthwee
0
317
Member Avatar for iamthwee

Hi I am using codeigniter and I want to use a constant defined in the config>constant file. For example, my color theme for my view might be blue, so I save this in the constants file. define('blue', '#3fsefe'); Now I can use this in all my views... works fine. But …

Member Avatar for iamthwee
0
4K
Member Avatar for centenond

So i made a inbox system and its stores the accents(í,é,ú etc..) like &iacute;,&eacute;,&uacute; wich is perfect, but then i made another script and its storing the í's like à and i dont know why... i have <meta charset="utf-8"> on both and mysql collation are both utf8 any one knows …

Member Avatar for centenond
0
118
Member Avatar for nadiam

hey guys, so i'm trying to insert data from one table to another. table 1: |event_id|event_name|start|end|event_venue| table 2: |guest_id|guest_name|event_id|event_name| $event = mysql_query("INSERT INTO event VALUES('','$name','$dstart $tstart','$dend $tend','$venue')"); $insertg = mysql_query("INSERT INTO guest(event_id, event_name) SELECT event_id, event_name, FROM `event` WHERE `event_name` = `$name` "); i get : > Column count doesn't …

Member Avatar for guruparthi
0
2K
Member Avatar for zein1212

This is my index.php <?php if(!isset($_GET["page"]) || $_GET["page"] == "home"){ if(isset($_GET["txt"])){ include "search.php"; }else{ include "content.php"; } }else if($_GET["page"] == "user" && $_GET["user"]){ include "content_kategori.php"; }else if($_GET["page"] == "kategori" && $_GET["kode"]){ include "content_kategori.php"; }else if($_GET["page"] == "full" && $_GET["kode"]){ include "content_full.php"; }else{} ?> and this is my .htacces <IfModule mod_rewrite.c> …

Member Avatar for guruparthi
0
253
Member Avatar for cdes1145

Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\classes\Trade.class.php on line 12 Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\classes\Trade.class.php on line 19 Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\classes\Trade.class.php on line 70 Line 12 [CODE]while ( $trade_users_row …

Member Avatar for guruparthi
0
660
Member Avatar for Aruna R

Happy Day.. Hello All! I want to know the Difference between mysql_fetch_array and mysql_fetch_assoc.,and Im new here.. and also to php.. Plz help me to solve my problems..

Member Avatar for guruparthi
0
7K
Member Avatar for kingwash

//exporting to csv file. // this is my code. <?php // Database Connection $host="localhost"; $uname="root"; $pass=""; $database = "db_name"; $connection=mysql_connect($host,$uname,$pass); echo mysql_error(); //or die("Database Connection Failed"); $selectdb=mysql_select_db($database) or die("Database could not be selected"); $result=mysql_select_db($database) or die("database cannot be selected <br>"); // Fetch Record from Database $output = ""; $table = …

Member Avatar for chaitu11
0
3K
Member Avatar for gogs85

How to upload images into database with pdo or only image name and image move into folder

Member Avatar for diafol
0
2K
Member Avatar for jj.dcruz

Im having a problem using foreach i cant seem to understand this yet. my problem is when i enter all the data needed it shows many inserting code I cant seem to figure this out This is the Output INSERT INTO `dependents`(`d_name`, `d_age`) VALUES (1,1) INSERT INTO `dependents`(`d_name`, `d_age`) VALUES …

Member Avatar for arunmagar
0
462
Member Avatar for showman13

Good Morning All... This may be a simple question but hopefully someone can give me a specific answer... I know I can set a date based on the current date + or - a specified number of days $created = date("Y-m-d H:i:s", time()) ; $dist_date = date("Y-m-d", strtotime($created.'+4 days')) ;// …

Member Avatar for showman13
0
230
Member Avatar for sanjay_7

i had develop a phonegap application with my woocommerce store. now i want to create order manually. So anyone can tell me when new order is created in woocommerce store how many data inserted in which tables in database. i mean data at the time of new order generation in …

0
119
Member Avatar for Stefce

Hello guys i have question how is the right way to write the mysqli_connect ? $con=mysqli_connect("username","host","password","db_name"); Please tell me if im wrong and how to fix it. Thanks ! :)

Member Avatar for cereal
0
131
Member Avatar for showman13

This is sort of a generic question... I'm at a point where I need to do some report generation with various data from different tables i.e. commissions earned / transactions processed / etc... I was wondering if anyone happens to know of a script base that could be used for …

Member Avatar for showman13
0
669
Member Avatar for markii.borabon

I got a simple problem here. what I want is when I recieve message from the user the links must be color blue, then if I read it it must change into a color red, then when they reply again, there message must turn into un-visited again or the message …

Member Avatar for Tpojka
0
112
Member Avatar for markii.borabon

please help.. why I can't browse my website online even though it is already uploaded.? please help..

Member Avatar for markii.borabon
-2
299
Member Avatar for malatamil

i have 2 tables seo_footer_title and seo_title. i want to add title,description and keywords footer.php <li><a href="index.php?city=<? echo $city;?>">Home</a></li> <li><a href="about_us1.php?page=2" title="About Us" onclick="function changetab();">About Us</a></li> <li><a href="contact_us1.php?page=3" title="Contact Us">Contact Us</a></li> header.php $page = $_GET['page']; $sql1 = mysql_query("SELECT st.`id`,st.Catagory, st.`title`, st.`description`, st.`keywords`,sft.id,sft.titles FROM `seo_title` st JOIN seo_footer_title sft ON sft.id=st.Catagory …

Member Avatar for malatamil
0
232
Member Avatar for boney

I have created my own template and am able to list all the posts on the index page. I want to be able to have some space after each post. Like a blank height of 5px. I created a class in css called blank5 => .blank5 {height:5px;} but it doesn't …

Member Avatar for boney
0
163
Member Avatar for filipgothic

Why when submit is pressed, and number of tickets is 3 or higher I am not geting displayed echo? echo "You choose $place and $tickets tickets, and you get discount 50%, total price is $totalprice"; Thanks in advance <?php $selection=$_POST['selection']; if(isset($selection) and $selection=="submit"){ $place=$_POST['place']; $tickets=$_POST['tickets']; $totalprice = $price * $tickets; …

Member Avatar for filipgothic
0
124
Member Avatar for lifeworks

Hi quite a simple question i hope, i want to include a couple of checkboxes in my form and if they are checked i'd like to set the appropriate db cell as true... should i be looking at something like? [quote] if(chkbox_name == 'checked') { $cdplayer = true; } ... …

Member Avatar for bilalbinamar
0
6K
Member Avatar for iamthwee

Hi I have a flat array listed in the format below: id parent tag htmlcontent 2-0 null li |home| 1-0 2-0 ol 0-0 1-0 li |about| 6-0 null li |a| 5-0 6-0 ol 4-0 5-0 li |b| 3-0 4-0 ol 2-1 3-0 li |c| 1-1 2-1 ol 0-1 1-1 li …

Member Avatar for Alberto Bucur
0
2K

The End.