Jump to content

porta325

Members
  • Posts

    73
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

porta325's Achievements

Member

Member (2/5)

0

Reputation

1

Community Answers

  1. No luck there. Only installation related logs.
  2. Hello, I am trying to install creagia/laravel-sign-pad but obviously i'm doing something wrong. https://github.com/creagia/laravel-sign-pad All clear up to configuration. Database migrated, folders copied as per instructions. At this stept https://github.com/creagia/laravel-sign-pad#preparing-your-model, I am assuming we are talking about the signatures table. "A $model object will be automatically injected into the Blade template, so you will be able to access all the needed properties of the model." This step confuses me a little. I just created a new instance of a signatures model and passed that to the view, but something should happen on form submit to populate the signatures table, but nothing does. Usage step. https://github.com/creagia/laravel-sign-pad#usage I have created the view file and apparently the form looks ok but on submit nothing happens. in the Configuration step https://github.com/creagia/laravel-sign-pad#configuration I'v created a path for the signatures to be stored in ( 'signatures_path' => 'public/vendor/sign-pad/sign',) but nothing seems to happen. I am trying to achieve this on localhost so any help is much appreciated. Thank you.
  3. https://www.w3schools.com/php/php_ajax_php.asp You basically return a result from another page without refresh with vanilla JS. The example uses an input but you can use whatever you want to send the request. https://code.tutsplus.com/tutorials/how-to-use-ajax-in-php-and-jquery--cms-32494 Here is the jquery method. I find it easier to go through.
  4. Without refresh you can use AJAX. With refresh you can do a POST request from page 2 to page 1 with the values you need.
  5. Hello there, My name is Marian and I've been doing some very light PHP coding for the last 10 years. I've started building up my skills lately and I'm looking to give a hand if anyone needs it, or just help(God knows I need the practice). I don't think I'm there yet as a good developer so I hope I can find here some advice for the direction I'm going, and really, just be a part of this community.
  6. Hey, i have an unusual problem. The thing is i can display the record in page, the problem is i can't doit right. In the database i have a delimiter that looks like 2 squares and i cant figure what delimiter i have to use with explode so i can display the data the way i want. Anyone has any ideea what delimiter is that?(the 2 squares)
  7. Thx alot, it works, you are great .
  8. Hey guys, i wanna add one day to ...let's say 2007-01-01; All i found was adding one day to the date we're in. Anyone any ideea ?
  9. Should have worked but this is stupid. Empty takes all kind of things from empty strings to declared variables with no value but still it wont work. $result = mysql_query("SELECT * FROM table"); while ($row = mysql_fetch_array($result)){ $col1 = $row['col1']; if (empty($col1)){ echo "nothing"; } else { echo "something"; } } Still displays "something" if table not empty and nothing if table empty.
  10. I wanna display a message like "Nothing in my book store on SCi-FI section" in case i have nothing in that table.
  11. Array ( [0] => 16 [id] => 16 [1] => dssgsdg [col1] => dssgsdg [2] => [col2] => ) returns nothing if tables empty ???
  12. if(mysql_num_rows($result) !== 0){ echo "nothing"; } else { echo "something"; } returns "something" if the table is not empty. but i table is empty it returns nothing and i need both true and false.
  13. Hey guys, i was wondering... if i have something like this $result = mysql_query("SELECT * FROM something"); while ($row = mysql_fetch_array($result)){ $some = $row['some'] } how do i get something like; if ($some == false){ echo "nothing"; } else { echo "something"; } The question is how can i return false is the array contains nothing ?
  14. Hey guys, i have something like: for($i=1; $i <= $30; $i++){ echo "something"; } witch works great. But when i try to insert something into my database it only inserts the first record for($i=1; $i <= $30; $i++){ echo mysql_query("INSERT INTO bla bla bla"); } I've uninstaled the wamp server, i did all i could think off but nothing. Any ideeas ?
  15. Try $check8 = mysql_query("select photo8url from properties where id='$id'" AND yourimagefiels IS NOT NULL) or die(mysql_error());
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.