39,316 Topics

Member Avatar for
Member Avatar for polinolin

I have 3 picture on my home.php. i want to make the encrypt when the picture on the click. so the database content of encrypt of 3 picture's id. anyone can give me advice or example? i want to use md5 encrypt. thanks

Member Avatar for coolest_987
0
88
Member Avatar for subrata_ushasi

Hi, I installed wamp server and oracle 9i ,both are running . Oracle having user id,password and host string , using these how can I connect to retrieve data from Oracle ? thanks in advance , very urgent Subrata

Member Avatar for coolest_987
0
109
Member Avatar for masterjiraya

My PHP Session Log-in and log-out works fine but this is the problem I have a site consists of admin folder and outside the admin folder are the customer page files. both of them has sessions for log-in and log-out purposes but it acts so WEIRD because if I'm running …

Member Avatar for masterjiraya
0
282
Member Avatar for cambraydesign

I have an RSS feed that is called using javascript. What I would like to happen is that the information gets displayed as html when you view source instead of the javascript. Here's the javascript: [CODE] <script type="text/javascript" onload="$('div.rssBody').vTicker();"> $(document).ready(function () { $('#ticker1').rssfeed('http://feeds.bbc.co.uk/iplayer/highlights/tv',{}, function(e) { $(e).find('.homepageupdates').vTicker(); }); }); </script> <div …

Member Avatar for cambraydesign
0
235
Member Avatar for HB25

Hi I am using the fallowing code to give some information back to the user after running some queries. The information will be displayed in row only. [Code] $result1 = mysql_query("SELECT * FROM bookings WHERE bookingID='$last_insert_booking_id'"); echo "<table border='1'> <tr> <th>ID</th> <th>Firstname</th> <th>Lastname</th> <th>address1</th> <th>address2</th> <th>town</th> <th>postcode</th> <th>telephone</th> <th>email</th> <th>Arrival</th> …

Member Avatar for minilik
0
3K
Member Avatar for jonatec

Hi Please take a look at my code snippet. Works fine, however I don't know how to get the number of rows returned so that I can handle it accordingly. Any ideas please? [CODE] <?php require ('mysqli_connect.php'); // Connect to the Db. $sql = "CALL customers_for_rep(?, ?)"; $stmt = $dbc->prepare($sql); …

0
39
Member Avatar for danielbala

Hi.. this is code to display the datas from db to web page .. im not getting the outputphp,mysql <?php $host="localhost"; $username=""; $db_name="dbname"; . mysql_connect("$host", "$username", "$password")or die("cannot connect"); mysql_select_db("$db_name")or die("cannot select DB"); $query="SELECT * FROM database"; $result=mysql_query($query); $num=mysql_num_rows($result); mysql_close(); echo "<b><center>List Of Employees</center></b><br><br>"; $i=0; while ($i < $num) { …

Member Avatar for pritaeas
0
132
Member Avatar for vijayram

Hi everyone, how to create slideshow, user click album .all album picture display slideshow.

Member Avatar for WorksForWeb
0
78
Member Avatar for degroundshaker

I am working on a website where I have 2 php pages. 1st page: addfb.php 2nd page: fbadded.php Now, "addfb.php" contains a form with a text field and a submitt button with form action method set to "fbadded.php" Now whenever I click submit button on addfb.php, instead of going to …

Member Avatar for pzuurveen
0
322
Member Avatar for aldm

Hi, I'm trying to use Zen_Service_Amazon api but I have a problem. When I try to run this code on localhost: [CODE] <?php require_once 'Amazon.php'; //i've gor api key and secret key from my aws account $amazon = new Zend_Service_Amazon($api_key, 'US', $secret_key); $results = $amazon->itemSearch(array( 'SearchIndex' => 'Books', 'Keywords' => …

Member Avatar for pzuurveen
0
399
Member Avatar for tarunfuture

Hello Friends i ahve a drop down in which all the values are coming from the database now i have used ajax and jquery for getting the sub categories in another dropdown and its working fine but the problem is when i am using the name of the select box …

Member Avatar for tarunfuture
0
154
Member Avatar for scottymex

I keep getting this error from a working script since using Mysql 5.1 This data from the formshould go to the database with table called users and also sendconfirmation email with the details on using regmail. This works on other site but have to use 5.1 for this site and …

Member Avatar for diafol
0
138
Member Avatar for ebadi

Hi everyone: I am new with PHP, though I can do simple coding in PHP. I would like to create category section in the main page, as in some website you see as follows: Category-1 (20) Category-2 (13) Category-3 (5) 1- I want to use the similar technique, counting files …

Member Avatar for diafol
0
997
Member Avatar for aiioef

hello~ i just join in this discussion ....er i am Chinese,so my English is poor i search this problem in Google,but i can't find some useful information some people said PHP version cause this problem... i use PHP 5.3.3 but i saw PHP 5.2.1 books [CODE]<html> <title> test </title> <body> …

Member Avatar for mohamedasif18
0
2K
Member Avatar for erik216

I have just download the class "MC_TABLE" I put mc_table.php and ex.php into folder there have fpdf.php I can run script to generate pdf file in this folder But I cannot use MC_TABLE class it says Call to undefined method PDF_MC_Table::MultiCell() I don't know what problem?

Member Avatar for erik216
0
296
Member Avatar for rishster

Hello,I'm doing a sample quiz for students.I have 25 questions displaying 1 question per page with a next button.I also manage to count its correct answers.And if all the questions have already shown from database,it prints that there are no more questions left.But I want to keep track of the …

Member Avatar for diafol
0
138
Member Avatar for Benjip

I'm stumped as to why this might be happening. A website I had completed for a client over a year ago, was working fine until a couple of days ago when the web host went and moved the site onto a new server without warning any of their customers (myself …

Member Avatar for Benjip
0
240
Member Avatar for hyphymike

Ok So Im having a problem. Im trying to get a script to do this: Take info from Database: Players [LIST] [*]playerName [*]onlinetime [/LIST] Match playerName with playerName And put that info into Database: times With the Colums: [LIST] [*]playerName [*]1-24 [*]time1-24 [*]1-23 [*]time1-23 [*]etc etc for all dates. [/LIST] …

Member Avatar for diafol
0
259
Member Avatar for urbanthistleuk

Hi all, My apologies if this has been asked before, but I am unable to find any help with this problem I am experiencing. I have currently developed a mysql database with a php form that allow me to fill out all fields and check boxes which works fine and …

Member Avatar for urbanthistleuk
0
152
Member Avatar for Chub97

I seem to be having a major problem with FFMPEG on my local test server everything seems to work fine the videos encode and everything. I moved all of this onto my new Windows 2008 Web Server, which uses IIS 7 and everything works I get no errors or anything …

Member Avatar for Chub97
0
584
Member Avatar for klemme

I am having a problem defining these constants on my localhost: [CODE] define ('BASE_URI','C:\wamp\www\shop\'); define ('BASE_URL','http://localhost/shop/htdocs/'); define ('MYSQL','BASE_URI/.mysql.inc.php'); [/CODE] How exactly do I define BASE_URL, and BASE_URL using wamp which is located i the C directory. This gives me an 500 Internal Server Error. Regards, Klemme

Member Avatar for klemme
0
2K
Member Avatar for danielbala

hi...... i created my login page...everything is working fine. i want to know whether we can get the login date for each users when they login.. and when they login the date shud be posted in the database?? how to implement this...

Member Avatar for danielbala
0
136
Member Avatar for Zrakot

All - Sure could use a fresh set of eyes on the following code .... as, I can not find the following error: Parse error: syntax error, unexpected $end in /homepages/xx/xxxxxx/htdocs/mysite/folder/index.php on line 6566 Have read that a possible cause for the error message is a missing curly bracket '{' …

Member Avatar for blocblue
0
204
Member Avatar for mr. y

I have a table where there is about 1 milliard record. when my website is on high traffic, there is more than 100 requests/second on this table. so request respond time is between 2-4 seconds, which leave a bad impression. is there any suggestion how to minimize the request respond …

Member Avatar for smantscheff
0
158
Member Avatar for tokick4

Hello to everyone I am new to the site and have a question. I have a page that has a form to input into MySQL using PHP. What I am trying to do is have two searches that pulls out the information from different tables within the database, and put …

0
94
Member Avatar for ofir0803

I began to develop a simple coupon site. my db design Contains 4 tables: users deals category city when user purchasers a coupon i connect to getway payment service. in my accont at the getway service i can see all the transaction from my site. does it's meen that i …

Member Avatar for ofir0803
0
113
Member Avatar for PF2G

Someone can tell me what's wrong with this codes? It doesn't appear the box with errors: envia.php [CODE]<!--BEGIN box correcao--> <style type="text/css"> /* Box Style */ .success, .warning, .errormsgbox, .validation { border: 1px solid; margin: 0 auto; padding:10px 5px 10px 50px; background-repeat: no-repeat; background-position: 10px center; font-weight:bold; width:450px; } .success …

Member Avatar for pzuurveen
0
152
Member Avatar for jdgieschen

It's the age-old question of checkboxes. I've got this code: [CODE] <?php require "connect_to_mysql.php"; // Start the SQL string $sql = "SELECT * FROM post_sec_all_stats WHERE 1=1"; if (isset($_POST ['dura_sch'])) { $sql .= " AND "; $sql .= "DURA_SCH = '" .$_POST ['dura_sch']. "'"; } if (isset($_POST['ctrl_sch'])) { $sql .= …

Member Avatar for pzuurveen
0
1K
Member Avatar for newbie14

Dear All, I have a problem where I can query more then 4000 lines the problem I already drill down is here. The problem is during the generation of the lines some how it takes some time then I get a not found page error. What can I do to …

Member Avatar for broj1
0
4K
Member Avatar for eman neercs

I have a php/mysql/html table of results The query is [CODE]$result = mysql_query(' Select var1, sum(var2) round(Avg(var3),0) round(Min(Price),2), round(Max(Price),2), round(Avg(Price),2) as AvgPrice, Country, From table Where country = "Australia" Group By var1 having var3 > 5 Order By var3 DESC') or die("SELECT Error: ".mysql_error()); $num_rows = mysql_num_rows($result); print "<table width=800 …

Member Avatar for diafol
0
94

The End.