39,323 Topics

Member Avatar for
Member Avatar for pearll

[CODE]<tr> <td colspan="2" align="center"> <input type="button" class="btn" value="New" name="New" onClick="window.location.href='new2.php'" onMouseOver="hov(this,'btn btnhov')" onMouseOut="hov(this,'btn')" align="absmiddle"> &nbsp; <input type="submit" value="Delete" name="delete" class="btn" onMouseOver="hov(this,'btn btnhov')" onMouseOut="hov(this,'btn')" ></td> </tr>[/CODE] I am unable to make thses two buttons centred .... any help?? TIA

Member Avatar for nonshatter
0
84
Member Avatar for eyadox
Member Avatar for rolyestemonio

What is the wrong with this guys? Why is it that when i view the month of November 2010 it also view the month of 2009?Can anyone help me? [code]<?php include("db.php"); $query = mysql_query("SELECT distinct YEAR(local_date) as year FROM tbl_localnews order by local_date desc"); while($row = mysql_fetch_array($query)) { //$row = …

Member Avatar for pritaeas
0
90
Member Avatar for Krstevski

Hello friends, I have problem with showing registration form on joomla. I use unique template for registration form, I want to add only registration form. How to do this ? Thanks.

0
64
Member Avatar for knarffrank

Help I'm having trouble on passing value to another page, I'm using PHP. My goal is when i click a link it will move to another page and the value of that link will be received by the other page. make sense? can someone help me with this? thanks..

Member Avatar for Borzoi
0
222
Member Avatar for jhonnatas

Hi friends! i need your help!i have an admin panel that I'm developing for my site it has a login page you put your login and password then you can use the main_admin_page.php where u can insert,delete...but if i type the path to the main_admin_page i can use it without …

Member Avatar for Borzoi
0
83
Member Avatar for muralibobby2015

hello.... i want to search google images from my site. i got this code from google. but in this i want a link to each image to add images to my folder. how to do this? [CODE]<!-- copyright (c) 2009 Google inc. You are free to copy and use this …

0
71
Member Avatar for LONGWAY

Hi, i have four tables:books, info, autor, publisher and columns under tables; books........... info............ autor............. publisher ------------... -------------... ---------------... -------------- id............. id............... id.................id bookname .......type .............name ..............publisher name autor_id .......year .............second name .......quantity publisher_id ...autor............. year..............country I tried with this relations but it did not work (is this normalization ok) …

Member Avatar for LONGWAY
0
140
Member Avatar for rolyestemonio

Hi Guys, Can anyone help me out about displaying 10 data from my database?My codes goes like this. I have 4 fields (id, local_title, local_desc, local_date ) [CODE] <?php $last_date = ""; $result = mysql_query("SELECT * FROM tbl_localnews ORDER BY local_date DESC"); while ($row = mysql_fetch_array($result)) { for($i=0; $i<10; $i++){ …

Member Avatar for rolyestemonio
0
171
Member Avatar for anumitadas

I have an email issue.when I am sending mail.its showing the HTML tag in mail body.like following. Thanks for signing up for Imprimis. You will receive your Imprimis publication soon.If you did not signup, or do not wish to receive this information, please <a href="http://www.imprimissignup.com/unsubscribe.php?email=anumitadas@gmail.com">click here</a>. My code is for …

Member Avatar for pritaeas
0
109
Member Avatar for rolyestemonio

Hi Guys, I have a problem regarding of archiving. How we are going to archives data by month? I have 4 fields(id, dates, title,description). I want to archives my data by month in which you can see the Month automatically from database MySQL. Example [b]Month retrieved from database[/b] News for …

Member Avatar for rolyestemonio
0
412
Member Avatar for saideepthi.bits

[code=php] <html> <head> <title> ftp php test page</title> <?php $ftp_server = "10.209.152.220"; $ftp_user = "deepthisk"; $ftp_pass = "Hatepwd1"; // set up a connection or die $conn_id = ftp_connect($ftp_server) or die("Couldn't connect to ".$ftp_server."\n"); // try to login if (@ftp_login($conn_id, $ftp_user, $ftp_pass)) { echo "Connected as ".$ftp_user."@".$ftp_server."\n"; } else { echo …

Member Avatar for saideepthi.bits
0
3K
Member Avatar for whiteyoh

Hi All, Im accessing a function with paticular parameters, but my response is not recognising the parameter of the count value. If I change the variable in the COUNT part of the query to a static value it works fine, but if i use the variable name it returns "undefined …

Member Avatar for whiteyoh
0
99
Member Avatar for gchurch

well i have info from a DB however for some reason i can't use some variables... or use other variables within the while loop!!!! here's my code: [CODE]function SeasonPrice($roomName) { require("dbCon.php"); mysql_select_db($database); $res = mysql_query("select * from room where RoomName = '".$roomName."'"); $row = mysql_fetch_assoc($res); $Booked_month = date('F'); if($Booked_month <= …

Member Avatar for phpstan
0
124
Member Avatar for DeadlyLife

Hello i've got a problem here, i want to insert some data into my table and everything is all right for the first 3 or 4 but the last does not work [CODE]<?php // include("config.php"); // $db_connection = mysql_connect($db_host, $db_user, $db_slaptazodis); mysql_select_db($db_table, $db_connection); // if ($id == "") { // …

Member Avatar for DeadlyLife
0
140
Member Avatar for rajesh1158

[url]http://www.mycircle.freevar.com[/url] This is my website. Whenever a user logs in using correct username and password, a field(flag=1) in the database is updated to show that the user is online(for chat). When user logs out, it is set to flag=0 to indicate offline. This works properly. Consider the situation. The user …

Member Avatar for nonshatter
0
115
Member Avatar for orcaraheel

<?php require('Connections/boss.php');?> <?php if (!function_exists("GetSQLValueString")) { function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue; $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue); switch ($theType) { case "text": $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL"; break; case …

Member Avatar for wilch
0
146
Member Avatar for zerey02

.guys please help me. i am developing an online examination system using PHP and MySQL. .what i'm planning to do first is to create the question and answer page and it is by using looping. to be able to start i need to know first on how to fill an …

Member Avatar for wilch
0
152
Member Avatar for beginninphp

Hello all, I've been stumbling (more like Stumbling, I hope) across the web looking for something that can do occasional screen captures using a cron job on my casual gaming site server. I was hoping to be able to save screen captures of a few characters as I leveled them …

0
190
Member Avatar for ry4nolson

I know that's a mouthful but it's exactly what I'm trying to do. Example I have a page called edit.php. it takes a filename, for example page.php and I want to load the code into a <textarea> to be able to edit it. i'm trying to uses code like this …

Member Avatar for ry4nolson
0
185
Member Avatar for Waffles007

Hi, I'm having trouble finding out how to have a link pull a certain id from a single file and display that id's content within a certain div on the page. I'm trying to cut down on the amount of pages on my site by loading certain critical code into …

Member Avatar for Waffles007
0
3K
Member Avatar for gikonyo

hi there i want to upload an image into a webpage i have the following code which is not working .where is the problem or who have a better code. <?php //define a maxim size for the uploaded images in Kb define ("MAX_SIZE","100"); //This function reads the extension of the …

Member Avatar for pssubash
0
127
Member Avatar for Setvir

I'm trying to think how to change this into a js tree view. It consists of lines that point to a file(no extention) Each one is a link... [code=txt]rustenburg rustenburg/school/hstegnies rustenburg/school/bergsig/sport/rugby rustenburg/school/bergsig/sport/tennis rustenburg/sport rustenburg/sport/rugby rustenburg/sport/tennis/rustenburg tenis club rustenburg/sport/tennis/Impala club rustenburg/sport/rugby/impala rustenburg/sport/rugby/xtrata rustenburg/places/city hall rustenburg/places/kloof etc.. [/code] ideas??

Member Avatar for Setvir
0
59
Member Avatar for MysticalNomad

I have the following code that is very simple and gets information from form fields and mails it off. The issue is that when the email is received using Microsoft Outlook 2003 the message is blank and the actual message that is supposed to be there is an attached HTML …

Member Avatar for MysticalNomad
0
182
Member Avatar for sanjaypandit

i want to made a form in which there is three fields. 1. product value: suppose:1500 2. number of product:2 3. then i want to show multiple of these values in third textbox without submitting form . how can i do this. help me

Member Avatar for hacker43.gaurav
0
105
Member Avatar for niths

hello all, i had a page where we can see list of users and there is an option to edit them. So when we click on edit button a popup with lightbox comes and now when i edit it and press update... nothing is updating. The reason is i need …

Member Avatar for pritaeas
0
79
Member Avatar for jrw89

Hi all, I have the following code:[CODE]$Connection = mysql_connect("127.0.0.1", "user", "pass") or die(mysql_error()); $Database = mysql_select_db('db', $Connection) or die(mysql_error()); $Url = mysql_real_escape_string("exampleurlwithonlycharacters"); $Query = "SELECT `col` FROM `table` WHERE `url` = '$Url';"; $Resource = mysql_query($Query, $Connection) or die(mysql_error()); $Result = mysql_fetch_object($Resource); var_dump($Result);[/CODE]and was expecting to see the Col => 1 …

Member Avatar for pritaeas
0
65
Member Avatar for divyakrishnan

Hi... I am doing a PHP project.I had executed the project on 3 machines.For one machine it is showing a warning as follows.. [U][B]warning[/B][/U] Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. …

Member Avatar for divyakrishnan
0
129
Member Avatar for Geertc

Hello everybody, for my application I want to implement a email-clickcounter, next to link-clickcounter. Most links and emails (mailto:) appear on a page that gives details about a search-result from my home-made searchmodule. I have set up the counting system like this : Every link is redirected to a click.php-file. …

Member Avatar for Geertc
0
155
Member Avatar for nikesh.yadav
Member Avatar for Stefano Mtangoo
0
20K

The End.