167 Posted Topics

Member Avatar for tulipputih

[code] <?php mysql_connect("localhost","root",""); mysql_select_db("student") or die("Unable to select database"); ?> <form name="form" action="result.php" method="get"> Subject <input type="text" name="q" /> Topic <input type="text" name="r" /> Ability <input type="text" name="s" /> <input type="submit" name="Submit" value="Search" /> </form> <?php // Get the search variable from URL $q = $_GET['q'] ; $r = $_GET['r'] …

Member Avatar for navi17
0
243
Member Avatar for StNick

[code=php] number_format( $string , 2 , "Decimals" , "Thousands" ); [/code] [code=php] function fomat_brazil ( $case ) { // Presuming the brazilian use "," as the equvilant of "." or the reverse echo number_format( $case , 2 , "," , "." ); } function format_english( $case ) { echo number_format( …

Member Avatar for StNick
0
107
Member Avatar for theworx

You are really expecting allot from us. We would need a little more information and definetly the contents of the file you mentioned. ;)

Member Avatar for Josh Connerty
0
91
Member Avatar for wilbery

Hmmm, just something to say, I have never seen anyone user the round brackets to take post data... you were usering $_POST('egnejg'); it should be $_POST['fjkgjd']; And you can't use EDO twice I think you must use a different three letters for instance FOD...

Member Avatar for Josh Connerty
0
163
Member Avatar for nish123

Basicly the logic is like this, :P You take the time stamp when they log in, store this in two fields last log in time and last movement. Every page they visit you need to runa query to update their last move to the current time stamp. Most systems use …

Member Avatar for Josh Connerty
0
3K
Member Avatar for Mandler

Hmmmm, is this changing often. You mentioned using JavaScript to change them. Will JavaScript be changing them often? If so then you might aswell get JavaScript to order them. Theres little point in PHP organizing them for JavaScript to come and cock them up.

Member Avatar for Baldy76
0
162
Member Avatar for ttowndex

[QUOTE=ttowndex;885341]My son's computer had a good sized spyware attack, thanks to his Limewire use (now cutoff). I was able to clean it up using Malware Bytes AntiMalware, but now it will not start the Internet Connection Sharing service. I get an error that says "cannot find specified file" when trying …

Member Avatar for Josh Connerty
0
163
Member Avatar for nigelburrell

The field in the mysql database what char type is it? (eg. VARCHAR or INT or SMALLINT etc.) It maybe that the browser is parsing it as a mailto link. Try doing this: [code=php] <?php $newEmail = str_replace( "@" , "[at]" , $email ); echo $newEmail; ?> [/code] If that …

Member Avatar for Josh Connerty
0
286
Member Avatar for gagan22

[QUOTE=gagan22;884888]hi all, I have done one work in using multiple select box in which i am fetching value of select boxes from database. This all work i have done using ajax. Like when we select country form first select box then it will show state comes under country. But now …

Member Avatar for Josh Connerty
0
2K
Member Avatar for cp_almora

I don't speak programming language, I can write it but models, associative array etc. mean nothing to me. :P Can you explain in a little more human terms what exactly you are trying to do?

Member Avatar for Josh Connerty
0
57
Member Avatar for geny

If you stick the file_g..... function at the top of your script in a variable then it should be loading the code before you echo it out. The issue comes as your are essentially loading two websites. Maybe this website has a longer response or load time. Only other thing …

Member Avatar for Atli
0
147
Member Avatar for arvindikchari
Member Avatar for Josh Connerty

Okay so here it goes. I was working on a CMS earlier and I got pissed off with my text editor. So I downloaded a new one. Little to my knowledge it was a bogus. It installed and during the installation my PC got really slow. PC Wizard did not …

Member Avatar for Josh Connerty
0
220
Member Avatar for justted

My thoughts would be that you have in some way put the variable down in the wrong way. Can you post the code so as I can take a closer look? Also try taking a look in firefox right click on your page and then click source. This should give …

Member Avatar for Josh Connerty
0
107
Member Avatar for BarJabba

On the occasions I have replaced a CPU I haven't been warned of any hardware changes either.Then again it has always registered the cores. Have you not thought about getting a new ASUS MOBO for £40 and formatting your HDD and doing a fresh install. At least then you know …

Member Avatar for Jupiter 2
0
664
Member Avatar for uykusuz
Member Avatar for Lee_Sonnenburg

Not that liekly though. I would have thought echoing out 144 records would most likely give you a memory error. I would have thought that using a style attribute on the p tag to make it display as block and using "clear" with the value of "both" this should make …

Member Avatar for diafol
0
309
Member Avatar for Edel_

Yep make another file called page.php then use JavaScript and AJAX to retrieve it once your document is ready. In this page.php you use file_get_contents() to retrieve the files contents.

Member Avatar for Edel_
0
314
Member Avatar for knrakesh

[QUOTE=OmniX;884327]If you are asking for a whole admin setup your opening up a can of worms that is a very time consuming and complex task else check out Atlis link to PHPMailer to send mail via php.[/QUOTE] OmniX has a point if you do not have this knowledge yourself as …

Member Avatar for Josh Connerty
0
110
Member Avatar for Josh Connerty

Hey guys, Basicly my nephew has just been born and I need to put soem images on my site for my grand parents (the great grad parents) to see. I can upload smaller galleries and all is well but for some reason if I upload a larger archive, for example …

Member Avatar for Josh Connerty
0
127
Member Avatar for lamiv007

[color=red]Okay so the version you have tried that is working, can you gimme an update of the code please so I know what is happenging now, Thanks.[/color] Ignore what I juts wrote :P

Member Avatar for digital-ether
0
629
Member Avatar for peter6960

Well they are extremely easy to make. Do you have much PHP/MySql knowledge? I could probably whack one out in a few hours. Of course for me to give you any ideas of how this might be done I would need to know what you have so far so as …

Member Avatar for Josh Connerty
0
147
Member Avatar for pabzzmike

Or furthermore Google: PHP upload to MySql database. Depends on wther you wish to store the image binary in the MySql database or in a webserver directory and just store the location in the MySql database.

Member Avatar for rahul.anand77
0
86
Member Avatar for cooterbrown

So you are trying to send a windows word document over fax to someone via a webform?

Member Avatar for Josh Connerty
0
141
Member Avatar for candidz

You see the thing is people need a programmer that can difficult things, hence the reason why they are not or can not do it them selves. You wouldn't find any jobs on just about any freelance programer job website. However if I tell you a website will you admit …

Member Avatar for Josh Connerty
0
153
Member Avatar for OmniX

[QUOTE=OmniX;880807]Im pretty sure my hosting is LINUX but I run WINDOWS. But I use windows to access both not linux. So I think I would need to know how to install it on windows first and then contact me web host about installing it on the server? or if i …

Member Avatar for digital-ether
0
1K
Member Avatar for Tom9489

I had a toshiba with XP media center and there was a similar issue. I found hitting the windows key and L will lock the computer (switch users, not sure) and you can then click the shut down button and it shuts down. I am affraid mike this was due …

Member Avatar for Josh Connerty
0
228
Member Avatar for cool_gurl666
Member Avatar for Josh Connerty
0
92
Member Avatar for normanallen

have you tried to download it either via microsoft update (if you downloaded it via a browser) or vice versa?

Member Avatar for Josh Connerty
0
111
Member Avatar for nish123

[QUOTE=nish123;878733]hello friendz.. jst a small query.. i made simple userinput form as userform.php.... after submit the form..values are passed to adduser.php for inserting to database... i have a serverside validation tht username cant be same...!! [code]if(username is laready exist) { [B]header('location:userform.php?error=1');[/B]//user send back to userinput form.. } else { [B]header('location:login.php');[/B]//user …

Member Avatar for nish123
0
131
Member Avatar for Namibnat

Can you give me the exact result resource error please. This will help me diagnose the issue. Aslo you will need to post your script in [ code ] tags.

Member Avatar for Josh Connerty
0
103
Member Avatar for mikenco

Does it work if you only order by one of the terms by removing the + and the following statement?

Member Avatar for mikenco
0
117
Member Avatar for csharplearner

I always thought the first was the start recoed and the second was the last record. I think 3,3 is wrong run an if statement to make sure the count variable is not equal to or greater to 3 this would confuse MySql's brain.

Member Avatar for cwarn23
0
176
Member Avatar for sanjaypandit

Can you upload an excel file so as we know what kinda things your trying to add to mysql?

Member Avatar for sanjaypandit
0
129
Member Avatar for lauriedk
Member Avatar for soloalpinist
Member Avatar for Ddywalgi

[QUOTE=Ddywalgi;879715]Can anyone please help.I am trying to add values to a table from 2 dropdown lists which are dynamically poulated. I have managed to achieve it for one drop list but have added a second and cannot create the correct syntax to add both values to the table. [CODE=php] // …

Member Avatar for Ddywalgi
0
108
Member Avatar for elajam

Well fisrt off ytour get is retreiving names that don't have an x in the yet you put it at the end... Can you give us more of an idea what the forbidden error is. Either a screen shot or an exact copy of the text displayed. Thanks.

Member Avatar for Josh Connerty
0
61
Member Avatar for rajeesh_rsn

This way would probably be better and only use one line. [code=php] $name = fetch("SELECT `name` FROM profile WHERE `id` = '$id'"); echo $name; [/code]

Member Avatar for Josh Connerty
0
67
Member Avatar for HelenLF

WinSCP is a good one. Well, I was thinking more along the lines of .htaccess. You could add a mimetype decalring JPG as an image. This as far as I know will work fine. But it is a good idea to change them all. You could run a simple command …

Member Avatar for Josh Connerty
0
89
Member Avatar for csd79

Well as far asd I knew (and thats not too much) I thought soem big hardware changes caused you to reformat your hard drive. That was my instail thought but then I remembered back in the Pentium III days I could switvh between two without anything going wrong. Okay my …

Member Avatar for Josh Connerty
0
135
Member Avatar for sunilsinha
Member Avatar for menew

Hmmmm, maybe you could try make one yourself, it would give you an easier customized page controler and means you know exactly how it works and how to change it etc. If you can't or don't want to however then you will need to post the code so as we …

Member Avatar for Josh Connerty
0
69
Member Avatar for bufospro

You can however do this in the mail function. Your from variable, we haven't got it can you show us it so as we know what you are doing with it.

Member Avatar for Josh Connerty
0
96
Member Avatar for lalomoreno

I've never used the method you are trying to use so I wouldn't be able to help. I would just run a query to fetch the data then run another query to insert it into another table. To be honest with you mate you might save yourself about minute using …

Member Avatar for Josh Connerty
0
157
Member Avatar for sanusiemmanuel

[QUOTE=sanusiemmanuel;873016]pls, help! how can i connect to mysql 5.0 database with vb6 and how do i connect to mysql database from php5.Where do i download the necessary drivers.[/QUOTE] Not sure about VB but PHP5 should be like this: [code=php] $con = mysql_connect( "HOST ADDRESS" , "USERNAME" , "PASSWORD" ); // …

Member Avatar for Josh Connerty
0
63
Member Avatar for Josh Connerty

Hello, I have been working on some scripts for a forthcoming site and I have run across an issue. The issue being that when uploading large files (60Mb + ) will only be validated after they have finished being uploaded to a temporary directory. As you could probably imagine this …

Member Avatar for cwarn23
0
5K
Member Avatar for Josh Connerty

I have done these scripts a thousand times. I still however can't seem to sort out this issue. The issue is that this block of code should return 3 images although it doesn't it only returns one image. The other one I am getting is from a different loop that …

Member Avatar for somedude3488
0
108
Member Avatar for HB25

[QUOTE=HB25;849261]Hi I will explain what I am trying to do: I have used MYPHP admin to create a database where user booking details will be stored in a table called bookings. Now I need to retrieve all the bookings for a specific date. For achieving this I have created two …

Member Avatar for Josh Connerty
0
208
Member Avatar for mbabaali

I presume you mean it doesn't send to the database? The only thing I have noticed is that the way in wich you are connecting is not the way in wich I would. I have seen others connect this way but they were all having problems, my advice would be …

Member Avatar for somedude3488
0
199

The End.