jQuery Ajax PHP Tutorial : Swap out page content on your website using PHP

13 04 2011

Get Source Code: http://www.developphp.com Learn to use jQuery / Ajax post mechanism to communicate to PHP in order to swap out page content, or access a mysql database, or whatever the hell you want.

Copy Paste Code: http://www.developphp.com Master PHP Image Processing with Adam Khoury in this Video Textbook Series. In this video we learn how to script a universal PHP image crop function that runs inline with out resize function created in the last lesson. It uses a handful of functions from the GD library in PHP. In our example the function will work for cropping JPG, GIF, and PNG type of images universally.
Video Rating: 5 / 5

Advertisements

Actions

Information

29 responses

13 04 2011
logmeinwtf

poopoo! lol,
good tutorial!

13 04 2011
RyanteGamer

I’m so confused! I am doing this, I even used the source code on the website, but every link I press, well, its fine. But there is a 1 after every piece of text. So its getting the text “Hello” and on the webpage it says “Hello 1” And I cannot for the life of me find where this 1 is coming from! I used Google developers thing and it cam up with some code by apple! Whats going on?!

13 04 2011
TheEBookZone

LOL!!! POO POO!!!

14 04 2011
killerbng

@denno021 lol, I guess u need utube videos to do anything than…God I cant stop laughing at u. thanks for a 3:10am pickup 🙂

14 04 2011
denno021

@killerbng Incorrect. I have tried this ‘basic computer knowledge’, as you put it, method, and it doesn’t work..

14 04 2011
renegade8164

Can you make a tutorial where it loads content from the MySQL database?… it would be nice to use a CMS

14 04 2011
XMAnuca

(I mean, that jQuery from a form)

14 04 2011
XMAnuca

Hello Adam!

I liked this tutorial a lot!

And I was wondering how to replace an php echo(); with a jquerry textbox mesage like:
“Error: I can’t do it”

Thanks!

14 04 2011
Waranle

Thank you Adam, please do more of this

14 04 2011
killerbng

@denno021 just set chrome as the defualt for opening it and the icon changing to the chrome one…isnt this basic computer knowledge? 😛

14 04 2011
InternetKev

That was excellent. Thanks!

14 04 2011
Conceptskatemedia

I love jQuery 🙂 Great tutorial!

14 04 2011
denno021

How did you get the chrome icon to appear for your html files! :O. I, as well as lots of other people on the net, get a blank icon.. Did you do anything special to make it work?
Great video as always too, I’ve learnt everything I know about PHP from your good self :).

14 04 2011
AloneinFiction

Can you add any kind of content in there??? Or just Text?

14 04 2011
AloneinFiction

Love This!!!

14 04 2011
baseball4355

So fricken helpful! Make more videos like this pretty pretty please! I want to see a tutorial on sliders where a form will slide down and reveal itself. Thanks 🙂

14 04 2011
dazziola

Your the best Adam!

14 04 2011
NicoDaVinci

Great, thx Adam!
Could you show how would be the same with a fallback to simple html when ppl have javascript turned off?

14 04 2011
projecttechnet

Sounds good but not really good for going to the url directly. Like the concept though 🙂

14 04 2011
blueprint7000

Beautiful tutorial !!! you should make also a tut with ajax – posting and getting data from a database:-)

14 04 2011
killerbng

Hi adam, great lil tutorial….im just wondering….would u prefer ppl using the jQuery way of doing this or the SpryAssest Dreamweaver has to do this…J/W what ur thoughts r, thnx nate

14 04 2011
PureCreativeDesigns

thats really smart

14 04 2011
MakeOrange

Nice one )

14 04 2011
pansagittarius

nice one! thanx

14 04 2011
NicoDaVinci

I dont want to get this offtopic, but:
If s.o. want to add one or more pictures to the upload before pressing the submit button… For example an “Add” button and a new filebrowsing field… How would this code look like, Adam?

14 04 2011
XMAnuca

Thanks Adam!

Would we watermark images in this course?? (I know how to do this, but i think it would be really interesting for many people) 😀

14 04 2011
NicoDaVinci

beautiful. useful. great.

14 04 2011
killerbng

nice lil function adam, thnx for another great tutorial!!

14 04 2011
Juankinator

i win




%d bloggers like this: