Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Closed Thread
Need help on a PHP assignment by tonight 5/31/2011!! will pay!!
Old 05-31-2011, 08:04 PM Need help on a PHP assignment by tonight 5/31/2011!! will pay!!
Junior Talker

Posts: 1
Name: peter
Trades: 0
Dear all,


I have an assignment that I don't know how to do it!! if anyone can do it for me !! I will pay them $50 by tonight VIA paypal !! is urgent please help!!!!

is too big to upload the assignment folder, if you willing to help, just let me know, i will send it to you VIA email. thank you so much!!

E-commerce Technologies
Assignment 4 - Shopping Cart Integration

Task 1 search.php
Outline
1. Create a page search.php use template.html as a starting point.
2. Modify index.php, products.php, and cart.php such that when the search bar form is submited the text in the input field with id searchInput is sent to search.php's get array. (Hint use the name attribute)
3. Skim this chapter on the LIKE keyword in MySQL.
http://dev.mysql.com/doc/refman/5.0/...#operator_like
4. Search.php will do the following:
1. Check to see if data is being sent from the get array
1. If not redirect to index page
2. If data is sent extact it to some variable, (lets call it $userInput)
2. Connect to the database
3. Generate SQL to request using the LIKE keyword and the %
1. The generated SQL statement should check all relavent fields in your products table
2. Specifically the name, category and description if you have not changed the initial table structure
3. Your search query should look something like this: (With the actual $userInput replaced)
SELECT * FROM products WHERE name LIKE %$userInput % OR category LIKE %$userInput % OR description LIKE %$userInput %;
4. Run the query using mysql_query
5. Store the resulting table somewhere.
6. Check the number of rows returned, if its 0 print out some generic nothing found message.
7. Otherwise loop through each product and print out some product information (product name and current price should suffice).
8. Format the product name such that it is a link to the actual products page of that product (Note you can pull the productID out of the return mysql resource)
pitajai61 is offline
View Public Profile
 
 
Register now for full access!
Old 06-01-2011, 03:40 AM Re: Need help on a PHP assignment by tonight 5/31/2011!! will pay!!
lynxus's Avatar
Awesomeo-Maximo

Posts: 1,618
Location: UK
Trades: 1
THIS! Is why when "Graduated programmers" join my place of work, they know NOTHING!
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE


lynxus is offline
View Public Profile Visit lynxus's homepage!
 
Old 06-01-2011, 08:50 AM Re: Need help on a PHP assignment by tonight 5/31/2011!! will pay!!
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,385
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
I wonder how we did assignments and coursework with having the Internet????



Makes you wonder how we ever passed any exams. I feel so deprived and disenfranchised (whatever that means).
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
View Public Profile Visit chrishirst's homepage!
 
Old 06-01-2011, 08:51 AM Re: Need help on a PHP assignment by tonight 5/31/2011!! will pay!!
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,385
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Or should that be "depraved" ????
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
View Public Profile Visit chrishirst's homepage!
 
Old 06-01-2011, 09:54 AM Re: Need help on a PHP assignment by tonight 5/31/2011!! will pay!!
Banned

Posts: 4,083
Trades: 0
Do the assignment yourself.
dWhite is offline
View Public Profile
 
Old 06-01-2011, 09:58 AM Re: Need help on a PHP assignment by tonight 5/31/2011!! will pay!!
NullPointer's Avatar
Will Code for Food

Posts: 2,815
Name: Matt
Location: Irvine, CA
Trades: 0
Two questions:

Why pay to take a course and then pay someone else to do the work?

If you think 50 bucks is a reasonable price for that amount of work why did you want to learn to do it in the first place?
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
NullPointer is online now
View Public Profile Visit NullPointer's homepage!
 
Closed Thread     « Reply to Need help on a PHP assignment by tonight 5/31/2011!! will pay!!
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.16921 seconds with 12 queries