Search found 63 matches

by sguy
Wed May 30, 2012 7:56 pm
Forum: PHP General
Topic: php framework
Replies: 1
Views: 425

Re: php framework

heard of Apeel PHO Code Generator? is it good?
by sguy
Tue May 29, 2012 1:54 am
Forum: PHP General
Topic: php framework
Replies: 1
Views: 425

php framework

I'm looking for php framework which that already has login, code generator, which can make us easy to write code, any recommendation? it doesn't matter free or not
by sguy
Sat Sep 18, 2004 10:56 pm
Forum: PHP coding => General
Topic: next page
Replies: 2
Views: 811

when i put "or die('error: '. mysql_error());", it shows this error message:

error: You have an error in your SQL syntax near 'and '2004'-dobyear <= '' ' at line 1
by sguy
Sat Sep 18, 2004 2:19 am
Forum: PHP coding => General
Topic: fetch result
Replies: 2
Views: 794

problem solved $result = mysql_result(mysql_query("select count(*) from ".$DBprefix."signup where `username`='".$adres."'"), 0,0); if ($result == 0) { echo "Unknown user"; } else { $datetime = date("Y-m-d...
by sguy
Fri Sep 17, 2004 4:25 am
Forum: PHP coding => General
Topic: fetch result
Replies: 2
Views: 794

fetch result

i need to send a message to a receiver, if the user not in the database, echo the "Unknown user", if the user is in the database, then the message will be sent to the receiver although i use mysql_fetch_row, mysql_fetch_array, mysql_fetch_assoc, mysql_fetch_field, mysql_num_fields, mysql_num_rows it...
by sguy
Thu Sep 16, 2004 1:42 am
Forum: PHP coding => General
Topic: next page
Replies: 2
Views: 811

next page

this is a searching function the max result is 30, if more than 30, it has "- Prev 1 2 Next -" it shows the correct result, but if i press next, it shows these errors: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in c:\phpweb\searching.php on line 61 Warning: ...
by sguy
Mon Sep 06, 2004 9:51 pm
Forum: PHP coding => General
Topic: activation code
Replies: 1
Views: 593

activation code

can i change the name that display on the mail? when i register an account, then send the activation code to my email address.... the default name can be changed? can it set not to be junk mail or bulk mail? because the activation mail will send to junk/bulk mail... thank you.... Sender: Sign-up@ un...
by sguy
Sun Aug 29, 2004 10:37 pm
Forum: PHP coding => General
Topic: text, list box...
Replies: 7
Views: 1663

i've tried this on my own pc, it works.... when i upload to my web host, it doesn't work.... any problems??? <? echo'<a class=hp href=edit.php?education='.urlencode($row[education]).'>Edit Profile</a>';?> <select name=education> <option value="" selected>Prefer undisclosed</option>...
by sguy
Sat Aug 28, 2004 2:37 am
Forum: PHP coding => General
Topic: text, list box...
Replies: 7
Views: 1663

this is the drop down menu... how to view back the selected item from user that already stored inthe database? then user can click update button to save back to database.. thanks.... <select name=education> <option value="" selected>Prefer undisclosed</option> <option value="High Scho...
by sguy
Fri Aug 27, 2004 8:21 am
Forum: PHP coding => General
Topic: database search
Replies: 13
Views: 2903

not very understand.... :?
by sguy
Fri Aug 27, 2004 8:16 am
Forum: PHP coding => General
Topic: database search
Replies: 13
Views: 2903

i'm very blur oredi.... :shock:
can u help me??? :(
:help:
by sguy
Fri Aug 27, 2004 8:08 am
Forum: PHP coding => General
Topic: database search
Replies: 13
Views: 2903

thank you, the problem solved... this is the other problem.. this code only show the result without photo while unchecked. i want the code that: if the check box checked, then show the result with photo only, if unchecked, then show all the result thanks.. search.php With Photo only<input type="chec...
by sguy
Fri Aug 27, 2004 6:27 am
Forum: PHP coding => General
Topic: text, list box...
Replies: 7
Views: 1663

when user register, he/she need to fill in all the details.... when he/she click "Edit Profile", all his/her personal details will show in textbox and listbox.... then he/she click "Update" button to save back to the database. the textbox can be showed but i don't know how to retrieve the result in ...
by sguy
Fri Aug 27, 2004 6:13 am
Forum: PHP coding => General
Topic: checkbox....
Replies: 1
Views: 690

checkbox....

this code only show the result without photo while unchecked. i want the code that: if the check box checked, then show the result with photo only, if unchecked, then show all the result thanks.. search.php With Photo only<input type="checkbox" name="image" value="1"> seaching.php if($_POST['ima...
by sguy
Fri Aug 27, 2004 6:09 am
Forum: PHP coding => General
Topic: text, list box...
Replies: 7
Views: 1663

when i click the "Edit Profile" (is a hyperlink), then go to another page that automatically view back the personal detail in the text box and list box....

the text box can show the result, but the list box can't show the result...
by sguy
Fri Aug 27, 2004 2:45 am
Forum: PHP coding => General
Topic: text, list box...
Replies: 7
Views: 1663

text, list box...

the value can be showed in text box, but can’t show in the list box… how to show the value in the list box??? thanks... text box <input maxlength=40 size=40 name=fullname value="<? mysql_select_db($database, $conn); $result=mysql_query("select * from ".$DBprefix."sign...
by sguy
Thu Aug 26, 2004 11:24 pm
Forum: PHP coding => General
Topic: database search
Replies: 13
Views: 2903

i have 2 list menus, named lowage & highage in search.php, i want to find the age between 2 list menu... i don't store the age into database, i use current year to minus year of birth of someone, when i do searching, i can't use ("select age from `table` where age >= '$lowage' and age <= '$higha...
by sguy
Wed Aug 25, 2004 8:31 pm
Forum: PHP coding => General
Topic: statement inside array
Replies: 6
Views: 1603

this is the result:
Image
by sguy
Wed Aug 25, 2004 9:05 am
Forum: PHP coding => General
Topic: statement inside array
Replies: 6
Views: 1603

in my table has 1 column named "image", default is 0.
when i upload the picture, the 0 will set to 1.
then check the value, if the value is equal to 1, then show the camera.gif
this is what i meaned...
by sguy
Wed Aug 25, 2004 7:01 am
Forum: PHP coding => General
Topic: statement inside array
Replies: 6
Views: 1603

statement inside array

while ($number_of_array = mysql_fetch_array($query)) { echo "<TD><a href=viewuser.php?name=$number_of_array[nickname] target=_blank>$number_of_array[nickname]</a></TD>\n"; echo "<TD>$number_of_array[gender]</TD>\n"; echo "<TD>$age</TD>\n"; echo &qu...
by sguy
Tue Aug 24, 2004 11:17 pm
Forum: PHP coding => General
Topic: array
Replies: 3
Views: 781

i've tried all the possible ways to do that, but can't....

it just shows this when i check the properties of the picture, without the "william.jpg"

http://localhost/image/
by sguy
Tue Aug 24, 2004 12:38 am
Forum: PHP coding => General
Topic: array
Replies: 3
Views: 781

array

why cannot show the picture using this method? got another way to do it? thanks... <? mysql_select_db($dbname, $link); $result=mysql_query("select * from user_detail where nickname = '$name'") ; $number_of_array = mysql_num_rows($result); while ($number_of_array...
by sguy
Fri Aug 20, 2004 9:21 am
Forum: PHP coding => General
Topic: undefined variable
Replies: 2
Views: 1143

undefined variable

when i tried it on my own pc as server; m, it works...no problem.... when i tried to upload to my website, it comes out some error, don't know why.. need to define nickname???? Notice: Undefined variable: nickname in /home/httpd/vhosts/testing.com/httpdocs/uploading.php on line 32 <?php include_once...
by sguy
Fri Aug 20, 2004 4:13 am
Forum: PHP coding => General
Topic: -= Upload PIC/Image =-
Replies: 9
Views: 2058

assume that the nickname is william, when i upload the picture, it changes the file name to william, but without the file extension.... just william, not william.jpg <?php include "./common.inc"; $conn = db_connect('$db'); $uploaddir = './image/'; $uploadfile = $uploaddir . $_FILES...
by sguy
Thu Aug 19, 2004 6:04 am
Forum: PHP coding => General
Topic: -= Upload PIC/Image =-
Replies: 9
Views: 2058

i've tried this, but can't change the name... <?php include "./common.inc"; $conn = db_connect('$db'); $uploaddir = './image/'; $uploadfile = $uploaddir . $_FILES['userfile']['name']; print "<pre>"; $image_info = @getimagesize($_FILES['userfile']['tmp_name']); if ...