38,020 Topics

Member Avatar for
Member Avatar for hkseo100

Hey guys, I'm modifying a classified site, it's written in PHP. What I'm trying to do is when a user comes in the website for the first time (aka no cookies created) the value of the variable would be -1, when they click on a state to browse in, it …

Member Avatar for Atli
0
64
Member Avatar for ym_chaitu

Hai I have some html files and i would like to display them in a random manner using the php. can any one help me out..I have been trying this one.. but it is not working.. [CODE]<?php $dir="./clock/"; $nimg="10"; $itype="html"; $rnumb=rand(1,$nimg); echo "<a href=".$dir."clock".$rnumb.".".$itype."></a>"; ?> [/CODE]

Member Avatar for network18
0
1K
Member Avatar for shishtawitch

how can i get only value of 'v' from the following url [url]http://www.youtube.com/watch?v=NMAYr709-9Y&feature=dir[/url] i.e NMAYr709-9Y with php

Member Avatar for cwarn23
0
97
Member Avatar for mundetas

Can someone please help:(. I have a database with a field Date. I made the datatype to Date. But when I code the date in php I use the date() function to get the current date it donesn't want to insert in the database. Please help. For example my code. …

Member Avatar for network18
0
95
Member Avatar for ruwanaru

this is my db table content tble name : cars id | make | model | trans | fuel | year | km | vin | regdetails | state | price | features what i want is search the car with this form [CODE] <form id="form1" name="F2" method="post" action="search.php"> <div …

Member Avatar for network18
0
158
Member Avatar for ayesha789

hi every body, i am sure its not that much hard but somehow i stuck in situation which look very much unclear to me. in fact i have a table through i am selecting different records each records will be printed with the checkbox what i want to insert checked …

Member Avatar for ayesha789
0
101
Member Avatar for Neona

I will start out by saying that I have no experience with PHP at all.. sorry. However, since I do some asp.net etc I thought I would throw myself into it.. I have come across a problem though. I've found a mail form using jQuery. What it's supposed to do …

Member Avatar for network18
0
140
Member Avatar for shishtawitch

hi, how can i make a link attache ment system with php, culr / ajax one like in facebook..........!! i.e by typing a link fetching meta, title and images from that link...!! thanks in advance.........!!

Member Avatar for digital-ether
0
105
Member Avatar for rajabhaskar525

hai all, i want to refresh particular part of the page ,not whole page. is it possible? . if so, how is it? .........

Member Avatar for rajabhaskar525
0
3K
Member Avatar for muralibobby2015

hello friends .. i want to do one task. i want some one elp. i am new to php. when ever i check the checkbox amount will add in 'total' textbox. i am displaying table below. [CODE] <form name="form" action="" method="post" > <table align="center"> <tr> <td>&nbsp;</td> </tr> <tr> <td>&nbsp;</td> </tr> …

Member Avatar for mangel.murti
-1
162
Member Avatar for rajabhaskar525

hi all. i want to crop png image. when i am croping the png image i got "Fatal error: imagepng() [<a href='function.imagepng'>function.imagepng</a>]: gd-png: fatal libpng error: zlib error in C:\wamp\www\taslan\admin\products.php on line 120" error message. at line no 120 shows imagepng($bgim_new,$bgth_file_name,100); this function

Member Avatar for rajabhaskar525
0
166
Member Avatar for levsha

I retrieve three pieces of data from my MySQL table and need to pass one of them as a parameter in a link to a dynamically populated .php page and two of them use as the link text. The echo statement below is not working. Could you please see what's …

Member Avatar for levsha
0
137
Member Avatar for venkat0904

Hi all, Since its been a while now that i am learning php I undertook a project to develop event calendar in php and mysql. There will be a public calendar published on site which every1 can view. Then as a user logs in he will have his own personal …

Member Avatar for venkat0904
0
217
Member Avatar for sdgundamuse

i am trying to make a page that able to search the data that store in the sql database, i would like to have a field search which enable the user to choose the field they wan to search. the problem i facing is i dunno how to submit the …

Member Avatar for sdgundamuse
0
143
Member Avatar for Nuw2php

hi, I have created 2 tables called "User_Info" & "Auth_Users". In "User_Info" table "ID" is the primary key. In "Auth_Users" table "ID" is the foreign key. I have created a "User Form" through which I am trying to capture the data. Since the primary key is an auto_increment value I …

Member Avatar for Nuw2php
0
112
Member Avatar for mrjoli021

my else statement is not executing it returns a black page. [code] while($results = mysql_fetch_array($user_name)) { if ($results['email'] == $Entered_UserName && $results['password'] == $Entered_PassWord) echo 'working'; else echo 'not working'; } [/code]

Member Avatar for leviathan185
-1
110
Member Avatar for ytregnn
Member Avatar for ytregnn
0
58
Member Avatar for futhonguy

Hi I am wondering if i can move a field (with contents) from Table B to Table A. If so how can i do it? Any advise ?? Thank you very much..

Member Avatar for futhonguy
0
91
Member Avatar for marlowkc

I cannot figure out how to do this. I have set the padding and border as 0 and tried the collapse border command. Here is my code: [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Untitled Document</title> </head> <body> <table border="0" …

Member Avatar for NormandP
0
115
Member Avatar for SKANK!!!!!

im using the php mail() function to send an email and i got the email. except its formatted wrong like it looks like this: [CODE]<table bgcolor="black"><tr bgcolor="#111111"><td bgcolor="#222222" width="60%"[/CODE] etc.. u get it right? i use gmail. now ive had images sent in mails to me. so why is this …

Member Avatar for SKANK!!!!!
0
130
Member Avatar for eman neercs

Running php/mysql site where the db is constantly being changed with new products added, categories and prices changed all through php scipts. Just before it publishes the results to a static html file, there is a (my)sql file with product data that has been held "off table" so it cannot …

Member Avatar for chrishea
0
110
Member Avatar for rajeesh_rsn

Hai friends I need a simple (?) advice in one of my web page. I had developed a web application in one of its page there are many number of checkboxes. Users are need to select single or multiple check boxes. But there is a limit for each users. ie …

Member Avatar for rajeesh_rsn
0
100
Member Avatar for dragonflyuk

I'm trying to access a USB serial port, using a CLI PHP script in an XP machine. I thought I'd got it sussed using fopen, however I have since discovered that the script on works if I have previously run Hyperteminal to connect to the com port. I've even tried …

Member Avatar for mpcr
0
78
Member Avatar for Aamit

Hi, I am trying to transfer multiple select country to another select box. But when i click on submit i didn't get the value of array of list2 i.e finallist? I can't understand what is problem?? Please help me how to solve this?? [code] <? if($_POST["add"]) { echo "sdads"; echo …

Member Avatar for nav33n
0
87
Member Avatar for Lalita_shah

I am trying to insert unicode characters from excel file into phpmyadmin database through coding,but database is not accepting unicode characters and even date type,please help me if anyone having idea abt this,even i tried by converting .xls to csv format but .csv file does not support unicode characters and …

Member Avatar for network18
0
879
Member Avatar for garcon1986

Hello, I want to use Graphviz to produce dynamic organizational chart with php array or json. Here is my idea: Use php array or json get the data from mysql database, then save the data to dot file, and then produce the dynamic org chart using pear Image_graphviz and implement …

Member Avatar for garcon1986
0
141
Member Avatar for praveen_dusari

hi all, i have downloaded my site from ftp to make changes there is a virus in that server my sir told me to clear that and upload. In the source code i found a line which i thought is a virus containing a trojen program i deleted that line …

Member Avatar for network18
0
98
Member Avatar for veledrom

Hi, I read this ob_start() but want a bit cleaner explanation. why we use it, should we use it, what happens if we don't? I have never used it and won't use it until I understand it is best practise. Thanks in advance

Member Avatar for veledrom
0
246
Member Avatar for xuexue

hi there, i am making a website. my problem is that, i have multiple users who should access the same page, now what i want is that, my login code will work whenever users will access it simultaneously. the problem is that, the code just checks the first logged in …

Member Avatar for xuexue
0
102
Member Avatar for ruwanaru

This is the error [CODE]Warning: Cannot modify header information - headers already sent by (output started at /home/rejocoma/public_html/login-registor/do_login.php:9) in /home/rejocoma/public_html/login-registor/do_login.php on line 40[/CODE] and this comming only on my hosting not in local machine ita unix hosting solution can any one give me a help on this im a new …

Member Avatar for venkat0904
0
114

The End.