Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
~54.4K People Reached
Favorite Forums
Favorite Tags
Member Avatar for HanFromNL

In my HTML-page I am using following HTML + PHP-code: [COLOR="Blue"]Today is: <? print(Date("l F d, Y")); ?>.[/COLOR] I would expect to see: [COLOR="Green"]Today is: monday October 4, 2010.[/COLOR] or something like that. The only thing I see is: [COLOR="red"]Today is:.[/COLOR] (mind the dot at the end. This means the …

Member Avatar for Nour_6
0
37K
Member Avatar for aixlu
Member Avatar for Natalia_3
0
3K
Member Avatar for Dartz654

So, I just installed XAMPP on my PC running Windows 7. Here's what my website looks like: [B]/Header.php[/B][CODE] <?php session_start(); include("http://localhost/Functions.php"); connect(); ?> [/CODE] [B]/Functions.php[/B][CODE] <?php function connect(){ $username = "dartz654"; $password = "letmein"; $hostname = "localhost"; $con = mysql_connect($hostname,$username,$password) or die ("Unable to connect"); mysql_select_db(database, $con); } ?> [/CODE] …

Member Avatar for Asromi rOmi
0
924
Member Avatar for sourab

Hi, i am developing a website but got stuck. I got couple of queries , I would appreciate if anyone can help me out. 1. is it possible to re-size image ( e.g on facebook thumbnail picture ) without loosing quality using php code. 2. If not is there third …

Member Avatar for cereal
0
250
Member Avatar for DavidB

I have almost no experience with PHP so I need some help with a small code block. My website used to be hosted by a company within my own time zone, so I used the following code to output the date and time on my web page: [CODE] <?php print …

Member Avatar for DavidB
0
102
Member Avatar for cliffcc

How to creat the button for 'Export'? Thanks! I want to combine below two sets of code [CODE] <?php echo"<a href='export.php?'>Export</a> ?> [/CODE] [CODE] <?php echo"<input type='button' value='Export'>"; ?> [/CODE]

Member Avatar for cliffcc
0
104
Member Avatar for dietdew12z

Hi, I'm normally over on the PHP board but this one is definitely a javascript issue. The thread title doesn't quite cover my issue, so I'll try to explain a little further. I built a website for a client who tells me that when he hovers over a word on …

Member Avatar for twiss
0
208
Member Avatar for umeshMCA

hi i have a php dropdownlistbox (select button of html) which having three values on is all and second is activated and third one is deactivated. i want when use select all then show all values of database and when user click on activated then show only activated values and …

Member Avatar for diafol
0
209
Member Avatar for dietdew12z

I tried searching for an answer, but I'm not sure how to word the question so that it fits into a search box. I found out a month or so ago that if you are accessing variable data like $_POST['user'] or after a mysql_fetch you can use $row['id'] but it …

Member Avatar for dietdew12z
0
147
Member Avatar for Kniggles

can anyone see where i am not reciving the results I am looking for ? please, [CODE] ?><META name=GENERATOR content="MSHTML 8.00.7600.16722"><?session_start();if(!session_is_registered(myusername)){header("location:main_login.php"); } ?> <P> <? echo "PLAYER:" .'($myusername)';?>[/CODE] this code is spose to echo out the players login name from the check_login.php page from before. thanks.

Member Avatar for Kniggles
0
203
Member Avatar for gazzy1

I have create a table as "user" with colm user pass redirect and add the three user as: user : Pass : Redirect a123 123 google.com b123 123 hotmail.com c123 123 facebook.com i have also create a php page with login session but i want that when i entered the …

Member Avatar for dietdew12z
0
96
Member Avatar for leemp5

Hi Guys, I have an image upload script on my website however i got tired of uploading them one at a time so i decided to add multiple upload fields. Now when i submit the form i get the "Incorrect format..." error message appear from my code below. When i …

Member Avatar for dietdew12z
0
106
Member Avatar for n00b_in_need

Hi, I am working on a refined search feature and I am having a little problem with the following code. I'm trying to get the "genre" values from the form. Then use them in a query to refine the results from the database. The problem is as follows. I need …

Member Avatar for dietdew12z
0
163
Member Avatar for BleepyE

Im trying to right my first php script. Im trying to get the script to look at a defined site's source to see if a length of code is present. Ive been given this by a friend but im not sure its working as I get this error, and it …

Member Avatar for BleepyE
0
338
Member Avatar for tiggsy

I suspect there isn't a way to do this, but in case there is: Does anyone know how to pick up all the possible set values for a particular field from php? The reason I'm asking is that it means adding a new set value will not break all the …

Member Avatar for diafol
0
161
Member Avatar for dhairyaguptha

I use following code to Upload images to Web Server. But it shows successfully uploaded and even it shows image exists when i try to reload the same. But i cant see those in my Document root. I use Godaddy Windows hosting. Please Help me. Thanks. [CODE]if ((($_FILES["file"]["type"] == "image/gif") …

Member Avatar for dhairyaguptha
0
125
Member Avatar for dyla123

I have been wanting an upload tool that you could upload the video and then once its uploaded it directs you to a webpage where the video is displayed in a media player...Like TinyPic and those sort of websites. I have searched google some and have not found anything yet... …

Member Avatar for dietdew12z
0
69
Member Avatar for printman55

The mysql database I set up used date format for the field. Consequently dates have to be entered as 0000-00-00. So when I retrieve the field name news_date from the database it will print as 2011-02-02. I would like to display it as February 2, 2011. Can someone help me …

Member Avatar for paulrajj
0
137
Member Avatar for Sarao

Friends, I am trying to display data with limits from my MYSQL Records. It Shows the data, but it does not work with Next or Previous Page. Here is the code: [code] <?php // Connects to your Database mysql_connect("localhost", "root", "") or die(mysql_error()); mysql_select_db("shipments") or die(mysql_error()); //This checks to see …

Member Avatar for Sarao
0
119
Member Avatar for ilikesimple

Hi I am working on a website that users can use to create their own blogs. But I have hit a problem. Whenever I try to create a new file with the members username in. The rest of my script works perfectly. Can anyone see a problem with my code. …

Member Avatar for ilikesimple
0
141
Member Avatar for ON_Jtharpe

Hi Guys I am new to PHP and slowly learning. I have a piece of code that I need some help with. I am trying to take user input and use it to query data from a table in MYSQL. I know all my connections are working because I can …

Member Avatar for lyrico
0
219
Member Avatar for Siege

Hi, I want to make a page that has a code that can make my image change into another image. Lets say I arrive at work one morning. I go to my "website" click on a red image, and in turns green. Now I want it to stay green all …

Member Avatar for dietdew12z
0
154
Member Avatar for shuipint

I create a form which use the check box to get the info from user, but don't know how to write it in php for send to my mail, did any one can help me? my html: <!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" …

Member Avatar for shuipint
0
167
Member Avatar for abelingaw

i have to make a log in form that displays a msg if the user uses the username 'letmein' if not, a msg will also be printed. But the message to be printed aren't showing. Here's my code: [CODE] <html> <head> <?php if (isset($_POST['submit'])) { $username = $_POST['username']; if ($username …

Member Avatar for dietdew12z
0
95
Member Avatar for samsons17

Hi,sorry for the title of this thread as I not really know what to give it :) Anyway, I got a problem with my newly created website. My website got the blog section where I write everything onto it.And i when I try to share the link of my recent …

Member Avatar for samsons17
0
189
Member Avatar for dietdew12z

I'm editing someone else's code and I have a vague idea of what it does, but if anyone has seen this kind of thing and can explain it to me. [CODE] function mkdir_recursive($pathname, $mode) { is_dir(dirname($pathname)) | mkdir_recursive(dirname($pathname), $mode); return is_dir($pathname) || @mkdir($pathname, $mode); } [/CODE] I don't understand why …

Member Avatar for dietdew12z
0
108
Member Avatar for cheekycroak

Hi Everyone, After wonderful long Google searches for almost many days, am still unable to achieve what I want to do.Name the URLS that I would have tried and all in vain,perhaps this is due to lack of coding knowledge that is encompassed within me to accept my defeat. [B]Synopsis:[/B] …

Member Avatar for cheekycroak
0
245
Member Avatar for left19

I am trying to get a pdf file from the server using php. The file is pdf and it is not corrupt, but when I use this code adobe says its a corrupt file. I just want to show a file to users like a regular link <a href="123.pdf"> this …

Member Avatar for left19
0
119
Member Avatar for Senefelder

I have recently renovated the GFWR Software site at members.shaw.ca/gfwrsoftware. In former days, it easily allowed readers to download installer files for the freeware programs I write in Visual Basic 6. Now, however, WHEN PUBLISHED, an attempt at downloading causes an error stating "The website declined to show this page", …

Member Avatar for Senefelder
0
177
Member Avatar for Moderns

Hello, I have php page that takes approx. 30 seconds to load! This page returns paginating data, 25 row per page. I am using correct query like "SELECT field1, field2... FROM table1 where..." My page has scripts tag like: <script>js_function</script> Now I have 25 rows per page, each row has …

Member Avatar for diafol
0
241