Posts
 
Reputation
Joined
Last Seen
Ranked #439
Strength to Increase Rep
+7
Strength to Decrease Rep
-1
88% Quality Score
Upvotes Received
17
Posts with Upvotes
13
Upvoting Members
13
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
5 Commented Posts
0 Endorsements
Ranked #654
~64.6K People Reached
Favorite Forums
Favorite Tags
Member Avatar for Vin vin

> I just need a ton of information Here it is: [MySQL docs](https://dev.mysql.com/doc/refman/8.0/en/). You can test it here: [SQLfiddle](http://sqlfiddle.com/)

Member Avatar for damonmoats
0
566
Member Avatar for newbie_1

You want URL and not path. I suppose you could try `echo 'http://localhost/img_mysql/images/' . $row['image']`.

Member Avatar for Tpojka
0
811
Member Avatar for tscina

You could open new topic. But answer to your question could be done with Mailchimp service. And if you want to use it dinamically from your PHP application, you can use their API system.

Member Avatar for navjot_2
0
3K
Member Avatar for Roozbeh_1

Have you checked the [docs](http://www.php.net/manual/en/features.file-upload.multiple.php) already?

Member Avatar for ryantroop
0
4K
Member Avatar for Haji Sameon

Go to `/usr/local/bin` location and execute `mv composer.phar /usr/local/bin/composer` command. Then you can use `composer` further. Double check what [docs](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx) say.

Member Avatar for diafol
0
838
Member Avatar for dawbin

PHP interpreter doesn't check `.html` pages unless stated otherwise. In Apache2@Ubuntu/Debian use this directive in `.htaccess` file. AddType application/x-httpd-php .html .htm or AddType application/x-httpd-php5 .html .htm If you are running PHP as CGI, you should write AddHandler application/x-httpd-php .html .htm or AddHandler application/x-httpd-php5 .html .htm Solution from [here](http://stackoverflow.com/questions/4687208/using-htaccess-to-make-all-html-pages-to-run-as-php-files).

Member Avatar for Tpojka
0
1K
Member Avatar for SimonIoa

So show some code where you stuck. I can recommend [great article](http://codeblog.jonskeet.uk/2010/08/29/writing-the-perfect-question/) of how to ask for help. Help us to help you. ;) Other than that, you can use AJAX to move recorded file to DB since you have already the file name/location. You can tweak `invokeSaveAsDialog` function of …

Member Avatar for SimonIoa
0
2K
Member Avatar for UK-1991

1. We don't know what `user_1` and/or `user_2` are. 2. Post complete HTML form. 3. Post JS/AJAX code used. 4. Post PHP code used. [How to ask](http://codeblog.jonskeet.uk/2010/08/29/writing-the-perfect-question/).

Member Avatar for UK-1991
0
118
Member Avatar for Vishnu_5

This doesn't work this way. Check [here](http://codeblog.jonskeet.uk/2010/08/29/writing-the-perfect-question/) and try again.

Member Avatar for Tpojka
0
90
Member Avatar for phoenix254

Shorthand is easy to remember as well: http://php.net/manual/en/language.operators.comparison.php#92685

Member Avatar for Tpojka
0
182
Member Avatar for James_43

Welcome to aboard. First, you shouldn't use mysql driver but you should use mysqli if procedural (as this example is) or PDO (preferable) if OOP. Secondly, you need to loop over returned results. Check [example 2](http://php.net/manual/en/function.mysql-query.php#example-1794). Also, check what have you got if print_r($result) without html tags.

Member Avatar for jj.dcruz
0
300
Member Avatar for singhsd2005

Also, I think you should omit `onClick="update_cart_detail()"` since you trigger function and whole AJAX process by clicking `id="update_cart"` which is that button.

Member Avatar for diafol
0
451
Member Avatar for spud91

Before form you want to check out if data is sent by POST so let's say right after line 40 (or first line after opening if condition) you need something like: if ( isset($_POST['submit_btn']) ) { // do what you need // insert or what ever // don't forget validation …

Member Avatar for spud91
0
9K
Member Avatar for SimonIoa

Can you test it on non secured page and check results, some development environment maybe?

Member Avatar for iamthwee
0
277
Member Avatar for OsaMasw
Member Avatar for Stefce
Member Avatar for Stefce
0
205
Member Avatar for Ventech_IT
Member Avatar for wawahida

Try to add any relevant code in next post (i.e. PHP, HTML, CSS, JS that is used in action).

Member Avatar for Tpojka
0
140
Member Avatar for vizz

Check if [this solution](http://webcheatsheet.com/php/reading_clean_text_from_pdf.php) suits you. I have just googled it. Seems like possible solution. I am getting some results but not wanted. Try if it will fit your request.

Member Avatar for diafol
0
2K
Member Avatar for janicemurby

Seems like `$topuid` is not an array. `var_dump($topuid);exit;` just before line 198 to see what is there.

Member Avatar for Traevel
0
248
Member Avatar for beerwinespirits
Member Avatar for davy_yg
Member Avatar for davy_yg

What stopped you from [google](http://bit.ly/1mP54SY)? (Hint: w3schools, phpfileuploader or tutorial on php.about.com seem to be good ones.)

Member Avatar for veedeoo
0
467
Member Avatar for iamthwee

Some practice I've met and started to use was to have folder named assets in the root: -application -assets --css --img --js -system .htaccess index.php Third party libraries are meant to be in `application/third_party` folder.

Member Avatar for Tpojka
0
214
Member Avatar for davy_yg

It's not secured enough. Someone could manually type id in url and update wrong page.

Member Avatar for Topnews
0
390
Member Avatar for davy_yg

Try to look the code in first place. I am very satisfied with Google Chrome right click Inspect element context option. If you check it, you will see that login form is just div *css-ed* with `display: none;` rule. With JS/jQuery you can make the magic removing that rule (class) …

Member Avatar for tapananand
0
242
Member Avatar for Sikander Nasar

It looks like there is IO.php (not necessarily) file with same class name (mandatory) in it to me. I would say there is `public static function intValue($int = FALSE){}` or something like that inside class. Are you familiar with OOP?

Member Avatar for Sikander Nasar
0
180
Member Avatar for markii.borabon
Member Avatar for Tpojka
0
112
Member Avatar for nadiam

Revert the loop code. It is fine. Variable is created and you can use it next in code. My question is where do you pick `$_POST['edit_event']` in your form? Because you set condition for fetching data if edit_event is posted.

Member Avatar for nadiam
0
490
Member Avatar for eaanscl@ssm@te

[Save your file as utf-8 without BOM](http://ch1.php.net/manual/en/function.session-start.php#103550).

Member Avatar for Tpojka
0
152