708 Posted Topics

Member Avatar for Sheridan
Member Avatar for somedude3488
0
55
Member Avatar for haggis365

php only has support for certain image types. i don't think tif is one of them.

Member Avatar for somedude3488
0
38
Member Avatar for sethupathi
Member Avatar for Suhacini

so what exactly was wrong with the code i typed up for you. the reason you getting the problem like i told you earlier is that you are not sending the search term along with each link in the script. the $_POST['keyword'] which contains the term on the first page …

Member Avatar for Suhacini
0
220
Member Avatar for Suhacini

here is something i typed up a few weeks ago. it should work. [code] $table = '<table id="module" class="module" border="0" cellspacing="0" cellpadding="5">'; $cols = 3; $per_column = 10; $col = 1; $table .= '<tr>'; $table .= '<td>'; $table .= '<table id="module" class="module" border="0" cellspacing="0" cellpadding="5">'; $i = 0; while ($row …

Member Avatar for Suhacini
0
122
Member Avatar for ryy705

when mysql_query() executes ok it returns with a 1. try setting the mysql_query() to a variable and then returning the variable itself. [code] function query($sql) { $query = mysql_query($sql); return $query; } [/code] works for me that way.

Member Avatar for ryy705
0
114
Member Avatar for darkkore

i think they are great. use them. they will provide you with a great site. i currently work as a php/database developer for them.

Member Avatar for macneato
0
137
Member Avatar for haii

go into the php.ini file and change the smtp host to your isp's smtp address.

Member Avatar for haii
0
80
Member Avatar for kevin wood
Member Avatar for yara1
Member Avatar for yara1
0
89
Member Avatar for ryy705

from what I have been told, storing credit card numbers without encryption is illegal. I would recommend not storing them at all. ever.

Member Avatar for djnzak
0
488
Member Avatar for cro_php

i am not really looking into the whole situation, just the code you provided. change: [code] $check_this_array = "$" . $key . "_array"; [/code] to: [code] $check_this_array = ${$key.'_array'}; [/code] this might solve your problem

Member Avatar for cro_php
0
118
Member Avatar for somedude3488

Hello, I have completed a chat application using php/xml/ajax: [url]http://www.banditssoftball.org/chat/[/url] I had a function to submit messages after hitting enter. the only problem was it only worked in IE. I need one that will working in FF ect. I have tried everything i can think of and nothing works. Also, …

Member Avatar for somedude3488
0
127
Member Avatar for tanha

you cannot execute two queries what way. mysql_query only accepts one. you need to run two seperate queries.

Member Avatar for Ole Raptor
0
75
Member Avatar for scottjk
Member Avatar for hivenk
0
275
Member Avatar for Suhacini

wow, you are making things so difficult. you can use php to grab all of the table names in the database and display them. you can also use ajax to retrieve the info in the database without all of the excessive coding. if you need me to write some code …

Member Avatar for Suhacini
0
277
Member Avatar for inshi
Re: chat

do you have an example? can you post the code. right now, I am also developing a chat system using PHP,XML,AJAX - no database. do you think that would be useful?

Member Avatar for somedude3488
0
107
Member Avatar for Vai

just looking through your code, i noticed many problems (mostly security). if you could explain what exactly you are trying to accomplish in more detail, i would be glad to type up some code for you.

Member Avatar for somedude3488
0
176
Member Avatar for maydhyam

in the mail function you used, you forgot a variable. it should be mail($to,$subject,$message,$headers); i think that should help.

Member Avatar for maydhyam
0
174
Member Avatar for scorpionz

i'll write some code and see if i can get it to work. (i'm curious). i will let you know of the results.

Member Avatar for fatihpiristine
0
178
Member Avatar for Vic842

this is how i did it: Learned HTML > XHTML > JAVASCRIPT> PHP i also learned ajax (pretty much javascript) and xml (really easy). there are many other choice for server side scripting you can look into thoughs and see what you like best. Good Tutorial For Everything: [url]www.w3schools.com[/url]

Member Avatar for peter_budo
0
196
Member Avatar for anish.anick
Member Avatar for anish.anick
0
92
Member Avatar for prethum

you can't upload to a remote server unless you use ftp. the way you have it set up is for uploading locally to a local directory. i have never been able to upload to a remote server like that.

Member Avatar for prethum
0
107
Member Avatar for still_learning

have the search form post to the new page you are talking about and process/display the results on that page.

Member Avatar for still_learning
0
108
Member Avatar for ohyeah

i would use ajax for something like that. makes it look professional. if you need more help pm me and i will see what i can do.

Member Avatar for vinothkumarc
0
127
Member Avatar for Scottmandoo
Member Avatar for myth3_16

i wouldn't use javascript to do it because that could be disabled. I would validate it via php. This code is how I would do it: [code] <?php $thispage = $_SERVER['PHP_SELF']; $form =<<<HTML <form action="$thispage" method="post"> Email Address:<br /><input type="text" name="email" class="style1" /><br /> Surname To Search:<br /><input type="text" name="q" …

Member Avatar for helraizer
0
93
Member Avatar for camdes

use: [code] $tmpFile = $_FILES['file']['tmp_name']; $size = filesize($tmpFile); if ($size > 200000) { echo 'File exceeds size limit'; } [/code] this is just an example you can manipulate this any way you want.

Member Avatar for somedude3488
0
91
Member Avatar for ryy705

i would set the smtp of the server to your isp's and you won't have to install a email server.

Member Avatar for ryy705
0
64
Member Avatar for Scottmandoo
Member Avatar for prethum
0
2K
Member Avatar for rudevils

i don't thinks it possible with the select element. you could use a good amount of javascript to do it (not with the select element, but something similar).

Member Avatar for rudevils
0
87
Member Avatar for pancgom
Member Avatar for queenc
0
123
Member Avatar for zatie
Member Avatar for JNathanson

i have seen a lot of places like that use frames to force ads. I am not sure of the method they use to do this for their sites but that might get you in the right direction.

Member Avatar for somedude3488
0
132
Member Avatar for mgn2683

just put the image name into an html image tag while you loop through the results in the database. ex. [code] echo '<img src="' . $imagepath . '" />'; [/code]

Member Avatar for somedude3488
0
72
Member Avatar for sukhy_1

use: [code] $sql = "SELECT COUNT(*) FROM `dates` WHERE `search` = 'yes'"; $query = mysql_query($sql); $res = mysql_fetch_row($query); $total = $res[0]; echo $total; [/code]

Member Avatar for sukhy_1
0
100
Member Avatar for aran87

this is really easy one. use this: [code] //$email is the variable with the email address $sql = "SELECT COUNT(*) FROM `table` WHERE `email` = '" . $email . "'"; $query = mysql_query($sql); $res = mysql_fetch_row($query); $num = $res[0]; if ($num > 0) { //display error } else { //process …

Member Avatar for somedude3488
0
115
Member Avatar for lifeworks

which method are you using? GET or POST. if its GET then rudevils way will not work.

Member Avatar for lifeworks
0
271
Member Avatar for somedude3488

I am creating a php property buy/sell/trade game. The goal is to have the most properties and the most cash after a set time period (cash prize awarded later in site development). I was wondering what you guys would like to see in a game like this. Here is a …

Member Avatar for somedude3488
0
102
Member Avatar for rebelbwb
Member Avatar for rebelbwb
0
114
Member Avatar for maddogsprofiles

please use code tags. did you put in your mysql connection info? i didn't look through all of that code because it would take forever, thats why am i asking.

Member Avatar for maddogsprofiles
0
232
Member Avatar for aran87
Member Avatar for sukhy_1
0
116
Member Avatar for nickyspace

nevermind, my suggestion would work but I would have to rewrite you code. forget this post

Member Avatar for nickyspace
0
110
Member Avatar for flynismo
Member Avatar for kevindougans
0
104
Member Avatar for kevin wood

can you post your code? its hard to help when i don't know exactly what i am dealing with.

Member Avatar for kevin wood
0
79
Member Avatar for pancgom

i use a session array to hold the values and at the very end pull the data from the array and process it into a database.

Member Avatar for buddylee17
0
1K
Member Avatar for ZaphodQB

you didn't set the $connection variable as global in the connection function. if for some reason that doesn't work, try removing $connection from the mysql_query

Member Avatar for ZaphodQB
0
149
Member Avatar for ash112

use this: [code] $sql = "SELECT * FROM `contacts` WHERE `first1 = '" . $_POST['name'] . "' AND `mobile` = '" . $_POST['mobile'] . "'"; $query = mysql_query($sql); while ($row = mysql_fetch_assoc($query)) { echo '<a href="' . $_SERVER['PHP_SELF'] . '?id=' . $row['id'] . '">' . $row['first'] . ' ' . …

Member Avatar for somedude3488
0
141
Member Avatar for lydia21

this should do it. any problems let me know. [code] <html> <body> <?php $host = 'localhost'; $user = 'jesus'; $pass = 'jesus'; $db = 'jesus_jesus'; $con = mysql_connect($host,$user,$pass) or die('Error: Could not connect'); mysql_select_db($db) or die ('Error: Could not select database'); $id = $_GET['id']; $sql = "SELECT * FROM `jobs` …

Member Avatar for lydia21
0
98
Member Avatar for Scottmandoo

The End.