39,323 Topics

Member Avatar for
Member Avatar for prawin@123

Hi can any one help me!!! I need to display the latest entries by date and time ie i stored the date as 2009-Apr-16. so that i wrote a query as select * from tbl_projectstatus order by date asc ,time desc" But the above code displays as follows ie Normaly …

Member Avatar for rikcando
0
101
Member Avatar for dipakxyz

Hi , PEARS installed on my demo server and i want to run my script containing timezone but i am unable to run the script, the script is working properly on windows but as oue demo server is on linux i am uanble to run the script on linux,so plz …

Member Avatar for HITMANOF44th
0
64
Member Avatar for madhuprasad

I have created a form with PHP and connectied to database. Now i want to add images through my form and save in MYSQL database. Once i click on SUBMIT button i want to see total profile with image in new window Please provide complete code to add image from …

0
47
Member Avatar for darkagn

Hi all, We are experiencing the following problem with the latest versions of IE and FF in regards to sessions. If anyone has encountered these problems before, any insight would be valuable. [B]In FF:[/B] An ongoing problem where sessions are saved across multiple tabs and windows in the same machine. …

Member Avatar for nutty2chat
0
234
Member Avatar for externalaw

Hello all, I run a student website for law students, and got an amazing present today. A zip file with 1500 html pages with law related material. I need to integrate this into my vbulletin forum somehow. Some of the pages are good as simple posts, and the rest would …

0
49
Member Avatar for srilakshmitr7

If i have 3 records and if i apply random function to it ,i is displaying last two records frequently third record is displaying rarely but i want those three records to be display frequently can any one solve this problem,

0
82
Member Avatar for veledrom

Hi, This is my array and i want to make [2] => 1 to [2] => 4 How do i do it? Thanks [code] Array ( [SESSION] => hs6f5ul7q9dic13nv7crikf0p2 [USER] => Guest [5] => 3 [1] => 3 [2] => 1 [7] => 1 ) [/code] This code doesn't do …

Member Avatar for veledrom
0
60
Member Avatar for winwebsolutions

Hi am newbee to this forum.. feel happy to join with your [urlsnipped]web design[/url] and [url snipped]web development[/url] team... Once again i thank you friends.. have a great day

0
47
Member Avatar for kate@deni

I am new to php. I have any issue that i want to use dynamic links and want to rewrite them. I want to use single page for all the pages but different urls.

Member Avatar for kate@deni
0
101
Member Avatar for maheen123

Hi! I want to know that how can i use buttons to update ( edit or delete) records from the php form directly into the database... Thanks

Member Avatar for BzzBee
0
317
Member Avatar for SKANK!!!!!

everything doesnt make sense. does anyone know of a very SIMPLE good script to make required fields. ive seen a lot but i dont know what they mean. most of them look like they do like nothing or not all the way. i dont want to use javascript because it …

Member Avatar for SKANK!!!!!
0
117
Member Avatar for JoKat

hi, i am a novice and have recently started practicing some php tutorials. there is this bit of code that involves HTTP authentication which makes sense up until this part: [CODE] // connect to database $dbc = mysql_connect(DB_HOST, DB_USER, DB_PASSWORD, DB_NAME); // grab the user entered log-in data $user_username = …

Member Avatar for BzzBee
0
99
Member Avatar for shasha821110

Hi, all I am using simplexml_load_file() function to get the rss and change it to the XML and get the elements. But i got the error information like below: [CODE=php]failed to open stream: HTTP request failed! HTTP/1.0 503 Service Unavailable in [/CODE] My code is like this: [CODE=php] $zip = …

Member Avatar for martin5211
0
216
Member Avatar for movieprodw

Hello, I am currently able to upload an image and the info is being inserted into the db correctly. I would like to add a gd function to add 3 image re-sizes into it. locations and sizes /prop_enlarged/ max 600px 400px /prop_listing/ max 405px 270px /prop_thumb/ max 135px 90px I …

Member Avatar for chrishea
0
129
Member Avatar for Jayse

Hi Everyone. I am new to this group and web designing. I am wondering if anyone could please tell me how to page_rewrite. I Web Host has set up my own reseller account and there are error and they told me I could fix it be rewriting the script and …

Member Avatar for HITMANOF44th
0
66
Member Avatar for shasha821110

Hi,all Here is the sql sentence i wrote on my php file. But when i test with it nothing show up which there should have some results?? My idea is :get the sw and ne point, choose every value live inside the rectangle in my database [CODE=php]//zips is my table …

Member Avatar for ShawnCplus
0
85
Member Avatar for marjan_m

Hi, I am trying to implement the following ajax code: [CODE] function create() { obj_t = new XMLHttpRequest(); if(obj_t == null) { alert("Your broweser does not support it"); } } function data() { if(obj_t!=null) { if(obj_t.readyState == 4) { var dv = document.getElementById('tdetail'); dv.innerHTML = obj_t.responseText; } } } function …

Member Avatar for marjan_m
0
129
Member Avatar for cinsPHP

Hi all, Im a still very new to PHP and don't know how to attempt the following: I'm trying to build a dynamic array in a form i'm utilizing. Also I am passing parameters from the url as follows: colour.php?val=3&co1=Red&co2=Blue&co3=Green //where val is the iteration number and co1,co2,co3 is the …

Member Avatar for cinsPHP
0
75
Member Avatar for veledrom

Hi, I have a page called func.php which has several amount of function only. How can i block someone accessing func.php via typing URL/..../func.php ? It should kick the person out from this page? I accecc func.php with calling particular functions stored in it. I was wondering if there is …

Member Avatar for jakesee
0
73
Member Avatar for Designer_101

Hi This may not be a php matter but i'm wondering if it can be done? I have a table like the following: [CODE] <table> <tr> <td>1</td> <td>2</td> </tr> <tr> <td>7</td> <td>9</td> </tr> <tr> <td><<SUM OF THIS COLUMN (8)>></td> <td><<SUM OF THIS COLUMN(11)>></td> </tr> </table> [/CODE] I hope you understand …

Member Avatar for BzzBee
0
107
Member Avatar for Ethan James

Hi Guys I need some help. I am trying to modify a website which is based on template engines and I am not sure how to do the following. I have added a drop down box to the header.tmp and the form action posts the user selection (user_loc) to another …

Member Avatar for Airshow
0
113
Member Avatar for justinmyoung

I have been trying to figure how to implement a "hit counter" for each of my websites in my css gallery, and display the total number of times a person has visited that link (or image). Could anyone lead me in the right direction, so I could get started on …

Member Avatar for Josh Connerty
0
233
Member Avatar for genieuk

Hi, I'm new here, Does someone have a script that asks user to enter there day/month/year and if over xx minimum age they are taken to website, if under age they are told they are under age and redirected to a link i specify. Possibly with a function to choose …

Member Avatar for genieuk
0
257
Member Avatar for jameswoodhouse

Hi there what i'm trying to do is: return a car manufacturer from a MySQL database and have the text returned a hyperlink to the car manufacturer website. The below just returns the manufacturer without a hyperlink: [B]$row['manufacturer'][/B] Would i make a row in the database called 'carmakeurl', store the …

Member Avatar for vidaj
0
200
Member Avatar for superyo

i got this error: [code]Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\db.php on line 13[/code] my php code is this: [code=php] <?php //Database Info $dbhost="localhost"; $dbuser="root"; $dbpass="something"; $dbname="somedb"; $table="users"; //Connect to Database $con=mysql_connect($dbhost, $dbuser, $dbpass); mysql_select_db($dbname, $con); $user=$_POST['user']; $pass=$_POST['pass']; $query = "SELECT * FROM $table …

Member Avatar for martin5211
0
260
Member Avatar for kssi89

Hello everyone! I've been able to successfully implement this bit of php that alters the color of tables for each row, but I am having a difficult time implementing it on our current web app. I am thinking I have misplaced something because the output shows one grey row where …

Member Avatar for komang80
0
151
Member Avatar for jbobfunky

Hello Everyone! I am having the most difficult time figuring out a nested loop i would like to perform. The Senario: I have a simple flash image gallery that accepts an XML scheme: The page: [url]http://www.jbobfunky.com/multipage_site/gallery.php[/url] An example of the XML scheme i am trying to render out with PHP …

Member Avatar for jbobfunky
0
121
Member Avatar for nathenastle

Hi this is nathen can you please some one help me the following is my form what i want is when ever i fill an empty value that is nothis in my text box and when click on shareacoupon button i need a message that empty values are not allowed …

Member Avatar for samarudge
0
120
Member Avatar for solocky

Hello all i have (after much googleing) written a php script which when activated appends to a main text file with the text seen below in this exact format type= name=---------------------------------------------------------------------------------------------- # type= name=(USER INPUT HERE) # type= name=---------------------------------------------------------------------------------------------- # what i need is a simple webform with one input …

Member Avatar for solocky
0
149
Member Avatar for misticles

im trying to display the results of a search when users use the drop down menus. ive been at this for 2 wks and cannot get it to work at all. please help :( [ICODE] <?php $programme = $progyear = $subjectname = $examyear = null; //declare vars $conn= mysql_connect("localhost", "root", …

Member Avatar for misticles
0
144

The End.