Search Results

Showing results 1 to 40 of 91
Search took 0.01 seconds.
Search: Posts Made By: ProfessorPC ; Forum: PHP and child forums
Forum: PHP Feb 4th, 2009
Replies: 24
Views: 970
Posted By ProfessorPC
Are you using textarea?
Forum: PHP Feb 4th, 2009
Replies: 15
Views: 1,071
Posted By ProfessorPC
in your users table do you have roles set? if you do you could get the current users role. lets say they are an admin or mod. if they are either you can add a delete button. they push that and delete...
Forum: PHP Feb 4th, 2009
Replies: 5
Views: 685
Posted By ProfessorPC
i think they showed you the best way to do it here http://www.daniweb.com/forums/thread173153.html
Forum: PHP Jan 21st, 2009
Replies: 6
Views: 341
Posted By ProfessorPC
be sure to check on encryption for the users info.
Forum: PHP Nov 24th, 2008
Replies: 6
Views: 663
Posted By ProfessorPC
this is how you pass info from one page to another. lets say thats an id of some item from the other page. like a book for a library page. when you click the image or link it will have something like...
Forum: PHP Aug 9th, 2008
Replies: 2
Views: 2,827
Posted By ProfessorPC
I have found that the script does work on other servers. I think my host has me locked down a little more than i would like. Guess its time to look for that VPS i have been wanting.
Forum: PHP Aug 8th, 2008
Replies: 2
Views: 2,827
Posted By ProfessorPC
hello,
i am having some problems retrieving email from gmail. im not sure if its because its pop or what. unfortunatly my host doesnt have the pop module. but here is the code.



$imap =...
Forum: PHP Jul 24th, 2008
Replies: 5
Views: 891
Posted By ProfessorPC
you can use the same method as the above solution. using the switch in your function and changing your ORDER BY in your query.
on your display page you can add

<th width="10%" align="center"...
Forum: PHP Jun 23rd, 2008
Replies: 3
Views: 1,266
Posted By ProfessorPC
$qry = mysql_query("SELECT * FROM tablename") or die(mysql_error());
echo "<table><tr><td>";
while($row=mysql_fetch_array($qry)) {
echo $row['1stfield']. "</td>";
echo "<td>".$row['2ndfield']....
Forum: PHP Jun 17th, 2008
Replies: 3
Views: 518
Posted By ProfessorPC
you need to have the column names in the insert:

$sql=mysql_query("Insert into tc (col1, col2, col3, col4) Values (`$nama`, `$ic`, `$fakulti`, `emel`)") or die(mysql_error());


give that a try
Forum: PHP Jun 16th, 2008
Replies: 6
Views: 648
Posted By ProfessorPC
do you own this .org domain?
Forum: PHP Jun 15th, 2008
Replies: 2
Views: 569
Posted By ProfessorPC
or when you pull the info you could leave the country id and do a join in your query to pull the name from that id.
Forum: PHP Jun 15th, 2008
Replies: 16
Views: 2,264
Posted By ProfessorPC
you can send it through the address

<a href="yourpage.php?info=imageinfo">


then on your other page you can grab the info using

$info = $_GET['info'];

this will grab whatever info your...
Forum: PHP Jun 8th, 2008
Replies: 4
Views: 681
Posted By ProfessorPC
instead of paying him to do your sites you can just come here and get all the help you need for FREE!!!
Forum: PHP Jun 7th, 2008
Replies: 4
Views: 1,063
Posted By ProfessorPC
or you can use a single quote inside the double quotes

print "<meta http-equiv='refresh' content='0;URL=messagesent.html'>";
Forum: PHP Jun 7th, 2008
Replies: 1
Views: 411
Posted By ProfessorPC
Are you displaying the same results in the same order on your page? Is it one result or a list? If the display is different you can create another query, if its the same just set it to a var.
...
Forum: PHP Jun 6th, 2008
Replies: 1
Views: 437
Posted By ProfessorPC
i would talk to the host about that.
Forum: PHP Jun 6th, 2008
Replies: 10
Views: 1,590
Posted By ProfessorPC
cant do

if ($Series=='D'){
switch ($ModelYear){
cases
}
}


?
Forum: PHP Jun 6th, 2008
Replies: 10
Views: 1,590
Posted By ProfessorPC
just looking but dont you want to set the model year to the value between the H's?

$ModelYear=substr($decode,5,1);
switch ($ModelYear){
Case 0:

break;
Case 1:

break;
Forum: PHP Jun 5th, 2008
Replies: 50
Views: 5,043
Posted By ProfessorPC
My pleasure. Ill keep trying to break it for ya lol :)
Forum: PHP Jun 4th, 2008
Replies: 4
Views: 516
Posted By ProfessorPC
Table Store: Store_ID, Store_Name, Location.
Table Brand: Brand_ID, Brand_Name.
Table Categories: Cat_ID, Cat_Name.
Table Product: Prod_ID, Brand_ID, Cat_ID, Prod_Name, Price, Details.

In the...
Forum: PHP Jun 4th, 2008
Replies: 3
Views: 1,131
Posted By ProfessorPC
You can set IIS up for your Intranet Server

http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.express.doc/info/exp/ae/tins_manualWebIIS.html
Forum: PHP Jun 4th, 2008
Replies: 5
Views: 493
Posted By ProfessorPC
i have created the pages from your form and process. you can access this here http://www.normansprofessorpc.com/testing/homebuy.php
Enter the address you want this sent to in the form email address....
Forum: PHP Jun 4th, 2008
Replies: 5
Views: 493
Posted By ProfessorPC
all seems to work fine with the post. just submitted and it went to the email i have specified
Forum: PHP Jun 4th, 2008
Replies: 5
Views: 493
Posted By ProfessorPC
i tested that it was pulling the info i will take a look the email.
Forum: PHP Jun 4th, 2008
Replies: 5
Views: 493
Posted By ProfessorPC
Change $_REQUEST to $_POST. i have tested and should pull all info
Forum: PHP Jun 2nd, 2008
Replies: 4
Views: 532
Posted By ProfessorPC
how are you setting up your confirm? if its a var just print it to screen and verify what is being sent.
Forum: PHP Jun 2nd, 2008
Replies: 13
Views: 1,776
Posted By ProfessorPC
Forum: PHP Jun 2nd, 2008
Replies: 3
Views: 1,410
Posted By ProfessorPC
what exactly are you needing help with?
Forum: PHP Jun 2nd, 2008
Replies: 4
Views: 532
Posted By ProfessorPC
you want to test your javascript and make sure the variables are set correctly. print your vars on the page to confirm the info is correct.
Forum: PHP Jun 2nd, 2008
Replies: 13
Views: 1,776
Posted By ProfessorPC
paypal is hiding their file extension. you want to hide your extensions or create a new paypal?
Forum: PHP Jun 2nd, 2008
Replies: 4
Views: 536
Posted By ProfessorPC
try using this in the image href

echo "<a href='pagename.php?type=$row['PicId']'>";
Forum: PHP Jun 2nd, 2008
Replies: 10
Views: 1,117
Posted By ProfessorPC
Suhacini's code looks good but a small typo i think


$res=mysql_query($str);


change to:

$res=mysql_query($sql);
Forum: PHP Jun 1st, 2008
Replies: 14
Views: 1,700
Posted By ProfessorPC
im looking at the code and im not recognizing your ++$_SESSION['test']. What is this doing?
if the session is set you are setting the session to ++ correct? Could this be why you are having the...
Forum: PHP Jun 1st, 2008
Replies: 4
Views: 536
Posted By ProfessorPC
The first code is setting the name of the image. Are you keeping your images in a Link database? If you are you can query your db with the $_GET:


$imagename = $_GET['type'];
$imageinfo =...
Forum: PHP Jun 1st, 2008
Replies: 4
Views: 746
Posted By ProfessorPC
Do you have an example?
Not sure what type of situation you are referring to.
Forum: PHP Jun 1st, 2008
Replies: 4
Views: 798
Posted By ProfessorPC
Missed your email question. I have used this in the past.


$emailcheck = $_POST['email'];
$check = mysql_query("SELECT email FROM users WHERE email = '$emailcheck'")
or die(mysql_error());...
Forum: PHP Jun 1st, 2008
Replies: 4
Views: 798
Posted By ProfessorPC
Sounds like you got it right. I had ran into the same problem. I had created the random password and inserted that into the db as their password. Sent them a link including and identifier...
Forum: PHP May 31st, 2008
Replies: 5
Views: 6,586
Posted By ProfessorPC
you can find the information and example (10th user post down by DHKold) here:
http://us3.php.net/imagecreate
Forum: PHP May 31st, 2008
Replies: 3
Views: 571
Posted By ProfessorPC
your welcome. would you mind marking this as solved so others will know the solution is displayed.
Showing results 1 to 40 of 91

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC