Posts
 
Reputation
Joined
Last Seen
Ranked #440
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
~65.4K People Reached
Favorite Forums
Favorite Tags

83 Posted Topics

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
570
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
815
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
864
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
120
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
92
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
184
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
302
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
453
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
10K
Member Avatar for SimonIoa

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

Member Avatar for iamthwee
0
281
Member Avatar for OsaMasw
Member Avatar for Stefce
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
142
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
251
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
480
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
221
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
394
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
243
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
185
Member Avatar for markii.borabon
Member Avatar for Tpojka
0
114
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
499
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
154
Member Avatar for joshl_1995

[You have to](https://www.google.com/search?q=dinamically+creating+email+address&oq=dinamically+creating+email+address&aqs=chrome..69i57.8688j0j7&sourceid=chrome&es_sm=93&ie=UTF-8#q=dynamically+creating+email+address&spell=1) configure a mail server host on your own server or use the API of your host service.

Member Avatar for joshl_1995
0
689
Member Avatar for ravi142

Try with setting: `$db[‘default’][‘db_debug’] = false;` in database.php file.

Member Avatar for krishnanair
0
180
Member Avatar for gazem
Member Avatar for sukhdev.singh

You would need understanding of OOP and classes. [Here](http://www.phpkode.com/source/s/simple-xlsx/simplexlsx.class.php) is the class doing that.

Member Avatar for chrishea
0
335
Member Avatar for sigitas.darguzas

$faces = array ('4', '1', '2', '3', '6', '5'); $wheel1 = array(); foreach ($faces as $face) { $wheel1[] = $face; } Wouldn't be simplier:`$wheel1 = $faces;`?

Member Avatar for Tpojka
0
166
Member Avatar for iamthwee

Please use search engine for this kind of question. Check [this simple search](http://bit.ly/1fSPghZ). And these are first 4 results: a) [One](http://stackoverflow.com/questions/9349142/twitter-bootstrap-2-modal-form-dialogs). b) [Two](http://stackoverflow.com/questions/16154216/twitter-bootstrap-modal-form-submit). c) [Three](https://gist.github.com/havvg/3226804). d) [Four](https://www.youtube.com/watch?v=PrtmSNlsE6U).

Member Avatar for diafol
0
376
Member Avatar for carl.potak

[User-defined function](http://www.php.net/manual/en/functions.user-defined.php). Had to be coded in one of files included before.

Member Avatar for carl.potak
0
188
Member Avatar for seotheo

What is the error when you say 'it just doesn't work'? You described way of doing that. Btw. you could try if mailer class is working with one if condition (ln. 42): <?php $name = trim($_POST['name']); $email = $_POST['email']; $comments = $_POST['comments']; $site_owners_email = '**************'; // Replace this with your …

Member Avatar for ehpratah
0
3K
Member Avatar for surferbloggy

Check [this code](http://wordpress.org/support/topic/how-to-drop-table-from-database). Bit different than yours.

Member Avatar for Tpojka
0
306
Member Avatar for fireburner29

User's login to management page should check DB table column to see if it is available or not. That is column which value is changed by admin. So, when user logs in to account or even as logged in member click the link to management page (in case there is …

Member Avatar for fireburner29
0
1K
Member Avatar for Elusive
Member Avatar for nazree.zeko

Since you are using javascript field validation, take a look of [this](http://jqueryvalidation.org/) integrated jQuery solution.

Member Avatar for nazree.zeko
0
247
Member Avatar for johnef_sh

Try with: `center = new google.maps.LatLng(30.0599153,31.2620199,13) || map.setCenter(marker.getPosition());`

Member Avatar for johnef_sh
0
9K
Member Avatar for Valentina_1

I am thinking of that button is using JS to print out the discount code. It could be used with AJAX to count clicks and save it to the DB table too.

Member Avatar for JorgeM
0
287
Member Avatar for CarterLangley

Hi. If you are beginer, this code woube more than suitable for you. Consider it this way: if there's any line you understand - the code is over you, otherwise you are over code. :) I would suggest you [php.net](http://www.php.net) and some series on youtube. Go to my chat room …

Member Avatar for kidmizere
0
3K
Member Avatar for vishalonne

//use assignment operator http://www.php.net/manual/en/language.operators.string.php $message = 'start of output string'; if (true) { $message .= 'conditional body of string'; } $message .= 'end with whole string since it's begun';

Member Avatar for Tpojka
0
170
Member Avatar for LRNPHP

You can use js or some of jquery functions [add(), append(), appendTo()] to get such result.

Member Avatar for LRNPHP
0
259
Member Avatar for Pravesh_1
Member Avatar for davy_yg
Member Avatar for squeak24

I think those are just safety and security improvements. If your code is clean way and well coding habit guarded (i.e. if you have coded nice bridge if required file doesn't exists), there is no need to worry about. Here you have [changing log and list of what is done …

Member Avatar for squeak24
0
261

The End.